aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2011-09-13 05:21:37 +0800
committerrene <rene@FreeBSD.org>2011-09-13 05:21:37 +0800
commite63fc391d7ca81dcd5e0c491ad0bea3c6484757c (patch)
tree25cfa96debc4592b99dc7f6a994dd15f4b217485 /x11-fm
parentcb1937024c5fd1a85370f1c2083b81b83f98ee69 (diff)
downloadfreebsd-ports-gnome-e63fc391d7ca81dcd5e0c491ad0bea3c6484757c.tar.gz
freebsd-ports-gnome-e63fc391d7ca81dcd5e0c491ad0bea3c6484757c.tar.zst
freebsd-ports-gnome-e63fc391d7ca81dcd5e0c491ad0bea3c6484757c.zip
Fix build with clang.
PR: ports/160417 Submitted by: O. Hartmann [ohartman zedat.fu-berlin.de]
Diffstat (limited to 'x11-fm')
-rw-r--r--x11-fm/asfiles/files/patch-src__Main.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-fm/asfiles/files/patch-src__Main.c b/x11-fm/asfiles/files/patch-src__Main.c
new file mode 100644
index 000000000000..480c5099db37
--- /dev/null
+++ b/x11-fm/asfiles/files/patch-src__Main.c
@@ -0,0 +1,11 @@
+--- src/Main.c.orig 1997-05-21 18:25:09.000000000 +0200
++++ src/Main.c 2011-09-12 22:40:50.000000000 +0200
+@@ -391,7 +391,7 @@
+ Main function
+ ---------------------------------------------------------------------------*/
+
+-void main(int argc, char *argv[])
++int main(int argc, char *argv[])
+ {
+ char *s, *buf;
+ int bufsize;