diff options
author | Tristan Heaven <tristan@gentoo.org> | 2008-06-13 18:34:46 +0000 |
---|---|---|
committer | Tristan Heaven <tristan@gentoo.org> | 2008-06-13 18:34:46 +0000 |
commit | e3016260e80e2d4d6483658ce0f9274efdf8a768 (patch) | |
tree | 4c6ba716731a8f5936cb7d8518da8335e09ede3e /x11-misc/keytouch/files | |
parent | Version bump, fix tests being built unconditionally (bug #226355), add src_te... (diff) | |
download | historical-e3016260e80e2d4d6483658ce0f9274efdf8a768.tar.gz historical-e3016260e80e2d4d6483658ce0f9274efdf8a768.tar.bz2 historical-e3016260e80e2d4d6483658ce0f9274efdf8a768.zip |
Version bump
Package-Manager: portage-2.2_pre8/cvs/Linux 2.6.25.6 x86_64
Diffstat (limited to 'x11-misc/keytouch/files')
-rw-r--r-- | x11-misc/keytouch/files/keytouch-2.4.0-glibc28.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/x11-misc/keytouch/files/keytouch-2.4.0-glibc28.patch b/x11-misc/keytouch/files/keytouch-2.4.0-glibc28.patch new file mode 100644 index 000000000000..1c1375869dce --- /dev/null +++ b/x11-misc/keytouch/files/keytouch-2.4.0-glibc28.patch @@ -0,0 +1,44 @@ +--- keytouch-acpid/Makefile.am ++++ keytouch-acpid/Makefile.am +@@ -3,7 +3,8 @@ + + AM_CPPFLAGS = -I. -I../string_to_keycode/ -I../mxml \ + -DSYSCONF_DIR=\""$(sysconfdir)"\" \ +- -DPACKAGE_DATA_DIR=\""$(datadir)"\" ++ -DPACKAGE_DATA_DIR=\""$(datadir)"\" \ ++ -D_GNU_SOURCE # struct ucred + + AM_CFLAGS=@CFLAGS@ @X_CFLAGS@ -Wall + +--- 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> |