summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorjoerg <joerg>2016-04-03 12:48:38 +0000
committerjoerg <joerg>2016-04-03 12:48:38 +0000
commit3f0c6db6130077b2bee843831c7b7be82ed8818a (patch)
treedbb0563f6ccd348e200d9bad9277cbae6ba1ced9 /cad
parentb4187698a7e2bc9b6c4b6a4a0cbee94f0be2c207 (diff)
downloadpkgsrc-3f0c6db6130077b2bee843831c7b7be82ed8818a.tar.gz
When using something from locale.h, include it as well.
Diffstat (limited to 'cad')
-rw-r--r--cad/pcb/distinfo3
-rw-r--r--cad/pcb/patches/patch-src_gettext.h13
2 files changed, 15 insertions, 1 deletions
diff --git a/cad/pcb/distinfo b/cad/pcb/distinfo
index 145eb609b9f..54efac87690 100644
--- a/cad/pcb/distinfo
+++ b/cad/pcb/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.23 2016/03/07 23:40:47 dsainty Exp $
+$NetBSD: distinfo,v 1.24 2016/04/03 12:48:38 joerg Exp $
SHA1 (pcb-20140316.tar.gz) = ec714ff136d1817e500e1a9e654e786883b9501e
RMD160 (pcb-20140316.tar.gz) = 70ef878227ad52c83ce4499373550e7a8d807dd4
SHA512 (pcb-20140316.tar.gz) = 5b9a2704b4d3c95f03afad0fe8fb5414b2aa9d680e40bf77ad9b46a9d4e14ba740858092794a9ff6788f31ac19063b126d8ceed6316c0d9eaaaa574e6678c071
Size (pcb-20140316.tar.gz) = 4210077 bytes
SHA1 (patch-icon-theme-installer) = b3b183f2ab77c56e52d4cd96058a28bc7e2832bb
+SHA1 (patch-src_gettext.h) = 2f256e29caa89e58931279a40eecc9e8a3b93d04
SHA1 (patch-src_report.c) = 4ed8fa6eeb8401c0fe052c7beecd44b307ec0d73
diff --git a/cad/pcb/patches/patch-src_gettext.h b/cad/pcb/patches/patch-src_gettext.h
new file mode 100644
index 00000000000..90f7b5b2f1f
--- /dev/null
+++ b/cad/pcb/patches/patch-src_gettext.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_gettext.h,v 1.1 2016/04/03 12:48:38 joerg Exp $
+
+--- src/gettext.h.orig 2016-04-02 21:13:28.754215955 +0000
++++ src/gettext.h
+@@ -93,6 +93,8 @@
+
+ #endif
+
++#include <locale.h>
++
+ /* A pseudo function call that serves as a marker for the automated
+ extraction of messages, but does not call gettext(). The run-time
+ translation is done at a different place in the code.