diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2011-09-05 06:51:15 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2011-09-05 06:51:15 +0000 |
commit | bdc287c3506845022431287f70510de8dca22ad0 (patch) | |
tree | 65f0a877a603371ead37b4b41dd6b5ddbbf67404 /chinese | |
parent | Fix build error with clang. (diff) |
Fix build error with clang.
Notes
Notes:
svn path=/head/; revision=281203
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/muni/files/patch-Makefile | 14 | ||||
-rw-r--r-- | chinese/muni/files/patch-m7773.c | 10 | ||||
-rw-r--r-- | chinese/muni/files/patch-muni.c | 10 |
3 files changed, 34 insertions, 0 deletions
diff --git a/chinese/muni/files/patch-Makefile b/chinese/muni/files/patch-Makefile new file mode 100644 index 000000000000..2ca3216fde23 --- /dev/null +++ b/chinese/muni/files/patch-Makefile @@ -0,0 +1,14 @@ +--- Makefile.orig 2011-09-05 14:44:30.000000000 +0800 ++++ Makefile 2011-09-05 14:44:38.000000000 +0800 +@@ -28,9 +28,9 @@ + all: muni m7773 + + muni: muni.o +- cc -o muni muni.o ++ $(CC) -o muni muni.o + strip muni + + m7773: m7773.o +- cc -o m7773 m7773.o ++ $(CC) -o m7773 m7773.o + strip m7773 diff --git a/chinese/muni/files/patch-m7773.c b/chinese/muni/files/patch-m7773.c new file mode 100644 index 000000000000..dc2b3bf68554 --- /dev/null +++ b/chinese/muni/files/patch-m7773.c @@ -0,0 +1,10 @@ +--- m7773.c.orig 2011-09-05 14:47:08.000000000 +0800 ++++ m7773.c 2011-09-05 14:47:17.000000000 +0800 +@@ -28,6 +28,7 @@ + + #include <stdio.h> + ++int + main() { + int i; + diff --git a/chinese/muni/files/patch-muni.c b/chinese/muni/files/patch-muni.c new file mode 100644 index 000000000000..02fb7d105533 --- /dev/null +++ b/chinese/muni/files/patch-muni.c @@ -0,0 +1,10 @@ +--- muni.c.orig 2011-09-05 14:46:18.000000000 +0800 ++++ muni.c 2011-09-05 14:46:29.000000000 +0800 +@@ -26,6 +26,7 @@ + * muni 1.0 + */ + ++#include <ctype.h> + #include <stdio.h> + #include <stdlib.h> + |