aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)