diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2008-11-22 01:53:43 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2008-11-22 01:53:43 +0000 |
commit | f734df59b50c1d04d125caa5e958ab60ddaa2c4d (patch) | |
tree | df533ce968d1bd55fdfcc3d9af22750452b39c54 /dev-libs/wnn7sdk/files | |
parent | Updated x11-libs/qt-phonon block to avoid a qt downgrade. (diff) | |
download | gentoo-2-f734df59b50c1d04d125caa5e958ab60ddaa2c4d.tar.gz gentoo-2-f734df59b50c1d04d125caa5e958ab60ddaa2c4d.tar.bz2 gentoo-2-f734df59b50c1d04d125caa5e958ab60ddaa2c4d.zip |
Fixed compile issue, bug #205007. Fixed HOMEPAGE.
(Portage version: 2.2_rc14/cvs/Linux 2.6.27-gentoo-r2 x86_64)
Diffstat (limited to 'dev-libs/wnn7sdk/files')
-rw-r--r-- | dev-libs/wnn7sdk/files/wnn7sdk-qa.patch | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/dev-libs/wnn7sdk/files/wnn7sdk-qa.patch b/dev-libs/wnn7sdk/files/wnn7sdk-qa.patch new file mode 100644 index 000000000000..a41223af8e6f --- /dev/null +++ b/dev-libs/wnn7sdk/files/wnn7sdk-qa.patch @@ -0,0 +1,52 @@ +diff -Naur src.orig/Wnn/etc/msg.c src/Wnn/etc/msg.c +--- src.orig/Wnn/etc/msg.c 2001-10-17 10:37:17.000000000 +0900 ++++ src/Wnn/etc/msg.c 2008-11-22 10:38:22.000000000 +0900 +@@ -148,6 +148,8 @@ + <message id>\t<message> + */ + #include <stdio.h> ++#include <stdlib.h> ++#include <string.h> + #include "commonhd.h" + #include "config.h" + #include "dslib.h" +@@ -156,7 +158,7 @@ + + + static char * +-bsearch(ky, bs, nel, width, compar) ++a_bsearch(ky, bs, nel, width, compar) + char *ky; + char *bs; + unsigned long nel; +@@ -244,7 +246,7 @@ + return(NULL); + if (cd->msg_bd == 0 || cd->msg_cnt == 0) + return(NULL); +- bd = (struct msg_bd *)bsearch(id, cd->msg_bd, cd->msg_cnt, ++ bd = (struct msg_bd *)a_bsearch(id, cd->msg_bd, cd->msg_cnt, + sizeof(struct msg_bd), _search); + if (bd == NULL) + return(NULL); +diff -Naur src.orig/Wnn/jlib/jl.c src/Wnn/jlib/jl.c +--- src.orig/Wnn/jlib/jl.c 2001-10-17 10:37:17.000000000 +0900 ++++ src/Wnn/jlib/jl.c 2008-11-22 10:18:36.000000000 +0900 +@@ -143,6 +143,7 @@ + #include "commonhd.h" + #include "config.h" + #include <stdio.h> ++#include <stdlib.h> + #include <sys/types.h> + #ifdef SYSVR2 + # include <string.h> +diff -Naur src.orig/Wnn/jlib/js.c src/Wnn/jlib/js.c +--- src.orig/Wnn/jlib/js.c 2001-10-17 10:37:17.000000000 +0900 ++++ src/Wnn/jlib/js.c 2008-11-22 10:27:04.000000000 +0900 +@@ -162,6 +162,7 @@ + extern char *malloc(); + + #include <stdio.h> ++#include <stdlib.h> + #include <ctype.h> + #ifdef UX386 + #include <X11/Xos.h> |