mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 09:48:00 -04:00
textproc/icu
This commit is contained in:
parent
603e6912c9
commit
1f56f278fa
@ -27,6 +27,7 @@ CONFIGURE_ARGS+= --disable-threads
|
||||
.endif
|
||||
|
||||
.include "../../mk/compiler.mk"
|
||||
.include "../../mk/bsd.prefs.mk" # To get OPSYS
|
||||
|
||||
# from ICU_CHECK_MH_FRAG in source/acinclude.m4
|
||||
.if ${OPSYS} == "SunOS"
|
||||
|
@ -22,3 +22,11 @@ SHA1 (patch-configure) = 429c0b3eb3f7d0a8cf3d01a9bc359132eebe8cf4
|
||||
SHA1 (patch-configure.ac) = b0291cf02351cbad9b0c7340baea9eb81cabb158
|
||||
SHA1 (patch-tools-toolutil-pkg_genc.c) = b5a9eb679908d9f579ff095c5389ec1aa8df8e1e
|
||||
SHA1 (patch-tools_pkgdata_pkgdata.cpp) = 1c87fcc511f0e6cedbaf01c5164e522c33f19458
|
||||
SHA1 (patch-zz-minix-a) = 1723b3ee4c3389baae626ce684bbf0574556595d
|
||||
SHA1 (patch-zz-minix-b) = 80c96d251c2442b43eb40093b63501516581f983
|
||||
SHA1 (patch-zz-minix-c) = f19e834de1ecb89aad620b22cb190fb54d09a0c8
|
||||
SHA1 (patch-zz-minix-d) = 502769bb99c8c5947573ac1d28eebd2ce73bc2fa
|
||||
SHA1 (patch-zz-minix-e) = 188db8c6ee222001a6720025d99bb19025ca0c0d
|
||||
SHA1 (patch-zz-minix-f) = d585461d155881d79d3fd7e8c58644c99e1ad006
|
||||
SHA1 (patch-zz-minix-g) = 4710f198fc19d6e9c61d5de85cd9a62117d90409
|
||||
SHA1 (patch-zz-minix-h) = c5cdb1b575ba00d001070ae398c96ca64e81f134
|
||||
|
38
textproc/icu/patches/patch-zz-minix-a
Normal file
38
textproc/icu/patches/patch-zz-minix-a
Normal file
@ -0,0 +1,38 @@
|
||||
--- configure.orig Sun Oct 25 18:41:51 2015
|
||||
+++ configure Sun Oct 25 18:44:42 2015
|
||||
@@ -5147,7 +5147,7 @@
|
||||
*-*-cygwin) icu_cv_host_frag=mh-cygwin-msvc ;;
|
||||
esac
|
||||
fi ;;
|
||||
-*-*-*bsd*|*-*-dragonfly*|*-*-bitrig*) icu_cv_host_frag=mh-bsd-gcc ;;
|
||||
+*-*-*bsd*|*-*-dragonfly*|*-*-bitrig*|*-*-minix*) icu_cv_host_frag=mh-bsd-gcc ;;
|
||||
*-*-aix*)
|
||||
if test "$GCC" = yes; then
|
||||
icu_cv_host_frag=mh-aix-gcc
|
||||
@@ -5697,7 +5697,7 @@
|
||||
done
|
||||
|
||||
case "${host}" in
|
||||
-*-netbsd*)
|
||||
+*-minix*|*-netbsd*)
|
||||
if test "x$ac_cv_header_sys_atomic_h" = "xyes"; then
|
||||
CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DU_HAVE_NETBSD_ATOMIC_OPS=1";
|
||||
fi
|
||||
@@ -6286,7 +6286,7 @@
|
||||
# Check to see if genccode can generate simple assembly.
|
||||
GENCCODE_ASSEMBLY=
|
||||
case "${host}" in
|
||||
-*-linux*|*-kfreebsd*-gnu*|i*86-*-*bsd*|i*86-pc-gnu)
|
||||
+*-linux*|*-kfreebsd*-gnu*|i*86-*-*bsd*|i*86-*-minix*|i*86-pc-gnu)
|
||||
if test "$GCC" = yes; then
|
||||
# We're using gcc, and the simple -a gcc command line works for genccode
|
||||
GENCCODE_ASSEMBLY="-a gcc"
|
||||
@@ -7679,7 +7679,7 @@
|
||||
case "${host}" in
|
||||
*-*-solaris*) platform=U_SOLARIS ;;
|
||||
*-*-linux*|*-*-gnu|*-*-k*bsd*-gnu|*-*-kopensolaris*-gnu) platform=U_LINUX ;;
|
||||
- *-*-*bsd*|*-*-dragonfly*|*-*-bitrig*) platform=U_BSD ;;
|
||||
+ *-*-*bsd*|*-*-dragonfly*|*-*-bitrig*|*-*-minix*) platform=U_BSD ;;
|
||||
*-*-aix*) platform=U_AIX ;;
|
||||
*-*-hpux*) platform=U_HPUX ;;
|
||||
*-apple-darwin*|*-apple-rhapsody*) platform=U_DARWIN ;;
|
11
textproc/icu/patches/patch-zz-minix-b
Normal file
11
textproc/icu/patches/patch-zz-minix-b
Normal file
@ -0,0 +1,11 @@
|
||||
--- common/unicode/platform.h.orig Sun Oct 16 20:28:28 2016
|
||||
+++ common/unicode/platform.h Sun Oct 16 20:40:23 2016
|
||||
@@ -159,7 +159,7 @@
|
||||
# else
|
||||
# define U_PLATFORM U_PF_DARWIN
|
||||
# endif
|
||||
-#elif defined(BSD) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__MirBSD__) || defined(__DragonFly__)
|
||||
+#elif defined(BSD) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__minix) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__MirBSD__) || defined(__DragonFly__)
|
||||
# if defined(__FreeBSD__)
|
||||
# include <sys/endian.h>
|
||||
# endif
|
13
textproc/icu/patches/patch-zz-minix-c
Normal file
13
textproc/icu/patches/patch-zz-minix-c
Normal file
@ -0,0 +1,13 @@
|
||||
--- common/umutex.h.orig Sun Apr 26 15:45:11 2015
|
||||
+++ common/umutex.h Sun Apr 26 15:45:32 2015
|
||||
@@ -375,6 +375,10 @@
|
||||
*/
|
||||
|
||||
#include <pthread.h>
|
||||
+#ifdef __minix
|
||||
+/* LSC: Once more, an example of why macros are a bad thing. */
|
||||
+#undef select
|
||||
+#endif
|
||||
|
||||
struct UMutex {
|
||||
pthread_mutex_t fMutex;
|
11
textproc/icu/patches/patch-zz-minix-d
Normal file
11
textproc/icu/patches/patch-zz-minix-d
Normal file
@ -0,0 +1,11 @@
|
||||
--- common/putilimp.h.orig Sun Apr 26 15:46:47 2015
|
||||
+++ common/putilimp.h Sun Apr 26 15:47:20 2015
|
||||
@@ -126,7 +126,7 @@
|
||||
# endif
|
||||
#elif U_PLATFORM_USES_ONLY_WIN32_API
|
||||
# define U_TIMEZONE _timezone
|
||||
-#elif U_PLATFORM == U_PF_BSD && !defined(__NetBSD__)
|
||||
+#elif U_PLATFORM == U_PF_BSD && !defined(__minix) && !defined(__NetBSD__)
|
||||
/* not defined */
|
||||
#elif U_PLATFORM == U_PF_OS400
|
||||
/* not defined */
|
11
textproc/icu/patches/patch-zz-minix-e
Normal file
11
textproc/icu/patches/patch-zz-minix-e
Normal file
@ -0,0 +1,11 @@
|
||||
--- runConfigureICU.orig Sun Oct 25 18:39:40 2015
|
||||
+++ runConfigureICU Sun Oct 25 18:40:29 2015
|
||||
@@ -327,7 +327,7 @@
|
||||
DEBUG_CXXFLAGS='-Zi -MDd'
|
||||
DEBUG_LDFLAGS='-DEBUG'
|
||||
;;
|
||||
- *BSD | DragonFly | Bitrig)
|
||||
+ *BSD | DragonFly | Bitrig | Minix)
|
||||
THE_OS="BSD"
|
||||
THE_COMP="the GNU C++"
|
||||
DEBUG_CFLAGS='-g -O0'
|
14
textproc/icu/patches/patch-zz-minix-f
Normal file
14
textproc/icu/patches/patch-zz-minix-f
Normal file
@ -0,0 +1,14 @@
|
||||
--- i18n/ucol_res.cpp.orig Sun Apr 26 16:05:53 2015
|
||||
+++ i18n/ucol_res.cpp Sun Apr 26 16:07:22 2015
|
||||
@@ -51,6 +51,11 @@
|
||||
#include "ustrenum.h"
|
||||
#include "utracimp.h"
|
||||
|
||||
+#if defined(__minix)
|
||||
+/* LSC: Yet another example why macros are evil. */
|
||||
+#undef read
|
||||
+#endif /* defined(__minix) */
|
||||
+
|
||||
U_NAMESPACE_BEGIN
|
||||
|
||||
namespace {
|
14
textproc/icu/patches/patch-zz-minix-g
Normal file
14
textproc/icu/patches/patch-zz-minix-g
Normal file
@ -0,0 +1,14 @@
|
||||
--- i18n/collationdatareader.cpp.orig Sun Apr 26 16:14:39 2015
|
||||
+++ i18n/collationdatareader.cpp Sun Apr 26 16:15:55 2015
|
||||
@@ -30,6 +30,11 @@
|
||||
#include "ucmndata.h"
|
||||
#include "utrie2.h"
|
||||
|
||||
+#if defined(__minix)
|
||||
+/* LSC: Yet another example of why macros are evil. */
|
||||
+#undef read
|
||||
+#endif /* defined(__minix) */
|
||||
+
|
||||
U_NAMESPACE_BEGIN
|
||||
|
||||
namespace {
|
14
textproc/icu/patches/patch-zz-minix-h
Normal file
14
textproc/icu/patches/patch-zz-minix-h
Normal file
@ -0,0 +1,14 @@
|
||||
--- i18n/collationdatareader.h.orig Sun Apr 26 16:23:14 2015
|
||||
+++ i18n/collationdatareader.h Sun Apr 26 16:24:21 2015
|
||||
@@ -18,6 +18,11 @@
|
||||
|
||||
#include "unicode/udata.h"
|
||||
|
||||
+#if defined(__minix)
|
||||
+/* LSC: Yet another proof for the evilness of macros. */
|
||||
+#undef read
|
||||
+#endif /* defined(__minix) */
|
||||
+
|
||||
struct UDataMemory;
|
||||
|
||||
U_NAMESPACE_BEGIN
|
Loading…
x
Reference in New Issue
Block a user