pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/yasm



Module Name:    pkgsrc
Committed By:   tnn
Date:           Mon Apr 28 19:27:15 UTC 2025

Modified Files:
        pkgsrc/devel/yasm: distinfo
Added Files:
        pkgsrc/devel/yasm/patches: patch-libyasm_bitvect.h

Log Message:
yasm: don't conflict with C23 true & false


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/devel/yasm/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/yasm/patches/patch-libyasm_bitvect.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/yasm/distinfo
diff -u pkgsrc/devel/yasm/distinfo:1.21 pkgsrc/devel/yasm/distinfo:1.22
--- pkgsrc/devel/yasm/distinfo:1.21     Tue Oct 26 10:20:10 2021
+++ pkgsrc/devel/yasm/distinfo  Mon Apr 28 19:27:15 2025
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.21 2021/10/26 10:20:10 nia Exp $
+$NetBSD: distinfo,v 1.22 2025/04/28 19:27:15 tnn Exp $
 
 BLAKE2s (yasm-1.3.0.tar.gz) = effcc3d959ffee9caa49d2baf8094b10a739ecfb9c96c071666f12b1b7684433
 SHA512 (yasm-1.3.0.tar.gz) = 572d3b45568b10f58e48f1188c2d6bcbdd16429c8afaccc8c6d37859b45635e106885d679e41d0bee78c23822108c7ae75aa7475eed5ba58057e0a6fe1b68645
 Size (yasm-1.3.0.tar.gz) = 1492156 bytes
 SHA1 (patch-Makefile.in) = 3b633316c5c37680d457e69fad098492ea6388fe
+SHA1 (patch-libyasm_bitvect.h) = 4567dc78dbcdbdd4db2f352a1eb509fa75bb7d28

Added files:

Index: pkgsrc/devel/yasm/patches/patch-libyasm_bitvect.h
diff -u /dev/null pkgsrc/devel/yasm/patches/patch-libyasm_bitvect.h:1.1
--- /dev/null   Mon Apr 28 19:27:15 2025
+++ pkgsrc/devel/yasm/patches/patch-libyasm_bitvect.h   Mon Apr 28 19:27:15 2025
@@ -0,0 +1,16 @@
+$NetBSD: patch-libyasm_bitvect.h,v 1.1 2025/04/28 19:27:15 tnn Exp $
+
+Don't conflict with C23 true & false.
+
+--- libyasm/bitvect.h.orig     2025-04-28 19:23:19.961028509 +0000
++++ libyasm/bitvect.h
+@@ -82,6 +82,9 @@ typedef  Z_longword         *Z_longwordp
+ #else
+     #ifdef MACOS_TRADITIONAL
+         #define boolean Boolean
++    #elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L
++        #include <stdbool.h>
++        typedef bool boolean;
+     #else
+         typedef enum boolean { false = FALSE, true = TRUE } boolean;
+     #endif



Home | Main Index | Thread Index | Old Index