summaryrefslogtreecommitdiff
path: root/sysutils/lineakd/files/patch-cc
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-09-29 14:32:13 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-09-29 14:32:13 +0000
commit7a4fedc770e00cd752bba068e1372a2462b8c07b (patch)
treeccb3c6bedca1b5c8c34c0b70139f5ccd234cb526 /sysutils/lineakd/files/patch-cc
parentAdd ruby-wordnet, a Ruby interface to the WordNet(R) Lexical Database. (diff)
new port: sysutils/lineakd
lineak is a utility designed to enable the use and configuration of those special keys on Internet, Easy Access and Multimedia keyboards in Linux (and other unices, like now FreeBSD). I use this port for about 6-8 months and it seems to work without much problems. I was asked from several people if I finished the port, so I thought it would be the best to include it in the official ports tree. PR: ports/52158 Submitted by: Kay Lehmann <kay_lehmann@web.de>
Diffstat (limited to 'sysutils/lineakd/files/patch-cc')
-rw-r--r--sysutils/lineakd/files/patch-cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/lineakd/files/patch-cc b/sysutils/lineakd/files/patch-cc
new file mode 100644
index 000000000000..908309e2f87c
--- /dev/null
+++ b/sysutils/lineakd/files/patch-cc
@@ -0,0 +1,16 @@
+--- intl/dcigettext.c.orig Sat Jun 8 21:56:27 2002
++++ intl/dcigettext.c Tue May 13 10:56:23 2003
+@@ -58,11 +58,11 @@
+ #include <stdlib.h>
+
+ #include <string.h>
+-#if !HAVE_STRCHR && !defined _LIBC
++/*#if !HAVE_STRCHR && !defined _LIBC
+ # ifndef strchr
+ # define strchr index
+ # endif
+-#endif
++#endif*/
+
+ #if defined HAVE_UNISTD_H || defined _LIBC
+ # include <unistd.h>