[packages/gdk-pixbuf] - patch with type fixes and missing prototypes
qboosh
qboosh at pld-linux.org
Fri Sep 26 21:54:32 CEST 2025
commit 65ce9ca1e36bf5f3f80f73acc8178d35fcefe104
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Sep 26 21:57:11 2025 +0200
- patch with type fixes and missing prototypes
gdk-pixbuf-types.patch | 33 +++++++++++++++++++++++++++++++++
gdk-pixbuf.spec | 3 +++
2 files changed, 36 insertions(+)
---
diff --git a/gdk-pixbuf.spec b/gdk-pixbuf.spec
index 3a73216..68cded8 100644
--- a/gdk-pixbuf.spec
+++ b/gdk-pixbuf.spec
@@ -27,10 +27,12 @@ Patch6: %{name}-ico-width.patch
Patch7: %{name}-link.patch
Patch8: %{name}-ac.patch
Patch9: %{name}-libpng15.patch
+Patch10: %{name}-types.patch
URL: https://gnome.pages.gitlab.gnome.org/gtk/gdk-pixbuf/
BuildRequires: autoconf
BuildRequires: automake
%{?with_gnome1:BuildRequires: gnome-libs-devel >= 1:1.4.2-15}
+BuildRequires: glib-devel >= 1.2.0
BuildRequires: gtk+-devel >= 1.2.0
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel >= 1.0.8
@@ -185,6 +187,7 @@ Część gdk-pixbuf związana z GNOME - wersja statyczna.
%patch -P7 -p1
%patch -P8 -p0
%patch -P9 -p1
+%patch -P10 -p1
%build
%{__libtoolize}
diff --git a/gdk-pixbuf-types.patch b/gdk-pixbuf-types.patch
new file mode 100644
index 0000000..9f3bb78
--- /dev/null
+++ b/gdk-pixbuf-types.patch
@@ -0,0 +1,33 @@
+--- gdk-pixbuf-0.22.0/gdk-pixbuf/testpixbuf.c.orig 2002-09-27 23:23:15.000000000 +0200
++++ gdk-pixbuf-0.22.0/gdk-pixbuf/testpixbuf.c 2025-09-26 21:40:18.853408094 +0200
+@@ -491,7 +491,7 @@ progressive_updated_callback(GdkPixbufLo
+
+ g_assert (*window_loc != NULL);
+
+- drawing_area = gtk_object_get_data (*window_loc, "drawing_area");
++ drawing_area = gtk_object_get_data (GTK_OBJECT(*window_loc), "drawing_area");
+ g_assert (drawing_area != NULL);
+
+ r.x = x;
+--- gdk-pixbuf-0.22.0/gdk-pixbuf/testpixbuf-scale.c.orig 2000-06-21 21:48:47.000000000 +0200
++++ gdk-pixbuf-0.22.0/gdk-pixbuf/testpixbuf-scale.c 2025-09-26 21:41:09.383693148 +0200
+@@ -2,6 +2,7 @@
+ #include "gdk-pixbuf.h"
+
+ #include <stdio.h>
++#include <stdlib.h>
+
+ GdkInterpType interp_type = GDK_INTERP_BILINEAR;
+ int overall_alpha = 255;
+--- gdk-pixbuf-0.22.0/configure.in.orig 2025-09-26 21:43:29.771151778 +0200
++++ gdk-pixbuf-0.22.0/configure.in 2025-09-26 21:46:04.312023583 +0200
+@@ -96,7 +96,8 @@ else
+ AC_TRY_RUN([
+ #include <glib.h>
+ #include <gmodule.h>
+- main ()
++ #include <stdlib.h>
++ int main ()
+ {
+ if (g_module_supported ())
+ exit (0);
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gdk-pixbuf.git/commitdiff/2968393bdd188a814b6567d964e5ca6813bd6157
More information about the pld-cvs-commit
mailing list