aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2011-07-14 15:44:34 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2011-07-14 15:44:34 +0000
commit0475e97eee297067c865535a7fa0063d0a06ecf6 (patch)
tree151beb6a7df8912c1887ea161c30b160d9e9d7db /x11
parentcf6025e37e32032baef6954b19647c3d51225661 (diff)
downloadports-0475e97eee297067c865535a7fa0063d0a06ecf6.tar.gz
ports-0475e97eee297067c865535a7fa0063d0a06ecf6.zip
Notes
Diffstat (limited to 'x11')
-rw-r--r--x11/libsx/files/patch-freq-main.c11
-rw-r--r--x11/libsx/files/patch-src-main.c11
-rw-r--r--x11/libsx/files/patch-src-main2.c11
3 files changed, 33 insertions, 0 deletions
diff --git a/x11/libsx/files/patch-freq-main.c b/x11/libsx/files/patch-freq-main.c
new file mode 100644
index 000000000000..402a2427ec21
--- /dev/null
+++ b/x11/libsx/files/patch-freq-main.c
@@ -0,0 +1,11 @@
+--- freq/main.c.orig 2011-07-01 09:36:39.000000000 +0200
++++ freq/main.c 2011-07-01 09:36:50.000000000 +0200
+@@ -23,7 +23,7 @@
+ void quit(Widget w, void *data);
+ void load(Widget w, void *data);
+
+-void main(int argc, char **argv)
++int main(int argc, char **argv)
+ {
+ argc = init_display(argc, argv, NULL); /* setup the display */
+ if (argc == 0)
diff --git a/x11/libsx/files/patch-src-main.c b/x11/libsx/files/patch-src-main.c
new file mode 100644
index 000000000000..4afa2d5d81ee
--- /dev/null
+++ b/x11/libsx/files/patch-src-main.c
@@ -0,0 +1,11 @@
+--- src/main.c.orig 2011-07-01 09:34:23.000000000 +0200
++++ src/main.c 2011-07-01 09:34:37.000000000 +0200
+@@ -43,7 +43,7 @@
+
+
+
+-void main(int argc, char **argv)
++int main(int argc, char **argv)
+ {
+ MyProgram mydata;
+
diff --git a/x11/libsx/files/patch-src-main2.c b/x11/libsx/files/patch-src-main2.c
new file mode 100644
index 000000000000..eebef7d1325e
--- /dev/null
+++ b/x11/libsx/files/patch-src-main2.c
@@ -0,0 +1,11 @@
+--- src/main2.c.orig 2011-07-01 09:35:43.000000000 +0200
++++ src/main2.c 2011-07-01 09:35:54.000000000 +0200
+@@ -32,7 +32,7 @@
+
+
+
+-void main(int argc, char **argv)
++int main(int argc, char **argv)
+ {
+ argc = init_display(argc, argv, NULL); /* setup the display */
+ if (argc == 0)