summaryrefslogtreecommitdiff
path: root/x11-fm
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2011-09-12 21:21:37 +0000
committerRene Ladan <rene@FreeBSD.org>2011-09-12 21:21:37 +0000
commit5b0a7d31df1b2be556ce51dbc59834ab1d9083b8 (patch)
tree097ba136609c8579edb561a6cddbeab1f0244f37 /x11-fm
parent- Git is needed at the fetch stage, not build. (diff)
Fix build with clang.
PR: ports/160417 Submitted by: O. Hartmann [ohartman zedat.fu-berlin.de]
Notes
Notes: svn path=/head/; revision=281704
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;