diff options
author | Daichi GOTO <daichi@FreeBSD.org> | 2012-05-09 19:28:24 +0000 |
---|---|---|
committer | Daichi GOTO <daichi@FreeBSD.org> | 2012-05-09 19:28:24 +0000 |
commit | d5110194a59360ce3b0cc2dbe57360beba1c4a19 (patch) | |
tree | 4f92857a5f840d9d8638b6aaec61db2614e62b06 /japanese/kon2-16dot/files/patch-font_fontx2.c | |
parent | Update to 2.03pre8 (diff) |
- fixed the building on amd64
- fixed the building on 9+
- clean-up patches
PR: 167724
Submitted by: Masamichi Takatsu <taka2@doga.co.jp>
Notes
Notes:
svn path=/head/; revision=296316
Diffstat (limited to 'japanese/kon2-16dot/files/patch-font_fontx2.c')
-rw-r--r-- | japanese/kon2-16dot/files/patch-font_fontx2.c | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/japanese/kon2-16dot/files/patch-font_fontx2.c b/japanese/kon2-16dot/files/patch-font_fontx2.c index 0acd90f49c0c..a8335b8ae7b0 100644 --- a/japanese/kon2-16dot/files/patch-font_fontx2.c +++ b/japanese/kon2-16dot/files/patch-font_fontx2.c @@ -1,19 +1,19 @@ - --- font/fontx2.c 30 Sep 2008 08:02:59 -0000 1.1.1.1 - +++ font/fontx2.c 23 Oct 2008 09:24:33 -0000 - @@ -37,6 +37,7 @@ - #include <string.h> - #include <sys/socket.h> - - +#include <defs.h> - #include <interface.h> - #include <fnld.h> - - @@ -170,7 +171,7 @@ - font = FontLoadSFontx(fp, header); - else exit(0); - } - - free(header); - + SafeFree(header); - return(font); - } - +--- font/fontx2.c.orig 1997-01-24 19:08:56.000000000 +0900 ++++ font/fontx2.c 2012-05-10 00:14:28.719647899 +0900 +@@ -37,6 +37,7 @@ + #include <string.h> + #include <sys/socket.h> + ++#include <defs.h> + #include <interface.h> + #include <fnld.h> + +@@ -170,7 +171,7 @@ + font = FontLoadSFontx(fp, header); + else exit(0); + } +- free(header); ++ SafeFree(header); + return(font); + } + |