summaryrefslogtreecommitdiff
path: root/www/amaya/patches/patch-aa
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2002-07-01 02:23:16 +0000
committerkristerw <kristerw@pkgsrc.org>2002-07-01 02:23:16 +0000
commitbbc6d6409a4a78bd502a57a1f7cbfbf7bce04025 (patch)
tree2fe2a0c7b5454643c500effacd95b1ad877e5e1e /www/amaya/patches/patch-aa
parent0d30ee2e4b2168baa630c5f45682b79ee0a05bdc (diff)
downloadpkgsrc-bbc6d6409a4a78bd502a57a1f7cbfbf7bce04025.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/patch-aa')
-rw-r--r--www/amaya/patches/patch-aa16
1 files changed, 12 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 @@