pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/openexr



Module Name:    pkgsrc
Committed By:   martin
Date:           Fri Sep 17 05:35:01 UTC 2021

Modified Files:
        pkgsrc/graphics/openexr: distinfo
Added Files:
        pkgsrc/graphics/openexr/patches: patch-src_test_OpenEXRTest_bswap__32.h

Log Message:
Fix build for non-amd64 NetBSD architectures (already reported upstream)


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 pkgsrc/graphics/openexr/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/graphics/openexr/patches/patch-src_test_OpenEXRTest_bswap__32.h

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

Modified files:

Index: pkgsrc/graphics/openexr/distinfo
diff -u pkgsrc/graphics/openexr/distinfo:1.39 pkgsrc/graphics/openexr/distinfo:1.40
--- pkgsrc/graphics/openexr/distinfo:1.39       Sun Aug 15 14:15:03 2021
+++ pkgsrc/graphics/openexr/distinfo    Fri Sep 17 05:35:01 2021
@@ -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

Added files:

Index: pkgsrc/graphics/openexr/patches/patch-src_test_OpenEXRTest_bswap__32.h
diff -u /dev/null pkgsrc/graphics/openexr/patches/patch-src_test_OpenEXRTest_bswap__32.h:1.1
--- /dev/null   Fri Sep 17 05:35:02 2021
+++ pkgsrc/graphics/openexr/patches/patch-src_test_OpenEXRTest_bswap__32.h      Fri Sep 17 05:35:01 2021
@@ -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