pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/radare2



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon Mar 24 09:55:40 UTC 2025

Modified Files:
        pkgsrc/devel/radare2: distinfo
Added Files:
        pkgsrc/devel/radare2/patches: patch-shlr_sdb_include_sdb_cwisstable.h

Log Message:
radare2: Use built-in bswap64 on NetBSD.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/devel/radare2/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/radare2/patches/patch-shlr_sdb_include_sdb_cwisstable.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/radare2/distinfo
diff -u pkgsrc/devel/radare2/distinfo:1.21 pkgsrc/devel/radare2/distinfo:1.22
--- pkgsrc/devel/radare2/distinfo:1.21  Sun Nov 10 17:58:56 2024
+++ pkgsrc/devel/radare2/distinfo       Mon Mar 24 09:55:40 2025
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.21 2024/11/10 17:58:56 leot Exp $
+$NetBSD: distinfo,v 1.22 2025/03/24 09:55:40 nia Exp $
 
 BLAKE2s (radare2-5.9.6.tar.gz) = bf441b1a630621209c0d46ed7892fc0052f9a2673f42a356c9c348ac98e504e1
 SHA512 (radare2-5.9.6.tar.gz) = ae7211b560b0949f55d385846df3f477c46596e42d2076ab6cc6314adf77ec595f6f98800fb5d8999b82ec1150b9924e301976a18218858dd5f9399278ac9a59
@@ -11,4 +11,5 @@ SHA512 (vector35-arch-armv7-f270a6cc9964
 Size (vector35-arch-armv7-f270a6cc99644cb8e76055b6fa632b25abd26024.tar.gz) = 255278 bytes
 SHA1 (patch-libr_io_p_shm.mk) = e5778f859039228e5eaa42fe613f57f55d38fd57
 SHA1 (patch-shlr-sdb-src-Makefile) = 414260d6010873f04ca8e614438fd674af0543d2
+SHA1 (patch-shlr_sdb_include_sdb_cwisstable.h) = a001a44e1c91da7db973628844c64e6801f27510
 SHA1 (patch-sys_ios-sdk.sh) = 3f50b49e75dea1ac02f6d2ce8c556c77276e51d6

Added files:

Index: pkgsrc/devel/radare2/patches/patch-shlr_sdb_include_sdb_cwisstable.h
diff -u /dev/null pkgsrc/devel/radare2/patches/patch-shlr_sdb_include_sdb_cwisstable.h:1.1
--- /dev/null   Mon Mar 24 09:55:40 2025
+++ pkgsrc/devel/radare2/patches/patch-shlr_sdb_include_sdb_cwisstable.h        Mon Mar 24 09:55:40 2025
@@ -0,0 +1,25 @@
+$NetBSD: patch-shlr_sdb_include_sdb_cwisstable.h,v 1.1 2025/03/24 09:55:40 nia Exp $
+
+Use built-in bswap64 on NetBSD.
+
+--- shlr/sdb/include/sdb/cwisstable.h.orig     2025-03-24 09:42:08.245685371 +0000
++++ shlr/sdb/include/sdb/cwisstable.h
+@@ -41,6 +41,9 @@
+ #if !CWISS_IS_MACPPC
+ #include <stdalign.h>
+ #endif
++#ifdef __NetBSD__
++#include <sys/types.h>
++#endif
+ #include <stdbool.h>
+ #include <stddef.h>
+ #include <stdint.h>
+@@ -890,7 +893,7 @@ typedef uint64_t CWISS_Group;
+ 
+ #if CWISS_HAVE_CLANG_BUILTIN(__builtin_bswap64)
+ # define bswap64 __builtin_bswap64
+-#else
++#elif !defined(__NetBSD__)
+ static inline uint64_t bswap64(uint64_t v) {
+       return ((v & ((uint64_t)0xff << (7 * 8))) >> (7 * 8)) |
+               ((v & ((uint64_t)0xff << (6 * 8))) >> (5 * 8)) |



Home | Main Index | Thread Index | Old Index