[packages/gtk+3] add type fixes for papi; rel 2

atler atler at pld-linux.org
Tue Mar 24 00:45:22 CET 2026


commit 2d2f2c8b157ac3faf4a7cc3b6f88d44b6f60fc36
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Mar 24 00:41:43 2026 +0100

    add type fixes for papi; rel 2

 gtk+3-papi.patch | 20 ++++++++++++++++++++
 gtk+3.spec       |  2 +-
 2 files changed, 21 insertions(+), 1 deletion(-)
---
diff --git a/gtk+3.spec b/gtk+3.spec
index fe4edbd..9be8e7b 100644
--- a/gtk+3.spec
+++ b/gtk+3.spec
@@ -20,7 +20,7 @@ Summary(pl.UTF-8):	GIMP Toolkit
 Summary(tr.UTF-8):	GIMP ToolKit arayüz kitaplığı
 Name:		gtk+3
 Version:	3.24.52
-Release:	1
+Release:	2
 License:	LGPL v2+
 Group:		X11/Libraries
 Source0:	https://download.gnome.org/sources/gtk/3.24/gtk-%{version}.tar.xz
diff --git a/gtk+3-papi.patch b/gtk+3-papi.patch
index c7197c5..fde1fe1 100644
--- a/gtk+3-papi.patch
+++ b/gtk+3-papi.patch
@@ -98,3 +98,23 @@
 +                name_suffix: module_suffix,
 +                install : true)
  endif
+--- gtk-3.24.52/modules/printbackends/papi/gtkprintbackendpapi.c.orig	2026-03-24 00:31:40.471577927 +0100
++++ gtk-3.24.52/modules/printbackends/papi/gtkprintbackendpapi.c	2026-03-24 00:35:56.146428426 +0100
+@@ -490,7 +490,7 @@
+                                 status == PAPI_OK;
+                                 status = papiAttributeListGetString(attributes,
+                                                 &iter, NULL, &member))
+-                                        list_append(&names, strdup(member));
++                                        list_append((void***)&names, strdup(member));
+                 }
+                 papiPrinterFree(printer);
+         }
+@@ -518,7 +518,7 @@
+ 			(void) papiAttributeListGetString(attributes, NULL,
+ 							"printer-name", &name);
+ 			if ((name != NULL) && (strcmp(name, "_default") != 0))
+-    				list_append(&names, strdup(name));
++    				list_append((void***)&names, strdup(name));
+     		}
+     		papiPrinterListFree(printers);
+     	}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gtk+3.git/commitdiff/2d2f2c8b157ac3faf4a7cc3b6f88d44b6f60fc36



More information about the pld-cvs-commit mailing list