aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2011-09-05 14:51:15 +0800
committervanilla <vanilla@FreeBSD.org>2011-09-05 14:51:15 +0800
commit7510c6bc4390acffca12d4b09c7fd2db01174933 (patch)
tree9e73262382abfd09341eeda43c02d3dd8e2f1955 /chinese
parent23ff343e278e748d7fc9aeef59f38a80593693ad (diff)
downloadfreebsd-ports-gnome-7510c6bc4390acffca12d4b09c7fd2db01174933.tar.gz
freebsd-ports-gnome-7510c6bc4390acffca12d4b09c7fd2db01174933.tar.zst
freebsd-ports-gnome-7510c6bc4390acffca12d4b09c7fd2db01174933.zip
Fix build error with clang.
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>
+