summaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2011-09-05 06:51:15 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2011-09-05 06:51:15 +0000
commitbdc287c3506845022431287f70510de8dca22ad0 (patch)
tree65f0a877a603371ead37b4b41dd6b5ddbbf67404 /chinese
parentFix 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-Makefile14
-rw-r--r--chinese/muni/files/patch-m7773.c10
-rw-r--r--chinese/muni/files/patch-muni.c10
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>
+