diff options
author | kristerw <kristerw> | 2002-07-01 02:23:16 +0000 |
---|---|---|
committer | kristerw <kristerw> | 2002-07-01 02:23:16 +0000 |
commit | c7b7032fedfc1a5f477224e1f7482456b15e9bab (patch) | |
tree | 2fe2a0c7b5454643c500effacd95b1ad877e5e1e /www/amaya/patches | |
parent | 234486065db0775e14fcb1bc1d27d1746c34c4b8 (diff) | |
download | pkgsrc-c7b7032fedfc1a5f477224e1f7482456b15e9bab.tar.gz |
Make Amaya build on NetBSD 1.4.
NetBSD 1.4 does not have wchar.h, but everything needed by Amaya is
defined in stdlib.h. So add a wchar.h test to configure, and protect
inclusion of wchar.h by HAVE_WCHAR_H.
Solves PR 12358.
Diffstat (limited to 'www/amaya/patches')
-rw-r--r-- | www/amaya/patches/patch-aa | 16 | ||||
-rw-r--r-- | www/amaya/patches/patch-ae | 15 | ||||
-rw-r--r-- | www/amaya/patches/patch-af | 13 |
3 files changed, 40 insertions, 4 deletions
diff --git a/www/amaya/patches/patch-aa b/www/amaya/patches/patch-aa index 0809985fb38..5911b4c8c7f 100644 --- a/www/amaya/patches/patch-aa +++ b/www/amaya/patches/patch-aa @@ -1,7 +1,15 @@ -$NetBSD: patch-aa,v 1.7 2001/08/09 19:03:19 jlam Exp $ - ---- ../configure.orig Tue Jul 3 07:23:50 2001 -+++ ../configure +$NetBSD: patch-aa,v 1.8 2002/07/01 02:23:17 kristerw Exp $ +--- ../configure.orig Tue Jul 3 13:23:50 2001 ++++ ../configure Mon Jul 1 02:48:37 2002 +@@ -3049,7 +3049,7 @@ + fi + + +-for ac_hdr in stdio.h ++for ac_hdr in stdio.h wchar.h + do + ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` + echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 @@ -6425,12 +6425,6 @@ diff --git a/www/amaya/patches/patch-ae b/www/amaya/patches/patch-ae new file mode 100644 index 00000000000..f433c8f3dc5 --- /dev/null +++ b/www/amaya/patches/patch-ae @@ -0,0 +1,15 @@ +$NetBSD: patch-ae,v 1.5 2002/07/01 02:23:17 kristerw Exp $ +--- ../thotlib/include/ustring.h.orig Mon Jul 1 02:49:43 2002 ++++ ../thotlib/include/ustring.h Mon Jul 1 02:55:09 2002 +@@ -5,7 +5,11 @@ + #ifdef _WINDOWS + #include <windows.h> + #endif /* _WINDOWS */ ++ ++#include "config.h" ++#ifdef HAVE_WCHAR_H + #include <wchar.h> ++#endif /* HAVE_WCHAR_H */ + + #ifdef _WINDOWS + #define strncasecmp _strnicmp diff --git a/www/amaya/patches/patch-af b/www/amaya/patches/patch-af new file mode 100644 index 00000000000..b0159b8d36e --- /dev/null +++ b/www/amaya/patches/patch-af @@ -0,0 +1,13 @@ +$NetBSD: patch-af,v 1.4 2002/07/01 02:23:17 kristerw Exp $ +--- ../config.h.in.orig Mon Jul 1 02:52:16 2002 ++++ ../config.h.in Mon Jul 1 02:52:51 2002 +@@ -321,6 +321,9 @@ + /* Define if you have the <unixlib.h> header file. */ + #undef HAVE_UNIXLIB_H + ++/* Define if you have the <wchar.h> header file. */ ++#undef HAVE_WCHAR_H ++ + /* Define if you have the dl library (-ldl). */ + #undef HAVE_LIBDL + |