aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/FreeWnn-server/files/patch-aq
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>1999-02-10 22:32:00 +0800
committerkuriyama <kuriyama@FreeBSD.org>1999-02-10 22:32:00 +0800
commitcd4bcb27e6e18b67a4ace8e57c5f1dec6ec405d3 (patch)
tree831bac5e16262ddab9783ce7506362b3e8404b9c /japanese/FreeWnn-server/files/patch-aq
parent1f9cdf85949cf770ceb58dd78fabea065678fc21 (diff)
downloadfreebsd-ports-graphics-cd4bcb27e6e18b67a4ace8e57c5f1dec6ec405d3.tar.gz
freebsd-ports-graphics-cd4bcb27e6e18b67a4ace8e57c5f1dec6ec405d3.tar.zst
freebsd-ports-graphics-cd4bcb27e6e18b67a4ace8e57c5f1dec6ec405d3.zip
Add dictionaries and some fixes.
PR: ports/9625 Submitted by: Satoshi Taoka <taoka@infonets.hiroshima-u.ac.jp>
Diffstat (limited to 'japanese/FreeWnn-server/files/patch-aq')
-rw-r--r--japanese/FreeWnn-server/files/patch-aq26
1 files changed, 26 insertions, 0 deletions
diff --git a/japanese/FreeWnn-server/files/patch-aq b/japanese/FreeWnn-server/files/patch-aq
new file mode 100644
index 00000000000..d476242347b
--- /dev/null
+++ b/japanese/FreeWnn-server/files/patch-aq
@@ -0,0 +1,26 @@
+--- Xwnmo/xwnmo/localalloc.c.~1~ Tue Dec 1 15:10:40 1992
++++ Xwnmo/xwnmo/localalloc.c Thu Jun 25 12:11:29 1998
+@@ -112,6 +112,7 @@
+ {
+ char *ptr;
+ if (size == 0) return(NULL);
++ size += (sizeof(char *)-(size%sizeof(char *)));
+ if ((ptr = malloc(size)) == NULL) {
+ #ifdef ALLOC_DEBUG
+ print_out1("alloc failed with size = %d", size);
+@@ -134,6 +135,7 @@
+ unsigned size;
+ {
+ if (size == 0) return(ptr);
++ size += (sizeof(char *)-(size%sizeof(char *)));
+ if (ptr == NULL) return(Malloc(size));
+ #ifdef ALLOC_DEBUG
+ unregister_debug(ptr);
+@@ -153,6 +155,7 @@
+ {
+ char *ptr;
+ if (size == 0) return(NULL);
++ size += (sizeof(char *)-(size%sizeof(char *)));
+ if ((ptr = calloc(num, size)) == NULL) {
+ return(NULL);
+ }