summaryrefslogtreecommitdiff
path: root/cad
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
parentde9333152ec53196f1535cefcc2f7215a7805855 (diff)
downloadpkgsrc-cfb99139f7ed531250512efe2211f270551e9735.tar.gz
#include <locale.h> before using LC_WHATEVER
Diffstat (limited to 'cad')
-rw-r--r--cad/gschem/distinfo3
-rw-r--r--cad/gschem/patches/patch-ab14
2 files changed, 16 insertions, 1 deletions
diff --git a/cad/gschem/distinfo b/cad/gschem/distinfo
index 4f8f96a33fc..ddef0ca0030 100644
--- a/cad/gschem/distinfo
+++ b/cad/gschem/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.6 2003/03/09 06:18:26 dmcmahill Exp $
+$NetBSD: distinfo,v 1.7 2003/07/09 14:45:59 drochner Exp $
SHA1 (geda/geda-gschem-20030223.tar.gz) = e8baf671b940d96a0f2d1f066b21200388a4d4af
Size (geda/geda-gschem-20030223.tar.gz) = 1378177 bytes
SHA1 (patch-aa) = 398b9fd4ac13dda138ea03bc8cd09bd5fb1082be
+SHA1 (patch-ab) = b5806b57edd1d5ba3159c4f63a1b1c6678cedaec
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>
+