diff --git a/xmbdfed-4.7-gcc15.patch b/xmbdfed-4.7-gcc15.patch new file mode 100644 index 0000000..829d875 --- /dev/null +++ b/xmbdfed-4.7-gcc15.patch @@ -0,0 +1,12 @@ +diff -up xmbdfed-4.7/bdfgrab.c.c23 xmbdfed-4.7/bdfgrab.c +--- xmbdfed-4.7/bdfgrab.c.c23 2025-02-21 18:20:45.990604573 -0500 ++++ xmbdfed-4.7/bdfgrab.c 2025-02-21 18:21:00.166078557 -0500 +@@ -276,7 +276,7 @@ void *data; + XCharStruct *cp; + bdf_property_t *pp, prop; + bdf_callback_struct_t cb; +- int (*old_error_handler)(); ++ int (*old_error_handler)(Display *d, XErrorEvent *event); + + if (f == 0) + return 0; diff --git a/xmbdfed.spec b/xmbdfed.spec index 0391cd1..72fef80 100644 --- a/xmbdfed.spec +++ b/xmbdfed.spec @@ -1,7 +1,7 @@ Name: xmbdfed Summary: Bitmap Font Editor Version: 4.7 -Release: 35%{?dist} +Release: 42%{?dist} License: MIT Source0: http://crl.nmsu.edu/~mleisher/%{name}-%{version}.tar.bz2 Source1: http://crl.nmsu.edu/~mleisher/%{name}.png @@ -12,6 +12,7 @@ Patch2: xmbdfed-4.7-staticfix.patch Patch3: xmbdfed-4.7-getline.patch Patch4: xmbdfed-4.7-format-security.patch Patch5: xmbdfed-4.7-gcc10.patch +Patch6: xmbdfed-4.7-gcc15.patch URL: http://crl.nmsu.edu/~mleisher/xmbdfed.html BuildRequires: make BuildRequires: gcc @@ -33,12 +34,13 @@ editing font properties. The editor works natively with BDF fonts. %prep %setup -q -%patch0 -p0 -b .patch1 -%patch1 -p1 -b .linux -%patch2 -p1 -b .staticfix -%patch3 -p1 -b .getline -%patch4 -p1 -b .format-security -%patch5 -p1 -b .gcc10 +%patch -P0 -p0 -b .patch1 +%patch -P1 -p1 -b .linux +%patch -P2 -p1 -b .staticfix +%patch -P3 -p1 -b .getline +%patch -P4 -p1 -b .format-security +%patch -P5 -p1 -b .gcc10 +%patch -P6 -p1 -b .gcc15 %build make %{?_smp_mflags} CFLAGS="%{optflags}" @@ -64,6 +66,28 @@ desktop-file-install \ %{_mandir}/man1/xmbdfed* %changelog +* Fri Jul 17 2026 Fedora Release Engineering - 4.7-42 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + +* Sat Jan 17 2026 Fedora Release Engineering - 4.7-41 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + +* Fri Jul 25 2025 Fedora Release Engineering - 4.7-40 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Fri Feb 21 2025 Tom Callaway - 4.7-39 +- am i wrong for keeping a motif app alive in 2025? No, it is the kids who are wrong. +- uh, apply fix for compiling with c23 (gcc15) + +* Sun Jan 19 2025 Fedora Release Engineering - 4.7-38 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Sat Jul 20 2024 Fedora Release Engineering - 4.7-37 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sat Jan 27 2024 Fedora Release Engineering - 4.7-36 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sat Jul 22 2023 Fedora Release Engineering - 4.7-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild