pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/librsvg-c



Module Name:    pkgsrc
Committed By:   leot
Date:           Sun Nov 16 10:38:27 UTC 2025

Modified Files:
        pkgsrc/graphics/librsvg-c: Makefile distinfo
Added Files:
        pkgsrc/graphics/librsvg-c/patches: patch-rsvg-css.c

Log Message:
librsvg-c: Fix build with gcc14

Without adjusting pointer types build failed with:

 rsvg-css.c:866:20: error: assignment to 'xmlStructuredErrorFunc' {aka 'void (*)(void *, const struct _xmlError *)'} from incompatible pointer type 'void (*)(void *, xmlError *)' {aka 'void (*)(void 
*, struct _xmlError *)'} [-Wincompatible-pointer-types]

PKGREVISION++


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 pkgsrc/graphics/librsvg-c/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/graphics/librsvg-c/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/librsvg-c/patches/patch-rsvg-css.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/librsvg-c/Makefile
diff -u pkgsrc/graphics/librsvg-c/Makefile:1.32 pkgsrc/graphics/librsvg-c/Makefile:1.33
--- pkgsrc/graphics/librsvg-c/Makefile:1.32     Thu Oct 23 20:37:39 2025
+++ pkgsrc/graphics/librsvg-c/Makefile  Sun Nov 16 10:38:27 2025
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.32 2025/10/23 20:37:39 wiz Exp $
+# $NetBSD: Makefile,v 1.33 2025/11/16 10:38:27 leot Exp $
 
 DISTNAME=      librsvg-2.40.21
-PKGREVISION=   27
+PKGREVISION=   28
 CATEGORIES=    graphics gnome
 MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/librsvg/${PKGVERSION_NOREV:R}/}
 EXTRACT_SUFX=  .tar.xz

Index: pkgsrc/graphics/librsvg-c/distinfo
diff -u pkgsrc/graphics/librsvg-c/distinfo:1.5 pkgsrc/graphics/librsvg-c/distinfo:1.6
--- pkgsrc/graphics/librsvg-c/distinfo:1.5      Fri Apr 25 11:44:25 2025
+++ pkgsrc/graphics/librsvg-c/distinfo  Sun Nov 16 10:38:27 2025
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.5 2025/04/25 11:44:25 wiz Exp $
+$NetBSD: distinfo,v 1.6 2025/11/16 10:38:27 leot Exp $
 
 BLAKE2s (librsvg-2.40.21.tar.xz) = b336f6065efdcd29d347fb866e987b46a6f7b2205b7b8ba3ac0a525ac8cfd234
 SHA512 (librsvg-2.40.21.tar.xz) = db0563d8e0edaae642a6b2bcd239cf54191495058ac8c7ff614ebaf88c0e30bd58dbcd41f58d82a9d5ed200ced45fc5bae22f2ed3cf3826e9348a497009e1280
 Size (librsvg-2.40.21.tar.xz) = 1655860 bytes
+SHA1 (patch-rsvg-css.c) = e7b96b3dde77455535ef0b7003b395ed11e46fee
 SHA1 (patch-rsvg-mask.h) = 8b123ca2672a838f4263a26787e7cd5813efb759
 SHA1 (patch-rsvg-private.h) = d93d9d4a1315713828e38f1a5f067a25342d67af
 SHA1 (patch-rsvg-styles.h) = 2207194d5c6f392c0408ca81b05ad6846f69b8e2

Added files:

Index: pkgsrc/graphics/librsvg-c/patches/patch-rsvg-css.c
diff -u /dev/null pkgsrc/graphics/librsvg-c/patches/patch-rsvg-css.c:1.1
--- /dev/null   Sun Nov 16 10:38:27 2025
+++ pkgsrc/graphics/librsvg-c/patches/patch-rsvg-css.c  Sun Nov 16 10:38:27 2025
@@ -0,0 +1,19 @@
+$NetBSD: patch-rsvg-css.c,v 1.1 2025/11/16 10:38:27 leot Exp $
+
+Fix build with gcc14.
+
+Otherwise it would fail with:
+
+ rsvg-css.c:866:20: error: assignment to 'xmlStructuredErrorFunc' {aka 'void (*)(void *, const struct _xmlError *)'} from incompatible pointer type 'void (*)(void *, xmlError *)' {aka 'void (*)(void 
*, struct _xmlError *)'} [-Wincompatible-pointer-types]
+
+--- rsvg-css.c.orig    2025-11-16 10:30:33.515578178 +0000
++++ rsvg-css.c
+@@ -839,7 +839,7 @@ rsvg_css_parse_overflow (const char *str
+ }
+ 
+ static void
+-rsvg_xml_noerror (void *data, xmlErrorPtr error)
++rsvg_xml_noerror (void *data, const xmlError *error)
+ {
+ }
+ 



Home | Main Index | Thread Index | Old Index