[packages/gtk+2] - rel 2, build fixes for dead code and outdated C standard
baggins
baggins at pld-linux.org
Sun Nov 16 14:11:27 CET 2025
commit 2ef30997e6adda9116f8d47d911820586cfc5d3a
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Nov 16 16:10:56 2025 +0100
- rel 2, build fixes for dead code and outdated C standard
gtk+2-papi.patch | 16 ++++++++++++++++
gtk+2.spec | 4 ++--
2 files changed, 18 insertions(+), 2 deletions(-)
---
diff --git a/gtk+2.spec b/gtk+2.spec
index ee9c2dd..48ba4bb 100644
--- a/gtk+2.spec
+++ b/gtk+2.spec
@@ -15,7 +15,7 @@ Summary(pl.UTF-8): GIMP Toolkit
Summary(tr.UTF-8): GIMP ToolKit arayüz kitaplığı
Name: gtk+2
Version: 2.24.33
-Release: 1
+Release: 2
Epoch: 2
License: LGPL v2+
Group: X11/Libraries
@@ -258,7 +258,7 @@ Moduł GTK+ do drukowania przez PAPI.
%{__autoheader}
%{__autoconf}
%{__automake}
-CPPFLAGS="%{rpmcppflags}%{?with_papi: -I/usr/include/papi}"
+CPPFLAGS="%{rpmcppflags} -std=gnu99 %{?with_papi: -I/usr/include/papi}"
%configure \
%{!?with_cups:--disable-cups} \
%{?debug:--enable-debug=yes} \
diff --git a/gtk+2-papi.patch b/gtk+2-papi.patch
index c85a4a7..5662d73 100644
--- a/gtk+2-papi.patch
+++ b/gtk+2-papi.patch
@@ -9,3 +9,19 @@
papi_attribute_t **attrs = NULL;
papi_job_ticket_t *ticket = NULL;
+--- gtk+-2.24.33/modules/printbackends/papi/gtkprintbackendpapi.c~ 2025-11-16 15:37:02.000000000 +0100
++++ gtk+-2.24.33/modules/printbackends/papi/gtkprintbackendpapi.c 2025-11-16 15:53:00.796661165 +0100
+@@ -766,13 +766,6 @@
+ return FALSE;
+ }
+
+-void
+-merge_ppd_data (papi_attribute_t ***attributes, gchar *ppdfile)
+-{
+- get_ppd_attrs (attributes, ppdfile);
+-}
+-
+-
+ static void
+ papi_display_printer_status_done (gpointer user_data)
+ {
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gtk+2.git/commitdiff/2ef30997e6adda9116f8d47d911820586cfc5d3a
More information about the pld-cvs-commit
mailing list