aboutsummaryrefslogtreecommitdiffstats
path: root/converters
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-08-24 17:58:10 +0800
committerbapt <bapt@FreeBSD.org>2012-08-24 17:58:10 +0800
commit6e10810bde5b8d2a0bc40d514fa0acab65b1b78f (patch)
tree792b8e7accf9d3336d9fa1a4854dc26c48b8e0c3 /converters
parent42ae9e04d605a161c3723a8a4993403e78066fc6 (diff)
downloadfreebsd-ports-gnome-6e10810bde5b8d2a0bc40d514fa0acab65b1b78f.tar.gz
freebsd-ports-gnome-6e10810bde5b8d2a0bc40d514fa0acab65b1b78f.tar.zst
freebsd-ports-gnome-6e10810bde5b8d2a0bc40d514fa0acab65b1b78f.zip
Fix build with clang
Diffstat (limited to 'converters')
-rw-r--r--converters/aish/files/patch-ai_fio.c18
-rw-r--r--converters/aish/files/patch-aish.c11
-rw-r--r--converters/aish/files/patch-aishmv.c11
3 files changed, 40 insertions, 0 deletions
diff --git a/converters/aish/files/patch-ai_fio.c b/converters/aish/files/patch-ai_fio.c
new file mode 100644
index 000000000000..f16997fecd61
--- /dev/null
+++ b/converters/aish/files/patch-ai_fio.c
@@ -0,0 +1,18 @@
+--- ./ai_fio.c.orig 1994-10-14 08:02:38.000000000 +0100
++++ ./ai_fio.c 2012-08-24 11:52:22.029913407 +0200
+@@ -226,6 +226,7 @@
+ int noerrflag= 0;
+ #endif
+
++void
+ Mputchar( ch )
+ char ch;
+ {
+@@ -236,6 +237,7 @@
+ putchar( ch );
+ }
+
++void
+ Merrch( ch )
+ char ch;
+ {
diff --git a/converters/aish/files/patch-aish.c b/converters/aish/files/patch-aish.c
new file mode 100644
index 000000000000..04eb9c39aeba
--- /dev/null
+++ b/converters/aish/files/patch-aish.c
@@ -0,0 +1,11 @@
+--- ./aish.c.orig 1998-03-19 16:14:04.000000000 +0100
++++ ./aish.c 2012-08-24 11:54:45.144913079 +0200
+@@ -64,7 +64,7 @@
+ #else
+ void
+ main( argc, argv )
+-unsigned char **argv;
++char **argv;
+ #endif
+ {
+ unsigned char ptr[RBSIZE];
diff --git a/converters/aish/files/patch-aishmv.c b/converters/aish/files/patch-aishmv.c
new file mode 100644
index 000000000000..5d1be68abe0c
--- /dev/null
+++ b/converters/aish/files/patch-aishmv.c
@@ -0,0 +1,11 @@
+--- ./aishmv.c.orig 1998-03-19 15:55:50.000000000 +0100
++++ ./aishmv.c 2012-08-24 11:55:08.781914503 +0200
+@@ -348,7 +348,7 @@
+ #else
+ void
+ main( argc, argv )
+-unsigned char **argv;
++char **argv;
+ #endif
+ {
+ unsigned char ptr[RBSIZE];