pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/p5-Bit-Vector



Module Name:    pkgsrc
Committed By:   markd
Date:           Wed Jul  2 02:36:45 UTC 2025

Modified Files:
        pkgsrc/devel/p5-Bit-Vector: Makefile distinfo
Added Files:
        pkgsrc/devel/p5-Bit-Vector/patches: patch-Toolbix.h

Log Message:
p5-Bit-Vector: fix build with C23


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 pkgsrc/devel/p5-Bit-Vector/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/devel/p5-Bit-Vector/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/p5-Bit-Vector/patches/patch-Toolbix.h

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

Modified files:

Index: pkgsrc/devel/p5-Bit-Vector/Makefile
diff -u pkgsrc/devel/p5-Bit-Vector/Makefile:1.50 pkgsrc/devel/p5-Bit-Vector/Makefile:1.51
--- pkgsrc/devel/p5-Bit-Vector/Makefile:1.50    Sat Nov 16 12:03:42 2024
+++ pkgsrc/devel/p5-Bit-Vector/Makefile Wed Jul  2 02:36:44 2025
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.50 2024/11/16 12:03:42 wiz Exp $
+# $NetBSD: Makefile,v 1.51 2025/07/02 02:36:44 markd Exp $
 
 DISTNAME=      Bit-Vector-7.4
 PKGNAME=       p5-${DISTNAME}
-PKGREVISION=   10
+PKGREVISION=   11
 CATEGORIES=    devel perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Bit/}
 

Index: pkgsrc/devel/p5-Bit-Vector/distinfo
diff -u pkgsrc/devel/p5-Bit-Vector/distinfo:1.17 pkgsrc/devel/p5-Bit-Vector/distinfo:1.18
--- pkgsrc/devel/p5-Bit-Vector/distinfo:1.17    Tue Oct 26 10:16:05 2021
+++ pkgsrc/devel/p5-Bit-Vector/distinfo Wed Jul  2 02:36:44 2025
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.17 2021/10/26 10:16:05 nia Exp $
+$NetBSD: distinfo,v 1.18 2025/07/02 02:36:44 markd Exp $
 
 BLAKE2s (Bit-Vector-7.4.tar.gz) = 81ea93bc12a3d740e902d0a93d470c56f248416270c6aad24862fcf571a27159
 SHA512 (Bit-Vector-7.4.tar.gz) = 80aa49aea8c31c60c14161198eab9d620d738530c3c209104b8ad8f1144822f80c3effb3303c569fc556b2457328659ae5d1aaf511d714c835618b84c722abc5
 Size (Bit-Vector-7.4.tar.gz) = 135965 bytes
+SHA1 (patch-Toolbix.h) = 3e4519f42ab09c7615497b74ef9f9fc962cf53dc

Added files:

Index: pkgsrc/devel/p5-Bit-Vector/patches/patch-Toolbix.h
diff -u /dev/null pkgsrc/devel/p5-Bit-Vector/patches/patch-Toolbix.h:1.1
--- /dev/null   Wed Jul  2 02:36:45 2025
+++ pkgsrc/devel/p5-Bit-Vector/patches/patch-Toolbix.h  Wed Jul  2 02:36:44 2025
@@ -0,0 +1,32 @@
+$NetBSD: patch-Toolbix.h,v 1.1 2025/07/02 02:36:44 markd Exp $
+
+fix build with C23
+patch from Fedora 42
+
+
+--- ToolBox.h.orig     2013-09-03 14:45:52.000000000 +0000
++++ ToolBox.h  2025-05-10 13:12:48.184554882 +0000
+@@ -93,10 +93,19 @@ typedef  Z_longword         *Z_longwordp
+     #elif PERL_DARWIN
+         #define boolean bool
+     #else
+-      typedef int boolean;
+-      #ifndef I_STDBOOL
+-          enum { false, true };
+-      #endif
++        typedef int boolean;
++        #ifndef I_STDBOOL
++          #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
++            #include <stdbool.h>
++          #else
++            #ifndef false
++              #define false 0
++            #endif
++            #ifndef true
++              #define true 1
++            #endif
++          #endif
++        #endif
+     #endif
+ #endif
+ 



Home | Main Index | Thread Index | Old Index