summaryrefslogtreecommitdiff
path: root/cad/gschem/patches
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2003-07-09 14:45:59 +0000
committerdrochner <drochner@pkgsrc.org>2003-07-09 14:45:59 +0000
commitcfb99139f7ed531250512efe2211f270551e9735 (patch)
tree8c4bf2cc4b645ad7131fa472a73022a54099cee6 /cad/gschem/patches
parentde9333152ec53196f1535cefcc2f7215a7805855 (diff)
downloadpkgsrc-cfb99139f7ed531250512efe2211f270551e9735.tar.gz
#include <locale.h> before using LC_WHATEVER
Diffstat (limited to 'cad/gschem/patches')
-rw-r--r--cad/gschem/patches/patch-ab14
1 files changed, 14 insertions, 0 deletions
diff --git a/cad/gschem/patches/patch-ab b/cad/gschem/patches/patch-ab
new file mode 100644
index 00000000000..2eb0f5d92da
--- /dev/null
+++ b/cad/gschem/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.3 2003/07/09 14:46:00 drochner Exp $
+
+--- src/gschem.c.orig 2003-07-09 15:02:04.000000000 +0200
++++ src/gschem.c 2003-07-09 15:02:41.000000000 +0200
+@@ -32,6 +32,9 @@
+ #ifdef HAVE_UNISTD_H
+ #include <unistd.h>
+ #endif
++#ifdef ENABLE_NLS
++#include <locale.h>
++#endif
+
+ #include <libgeda/libgeda.h>
+