pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/openexr Fix build for non-amd64 NetBSD archit...
details: https://anonhg.NetBSD.org/pkgsrc/rev/406c239a1998
branches: trunk
changeset: 458492:406c239a1998
user: martin <martin%pkgsrc.org@localhost>
date: Fri Sep 17 05:35:01 2021 +0000
description:
Fix build for non-amd64 NetBSD architectures (already reported upstream)
diffstat:
graphics/openexr/distinfo | 3 +-
graphics/openexr/patches/patch-src_test_OpenEXRTest_bswap__32.h | 20 ++++++++++
2 files changed, 22 insertions(+), 1 deletions(-)
diffs (37 lines):
diff -r ade62c3e6581 -r 406c239a1998 graphics/openexr/distinfo
--- a/graphics/openexr/distinfo Fri Sep 17 00:10:21 2021 +0000
+++ b/graphics/openexr/distinfo Fri Sep 17 05:35:01 2021 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.39 2021/08/15 14:15:03 wiz Exp $
+$NetBSD: distinfo,v 1.40 2021/09/17 05:35:01 martin Exp $
SHA1 (openexr-3.1.1.tar.gz) = 1aa1b9206f92beda828209bc057ac1016879aa93
RMD160 (openexr-3.1.1.tar.gz) = d7ec25c09052d25d5289e0ca1067cb1911541ad3
SHA512 (openexr-3.1.1.tar.gz) = 430becbb214cedec5a57e9ff2363badd8a2d94e8a00edffbc75fbcf30d26d887a6eb3f4ff96e371cb26f9d44e63bf0fe2dc511493a0951171ddc64bba7aed735
Size (openexr-3.1.1.tar.gz) = 25588029 bytes
SHA1 (patch-src_lib_OpenEXR_ImfSystemSpecific.h) = 87c234bc497cd1fe34d38dfcdaa943486f8971e5
+SHA1 (patch-src_test_OpenEXRTest_bswap__32.h) = 93ac02c58734c582f2cdb0139e74551a75dd8121
diff -r ade62c3e6581 -r 406c239a1998 graphics/openexr/patches/patch-src_test_OpenEXRTest_bswap__32.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/openexr/patches/patch-src_test_OpenEXRTest_bswap__32.h Fri Sep 17 05:35:01 2021 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-src_test_OpenEXRTest_bswap__32.h,v 1.1 2021/09/17 05:35:01 martin Exp $
+
+Simply use <sys/bswap.h> for all NetBSD architectures.
+
+Upstream: https://github.com/AcademySoftwareFoundation/openexr/pull/1147
+
+--- src/test/OpenEXRTest/bswap_32.h.orig 2021-07-31 21:57:32.000000000 +0200
++++ src/test/OpenEXRTest/bswap_32.h 2021-09-17 07:00:54.974296748 +0200
+@@ -20,10 +20,8 @@
+ #define bswap_32(x) swap32(x)
+ #elif defined(__NetBSD__)
+ #include <sys/types.h>
+-#include <machine/bswap.h>
+-#if defined(__BSWAP_RENAME) && !defined(__bswap_32)
++#include <sys/bswap.h>
+ #define bswap_32(x) bswap32(x)
+-#endif
+ #else
+ #include <byteswap.h>
+ #endif
Home |
Main Index |
Thread Index |
Old Index