pkgsrc-WIP-changes archive

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

radare2: should be no longer needed



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Sun Jan 18 19:26:28 2026 +0100
Changeset:	2a77c06bb85dfd40fbc76696587aa03ad85092b9

Removed Files:
	radare2/patches/patch-shlr_sdb_include_sdb_cwisstable.h

Log Message:
radare2: should be no longer needed

bswap*() are now macros and should no longer conflicts with NetBSD ones.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2a77c06bb85dfd40fbc76696587aa03ad85092b9

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

diffstat:
 .../patch-shlr_sdb_include_sdb_cwisstable.h        | 25 ----------------------
 1 file changed, 25 deletions(-)

diffs:
diff --git a/radare2/patches/patch-shlr_sdb_include_sdb_cwisstable.h b/radare2/patches/patch-shlr_sdb_include_sdb_cwisstable.h
deleted file mode 100644
index 6657204a6b..0000000000
--- a/radare2/patches/patch-shlr_sdb_include_sdb_cwisstable.h
+++ /dev/null
@@ -1,25 +0,0 @@
-$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