diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2011-09-05 03:43:01 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2011-09-05 03:43:01 +0000 |
commit | 03389973a52c5ca019f9a6dab4ceb8cb26e3b48a (patch) | |
tree | 6ad35b16209e612c75e7b8a41b8317a20a1c618e /chinese/kcfonts | |
parent | 3921a1c2c068444abeee4f4674bddd3a7b800f83 (diff) | |
download | ports-03389973a52c5ca019f9a6dab4ceb8cb26e3b48a.tar.gz ports-03389973a52c5ca019f9a6dab4ceb8cb26e3b48a.zip |
Fix build error with clang.
Notes
Notes:
svn path=/head/; revision=281193
Diffstat (limited to 'chinese/kcfonts')
-rw-r--r-- | chinese/kcfonts/files/patch-aa | 15 | ||||
-rw-r--r-- | chinese/kcfonts/files/patch-kca2et.c | 11 |
2 files changed, 21 insertions, 5 deletions
diff --git a/chinese/kcfonts/files/patch-aa b/chinese/kcfonts/files/patch-aa index 10d03999558c..4b93815e31ea 100644 --- a/chinese/kcfonts/files/patch-aa +++ b/chinese/kcfonts/files/patch-aa @@ -1,6 +1,6 @@ ---- Makefile.orig Sun Dec 17 04:00:46 1995 -+++ Makefile Sun Apr 30 10:58:22 2000 -@@ -2,13 +2,13 @@ +--- Makefile.orig 1995-12-17 04:00:46.000000000 +0800 ++++ Makefile 2011-09-05 11:35:47.000000000 +0800 +@@ -2,17 +2,17 @@ # Kau Chauo Chinese Fanti Ming Fonts Version 1.05 For FreeBSD # # All fonts source is contributed by Kau Chauo Business CO. @@ -18,7 +18,12 @@ FONTS =kc24f.pcf.gz kc15f.pcf.gz kc8x15.pcf.gz kc12x24.pcf.gz PROGS =kc24f kc15f kc8x15 kc12x24 kca2et OBJS =tran.o kc24f.o kc15f.o kc8x15.o kc12x24.o kca2et.o -@@ -22,10 +22,14 @@ +-CC =gcc ++#CC =gcc + + all: $(FONTS) + +@@ -22,10 +22,14 @@ kc15f.pcf.gz: kc15f ./kc15f | bdftopcf | gzip - > kc15f.pcf.gz kc8x15.pcf.gz: kca2et kc8x15 ./kca2et kctext16.f00 ascfont.15 256 16 15 @@ -35,7 +40,7 @@ kc24f: tran.o kc24f.o $(CC) $(CFLAGS) tran.o kc24f.o -o $@ -@@ -42,7 +46,9 @@ +@@ -42,7 +46,9 @@ install: if [ ! -d $(CFONTDIR) ]; then mkdir $(CFONTDIR); fi cp kc*f.pcf.gz $(CFONTDIR) cp kc*x*.pcf.gz $(EFONTDIR) diff --git a/chinese/kcfonts/files/patch-kca2et.c b/chinese/kcfonts/files/patch-kca2et.c new file mode 100644 index 000000000000..495b0368c8a3 --- /dev/null +++ b/chinese/kcfonts/files/patch-kca2et.c @@ -0,0 +1,11 @@ +--- kca2et.c.orig 2011-09-05 11:37:39.000000000 +0800 ++++ kca2et.c 2011-09-05 11:37:51.000000000 +0800 +@@ -10,7 +10,7 @@ + #include <stdio.h> + #include <stdlib.h> + +-void main(int argc, char **argv) ++int main(int argc, char **argv) + { + int i; + unsigned char tmp[60]; |