pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/libproplist
Module Name: pkgsrc
Committed By: wiz
Date: Tue Jan 20 08:18:09 UTC 2026
Modified Files:
pkgsrc/devel/libproplist: Makefile distinfo
Added Files:
pkgsrc/devel/libproplist/patches: patch-comparing.c patch-configure
Log Message:
libproplist: fix build on NetBSD-current
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/devel/libproplist/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/libproplist/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/libproplist/patches/patch-comparing.c \
pkgsrc/devel/libproplist/patches/patch-configure
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/libproplist/Makefile
diff -u pkgsrc/devel/libproplist/Makefile:1.25 pkgsrc/devel/libproplist/Makefile:1.26
--- pkgsrc/devel/libproplist/Makefile:1.25 Wed Apr 21 08:35:04 2021
+++ pkgsrc/devel/libproplist/Makefile Tue Jan 20 08:18:09 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2021/04/21 08:35:04 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2026/01/20 08:18:09 wiz Exp $
DISTNAME= libPropList-0.10.1
PKGNAME= libproplist-0.10.1
@@ -15,6 +15,8 @@ USE_TOOLS+= lex
INSTALLATION_DIRS= share/doc/libproplist
+CFLAGS+= -Wno-implicit-function-declaration
+
post-install:
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/libproplist
Index: pkgsrc/devel/libproplist/distinfo
diff -u pkgsrc/devel/libproplist/distinfo:1.6 pkgsrc/devel/libproplist/distinfo:1.7
--- pkgsrc/devel/libproplist/distinfo:1.6 Tue Oct 26 10:15:26 2021
+++ pkgsrc/devel/libproplist/distinfo Tue Jan 20 08:18:09 2026
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.6 2021/10/26 10:15:26 nia Exp $
+$NetBSD: distinfo,v 1.7 2026/01/20 08:18:09 wiz Exp $
BLAKE2s (libPropList-0.10.1.tar.gz) = b21f50cbcab7b843da69f743768746ca1c12c617e4533e6fff04d04bcede5f6c
SHA512 (libPropList-0.10.1.tar.gz) = 8ebad2ffedda9cf0f0a01320340c1b6b9f7d9d9af06d886da9c82d626b5ad799692daeab4c7569e85f756ce8aef3fedf6f662ee38fd4e13e2ec52c7dbe843c39
Size (libPropList-0.10.1.tar.gz) = 152625 bytes
+SHA1 (patch-comparing.c) = 16de7b2c836d108645b186c45b51938e5f07fe1b
+SHA1 (patch-configure) = f7ca3a5d1b7c18c404301a79ce53a16445e8d50a
Added files:
Index: pkgsrc/devel/libproplist/patches/patch-comparing.c
diff -u /dev/null pkgsrc/devel/libproplist/patches/patch-comparing.c:1.1
--- /dev/null Tue Jan 20 08:18:09 2026
+++ pkgsrc/devel/libproplist/patches/patch-comparing.c Tue Jan 20 08:18:09 2026
@@ -0,0 +1,14 @@
+$NetBSD: patch-comparing.c,v 1.1 2026/01/20 08:18:09 wiz Exp $
+
+Add header for memcmp() etc.
+
+--- comparing.c.orig 2026-01-20 08:16:37.408163646 +0000
++++ comparing.c
+@@ -5,6 +5,7 @@
+ */
+
+ #include "proplistP.h"
++#include <string.h>
+
+ /* forward prototype */
+ BOOL PLStrCmp(proplist_t pl1, proplist_t pl2);
Index: pkgsrc/devel/libproplist/patches/patch-configure
diff -u /dev/null pkgsrc/devel/libproplist/patches/patch-configure:1.1
--- /dev/null Tue Jan 20 08:18:09 2026
+++ pkgsrc/devel/libproplist/patches/patch-configure Tue Jan 20 08:18:09 2026
@@ -0,0 +1,33 @@
+$NetBSD: patch-configure,v 1.1 2026/01/20 08:18:09 wiz Exp $
+
+Add missing return type to fix build with gcc 14+.
+
+--- configure.orig 2000-04-01 21:56:22.000000000 +0000
++++ configure
+@@ -1059,7 +1059,7 @@ cat > conftest.$ac_ext << EOF
+ #line 1060 "configure"
+ #include "confdefs.h"
+
+-main(){return(0);}
++int main(){return(0);}
+ EOF
+ if { (eval echo configure:1065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ ac_cv_prog_cc_works=yes
+@@ -1607,7 +1607,7 @@ cat > conftest.$ac_ext << EOF
+ #line 1608 "configure"
+ #include "confdefs.h"
+
+-main(){return(0);}
++int main(){return(0);}
+ EOF
+ if { (eval echo configure:1613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ ac_cv_prog_cc_works=yes
+@@ -2355,7 +2355,7 @@ else
+ #line 2356 "configure"
+ #include "confdefs.h"
+
+-main()
++int main()
+ {
+ char c0 = 0x40, c1 = 0x80, c2 = 0x81;
+ exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1);
Home |
Main Index |
Thread Index |
Old Index