summaryrefslogtreecommitdiff
path: root/inputmethod
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-11-05 17:39:46 +0000
committerjoerg <joerg@pkgsrc.org>2013-11-05 17:39:46 +0000
commit7aebec4b19d2b18756e85176d923fc55d9f8ccca (patch)
tree9cee8ac634d50ad838bb051aceced0c0db092ffa /inputmethod
parent63ffc9f9c975814f5f4673df48303e68af23e025 (diff)
downloadpkgsrc-7aebec4b19d2b18756e85176d923fc55d9f8ccca.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_ */
+