pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/py-ICU
Module Name: pkgsrc
Committed By: gutteridge
Date: Tue Mar 24 04:08:55 UTC 2020
Modified Files:
pkgsrc/textproc/py-ICU: Makefile distinfo
Added Files:
pkgsrc/textproc/py-ICU/patches: patch-locale.cpp
Log Message:
py-ICU: fix SunOS build
The code should perhaps just refer to fcntl.h not sys/fcntl.h, but I've
special-cased SunOS for the chance "sys" is intended for portability to
an OS I'm not familiar with, for "simplicity".
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/textproc/py-ICU/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/textproc/py-ICU/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/py-ICU/patches/patch-locale.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/py-ICU/Makefile
diff -u pkgsrc/textproc/py-ICU/Makefile:1.4 pkgsrc/textproc/py-ICU/Makefile:1.5
--- pkgsrc/textproc/py-ICU/Makefile:1.4 Sat Mar 21 17:02:14 2020
+++ pkgsrc/textproc/py-ICU/Makefile Tue Mar 24 04:08:55 2020
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2020/03/21 17:02:14 gutteridge Exp $
+# $NetBSD: Makefile,v 1.5 2020/03/24 04:08:55 gutteridge Exp $
DISTNAME= PyICU-2.4.3
-PKGREVISION= 1
+PKGREVISION= 2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/PyICU/ICU/}
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=P/PyICU/}
Index: pkgsrc/textproc/py-ICU/distinfo
diff -u pkgsrc/textproc/py-ICU/distinfo:1.3 pkgsrc/textproc/py-ICU/distinfo:1.4
--- pkgsrc/textproc/py-ICU/distinfo:1.3 Sat Mar 21 17:02:14 2020
+++ pkgsrc/textproc/py-ICU/distinfo Tue Mar 24 04:08:55 2020
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.3 2020/03/21 17:02:14 gutteridge Exp $
+$NetBSD: distinfo,v 1.4 2020/03/24 04:08:55 gutteridge Exp $
SHA1 (PyICU-2.4.3.tar.gz) = 594c97ce83744f4173d20b7d465e9149ba83cc09
RMD160 (PyICU-2.4.3.tar.gz) = b2b7a4a739f081193865795be156e338637524ec
SHA512 (PyICU-2.4.3.tar.gz) = 77b81b0e9a17972696967ebc0421d05c1119a43c7e853f8d939390dddefa4a2a35dd316e08c10c10a283472bb64738016e47c5f45c7c6191d9dba296057740a0
Size (PyICU-2.4.3.tar.gz) = 219819 bytes
+SHA1 (patch-locale.cpp) = 4e259f3130e94bd8114d7781e36e21236c13d5b6
SHA1 (patch-setup.py) = 8a9c83d128c2cf95f3094abaeb0d9f85b2eb4840
Added files:
Index: pkgsrc/textproc/py-ICU/patches/patch-locale.cpp
diff -u /dev/null pkgsrc/textproc/py-ICU/patches/patch-locale.cpp:1.1
--- /dev/null Tue Mar 24 04:08:55 2020
+++ pkgsrc/textproc/py-ICU/patches/patch-locale.cpp Tue Mar 24 04:08:55 2020
@@ -0,0 +1,19 @@
+$NetBSD: patch-locale.cpp,v 1.1 2020/03/24 04:08:55 gutteridge Exp $
+
+Fix SunOS build.
+
+--- locale.cpp.orig 1970-01-01 00:00:00.000000000 +0000
++++ locale.cpp
+@@ -27,7 +27,11 @@
+ #if defined(_MSC_VER) || defined(__WIN32)
+ #include <windows.h>
+ #else
+-#include <sys/fcntl.h>
++# ifdef __sun
++# include <fcntl.h>
++# else
++# include <sys/fcntl.h>
++# endif
+ #include <sys/stat.h>
+ #include <sys/mman.h>
+ #endif
Home |
Main Index |
Thread Index |
Old Index