pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
isa-l: Add OpenBSD patch to avert biology/fastp regression
Module Name: pkgsrc-wip
Committed By: Jason Bacon <bacon4000%gmail.com@localhost>
Pushed By: outpaddling
Date: Sun Jun 1 15:09:16 2025 -0500
Changeset: da5ad7c0f4b5d0f1b2a413d2778062a29ad2b8e0
Modified Files:
isa-l/distinfo
Added Files:
isa-l/patches/patch-include_unaligned.h
Log Message:
isa-l: Add OpenBSD patch to avert biology/fastp regression
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=da5ad7c0f4b5d0f1b2a413d2778062a29ad2b8e0
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
isa-l/distinfo | 1 +
isa-l/patches/patch-include_unaligned.h | 19 +++++++++++++++++++
2 files changed, 20 insertions(+)
diffs:
diff --git a/isa-l/distinfo b/isa-l/distinfo
index 117cdb5134..29560c5dcc 100644
--- a/isa-l/distinfo
+++ b/isa-l/distinfo
@@ -5,3 +5,4 @@ SHA512 (isa-l-2.31.1.tar.gz) = 65199d054af1edc26d477883f7878f25fd4db65622aa98247
Size (isa-l-2.31.1.tar.gz) = 741732 bytes
SHA1 (patch-Makefile.am) = 26c1608f2e3124597fdb163fd42987094cebabd2
SHA1 (patch-configure.ac) = 3ac2af6ffc9eaa3043b10e6986c03bdb8a084636
+SHA1 (patch-include_unaligned.h) = b8858ee267baf81fcf66147fba122611ebc04960
diff --git a/isa-l/patches/patch-include_unaligned.h b/isa-l/patches/patch-include_unaligned.h
new file mode 100644
index 0000000000..3fea0cefa8
--- /dev/null
+++ b/isa-l/patches/patch-include_unaligned.h
@@ -0,0 +1,19 @@
+$NetBSD$
+
+# Add OpenBSD support
+
+--- include/unaligned.h.orig 2025-06-01 20:07:29.780618759 +0000
++++ include/unaligned.h
+@@ -40,6 +40,12 @@
+ #define isal_bswap16(x) bswap16(x)
+ #define isal_bswap32(x) bswap32(x)
+ #define isal_bswap64(x) bswap64(x)
++#elif defined(__OpenBSD__)
++#include <sys/types.h>
++#include <sys/endian.h>
++#define isal_bswap16(x) swap16(x)
++#define isal_bswap32(x) swap32(x)
++#define isal_bswap64(x) swap64(x)
+ #elif defined(__APPLE__)
+ #include <libkern/OSByteOrder.h>
+ #define isal_bswap16(x) OSSwapInt16(x)
Home |
Main Index |
Thread Index |
Old Index