aboutsummaryrefslogtreecommitdiff
path: root/x11/gtkterm2/files/patch-intl::dcigettext.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gtkterm2/files/patch-intl::dcigettext.c')
-rw-r--r--x11/gtkterm2/files/patch-intl::dcigettext.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11/gtkterm2/files/patch-intl::dcigettext.c b/x11/gtkterm2/files/patch-intl::dcigettext.c
new file mode 100644
index 000000000000..555dea0875bb
--- /dev/null
+++ b/x11/gtkterm2/files/patch-intl::dcigettext.c
@@ -0,0 +1,13 @@
+--- intl/dcigettext.c.orig Sat Jun 12 01:13:19 2004
++++ intl/dcigettext.c Sat Jun 12 01:14:54 2004
+@@ -987,11 +987,7 @@
+ p = translation;
+ while (index-- > 0)
+ {
+-#ifdef _LIBC
+ p = __rawmemchr (p, '\0');
+-#else
+- p = strchr (p, '\0');
+-#endif
+ /* And skip over the NUL byte. */
+ p++;