summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2008-07-21 19:54:22 +0000
committerTristan Heaven <nyhm@gentoo.org>2008-07-21 19:54:22 +0000
commit168221885bfe711c9ea2644a4b30d4b3f60583b0 (patch)
treea60bf6dec0b6f1b164bc121014053a2f95916680 /x11-misc/keytouch/files
parentVersion bump to 3.0.1 (bug 232547). (diff)
downloadgentoo-2-168221885bfe711c9ea2644a4b30d4b3f60583b0.tar.gz
gentoo-2-168221885bfe711c9ea2644a4b30d4b3f60583b0.tar.bz2
gentoo-2-168221885bfe711c9ea2644a4b30d4b3f60583b0.zip
Version bump
(Portage version: 2.2_rc1/cvs/Linux 2.6.26 x86_64)
Diffstat (limited to 'x11-misc/keytouch/files')
-rw-r--r--x11-misc/keytouch/files/keytouch-2.4.1-glibc28.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/x11-misc/keytouch/files/keytouch-2.4.1-glibc28.patch b/x11-misc/keytouch/files/keytouch-2.4.1-glibc28.patch
new file mode 100644
index 000000000000..52e1099e43cf
--- /dev/null
+++ b/x11-misc/keytouch/files/keytouch-2.4.1-glibc28.patch
@@ -0,0 +1,32 @@
+--- keytouch-keyboard/src/check_syntax.c
++++ keytouch-keyboard/src/check_syntax.c
+@@ -29,10 +29,10 @@
+ You can contact me at: marvinr(at)users(dot)sf(dot)net
+ (replace (at) by @ and (dot) by .)
+ -----------------------------------------------------------------------------------*/
++#define _XOPEN_SOURCE /* strptime */
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <string.h>
+-#define _XOPEN_SOURCE /* glibc2 needs this */
+ #include <time.h>
+
+ #include <mxml.h>
+--- keytouch-keyboard/src/config.c
++++ keytouch-keyboard/src/config.c
+@@ -37,6 +37,7 @@
+ You can contact me at: marvinr(at)users(dot)sf(dot)net
+ (replace (at) by @ and (dot) by .)
+ -----------------------------------------------------------------------------------*/
++#define _GNU_SOURCE /* strptime, scandir */
+ #include <stdlib.h>
+ #include <dirent.h>
+ #include <dlfcn.h>
+@@ -45,7 +46,6 @@
+ #include <unistd.h>
+ #include <string.h>
+ #include <stdio.h>
+-#define _GNU_SOURCE /* glibc2 needs this */
+ #include <time.h>
+
+ #include <mxml.h>