pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/py-openexr py-openexr: Fix build on SunOS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bc9ef973a91c
branches:  trunk
changeset: 386687:bc9ef973a91c
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Fri Oct 26 12:45:47 2018 +0000

description:
py-openexr: Fix build on SunOS.

diffstat:

 graphics/py-openexr/distinfo                  |   3 ++-
 graphics/py-openexr/patches/patch-OpenEXR.cpp |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 71a5fe2585ab -r bc9ef973a91c graphics/py-openexr/distinfo
--- a/graphics/py-openexr/distinfo      Fri Oct 26 12:36:21 2018 +0000
+++ b/graphics/py-openexr/distinfo      Fri Oct 26 12:45:47 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2018/10/03 10:42:56 adam Exp $
+$NetBSD: distinfo,v 1.5 2018/10/26 12:45:47 jperkin Exp $
 
 SHA1 (OpenEXR-1.3.2.tar.gz) = 46827a186976972f2cd1e30f11baaef062c98c74
 RMD160 (OpenEXR-1.3.2.tar.gz) = a4cb806ffa825c380cfa9cd50c5307ded028b725
 SHA512 (OpenEXR-1.3.2.tar.gz) = b4b85f3f8860639c4f65a3fe59c721e08573ffe9b2af5cc7e398d9ff249bac604b43fa5bda6f05f8cd248ed7346df1a2972ac7c5a3df12fe0a73b859c618e33d
 Size (OpenEXR-1.3.2.tar.gz) = 10927 bytes
+SHA1 (patch-OpenEXR.cpp) = 9d4bbbfd4e37cacc0c0d8393e65c8f8cedecf6d3
diff -r 71a5fe2585ab -r bc9ef973a91c graphics/py-openexr/patches/patch-OpenEXR.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-openexr/patches/patch-OpenEXR.cpp     Fri Oct 26 12:45:47 2018 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-OpenEXR.cpp,v 1.1 2018/10/26 12:45:47 jperkin Exp $
+
+Avoid CS define on SunOS.
+
+--- OpenEXR.cpp.orig   2018-08-30 14:53:51.000000000 +0000
++++ OpenEXR.cpp
+@@ -1,5 +1,9 @@
+ #include <Python.h>
+ 
++#ifdef __sun
++#undef CS
++#endif
++
+ #if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN)
+ typedef int Py_ssize_t;
+ #define PY_SSIZE_T_MAX INT_MAX



Home | Main Index | Thread Index | Old Index