summaryrefslogtreecommitdiff
path: root/inputmethod
diff options
context:
space:
mode:
authorjoerg <joerg>2013-11-05 17:39:46 +0000
committerjoerg <joerg>2013-11-05 17:39:46 +0000
commit8bf100c4e3ff36596984cb5b81d62837ebce8260 (patch)
tree9cee8ac634d50ad838bb051aceced0c0db092ffa /inputmethod
parentfb26afad4b542826ddafdb4e8d9f6b0a253aa7d7 (diff)
downloadpkgsrc-8bf100c4e3ff36596984cb5b81d62837ebce8260.tar.gz
attribute((bound(...))) was never really documented and removed ages ago
from GCC.
Diffstat (limited to 'inputmethod')
-rw-r--r--inputmethod/sj3/distinfo3
-rw-r--r--inputmethod/sj3/patches/patch-include_sj3compat_sj3vis.h22
2 files changed, 24 insertions, 1 deletions
diff --git a/inputmethod/sj3/distinfo b/inputmethod/sj3/distinfo
index 963c881c611..e2c17475776 100644
--- a/inputmethod/sj3/distinfo
+++ b/inputmethod/sj3/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.2 2012/01/24 20:39:59 joerg Exp $
+$NetBSD: distinfo,v 1.3 2013/11/05 17:39:46 joerg Exp $
SHA1 (sj3-2.0.1.23p1.tar.gz) = 313a8f71f03071ad4d6006d18b569ce390edca8d
RMD160 (sj3-2.0.1.23p1.tar.gz) = 2541f19bcf6b74c5b59c2e930fe27bb0ffa97ddf
Size (sj3-2.0.1.23p1.tar.gz) = 1117190 bytes
SHA1 (patch-aa) = 83416c5aeae4514349c6ab1a4f1ac3018feea406
SHA1 (patch-doc_man_sj3dic.1) = f990df9cd36043fb2501fea96dce9307d16a0637
+SHA1 (patch-include_sj3compat_sj3vis.h) = 41d8da26b17775225b27ee14c8e99bf9a8527734
diff --git a/inputmethod/sj3/patches/patch-include_sj3compat_sj3vis.h b/inputmethod/sj3/patches/patch-include_sj3compat_sj3vis.h
new file mode 100644
index 00000000000..12a293783ef
--- /dev/null
+++ b/inputmethod/sj3/patches/patch-include_sj3compat_sj3vis.h
@@ -0,0 +1,22 @@
+$NetBSD: patch-include_sj3compat_sj3vis.h,v 1.1 2013/11/05 17:39:46 joerg Exp $
+
+--- include/sj3compat/sj3vis.h.orig 2013-11-05 07:44:11.000000000 +0000
++++ include/sj3compat/sj3vis.h
+@@ -81,14 +81,11 @@
+
+ char *vis(char *, int, int, int);
+ int strvis(char *, const char *, int);
+-int strnvis(char *, const char *, size_t, int)
+- __attribute__ ((__bounded__(__string__,1,3)));
+-int strvisx(char *, const char *, size_t, int)
+- __attribute__ ((__bounded__(__string__,1,3)));
++int strnvis(char *, const char *, size_t, int);
++int strvisx(char *, const char *, size_t, int);
+ int strunvis(char *, const char *);
+ int unvis(char *, char, int *, int);
+-ssize_t strnunvis(char *, const char *, size_t)
+- __attribute__ ((__bounded__(__string__,1,3)));
++ssize_t strnunvis(char *, const char *, size_t);
+
+ #endif /* !_VIS_H_ */
+