summaryrefslogtreecommitdiff
path: root/textproc/antiword/patches/patch-ab
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-03-07 18:29:03 +0000
committerminskim <minskim@pkgsrc.org>2005-03-07 18:29:03 +0000
commit51aa75798059d5d619a133e99c9bf40bf884e5ab (patch)
tree35d27082153e70a2c424ea09efbd61809dd10435 /textproc/antiword/patches/patch-ab
parent07bb481ef4a87a9197bfc210aace9bda29d2b2ff (diff)
downloadpkgsrc-51aa75798059d5d619a133e99c9bf40bf884e5ab.tar.gz
Include locale.h to use LC_CTYPE on Darwin. Fixes PR pkg/29205.
Diffstat (limited to 'textproc/antiword/patches/patch-ab')
-rw-r--r--textproc/antiword/patches/patch-ab6
1 files changed, 3 insertions, 3 deletions
diff --git a/textproc/antiword/patches/patch-ab b/textproc/antiword/patches/patch-ab
index 1546cdb8b19..f668b52aae7 100644
--- a/textproc/antiword/patches/patch-ab
+++ b/textproc/antiword/patches/patch-ab
@@ -1,13 +1,13 @@
-$NetBSD: patch-ab,v 1.7 2004/12/05 00:01:39 cube Exp $
+$NetBSD: patch-ab,v 1.8 2005/03/07 18:29:03 minskim Exp $
---- main_u.c.orig 2004-10-14 18:49:18.000000000 +0200
+--- main_u.c.orig Thu Oct 14 11:49:18 2004
+++ main_u.c
@@ -29,7 +29,7 @@
#include <fcntl.h>
#include <io.h>
#endif /* __dos */
-#if defined(__STDC_ISO_10646__)
-+#if defined(__STDC_ISO_10646__) || defined(__NetBSD__) || defined(__FreeBSD__)
++#if defined(__STDC_ISO_10646__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__APPLE__)
#include <locale.h>
#endif /* __STDC_ISO_10646__ */
#if defined(N_PLAT_NLM)