aboutsummaryrefslogtreecommitdiffstats
path: root/games/acm/files
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2011-06-25 15:48:30 +0800
committermiwi <miwi@FreeBSD.org>2011-06-25 15:48:30 +0800
commit67d5c9192858b2e64c22fc25f23ed58e9fcc4e24 (patch)
tree313fba1fb7997e8902779dfe63998ad88f43c3a4 /games/acm/files
parenta7807cea676b3d62d865236b14f4991f7dd75f8c (diff)
downloadfreebsd-ports-gnome-67d5c9192858b2e64c22fc25f23ed58e9fcc4e24.tar.gz
freebsd-ports-gnome-67d5c9192858b2e64c22fc25f23ed58e9fcc4e24.tar.zst
freebsd-ports-gnome-67d5c9192858b2e64c22fc25f23ed58e9fcc4e24.zip
- Fix build with CLANG
PR: 158103 Submitted by: Guido Falsi <mad@madpilot.net>
Diffstat (limited to 'games/acm/files')
-rw-r--r--games/acm/files/patch-dis-test-disscope.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/acm/files/patch-dis-test-disscope.c b/games/acm/files/patch-dis-test-disscope.c
new file mode 100644
index 000000000000..52eec9d0df8a
--- /dev/null
+++ b/games/acm/files/patch-dis-test-disscope.c
@@ -0,0 +1,11 @@
+--- dis/test/disscope.c.orig 1998-12-10 23:58:01.000000000 +0100
++++ dis/test/disscope.c 2011-06-21 13:01:46.689444826 +0200
+@@ -172,7 +172,7 @@
+ #endif
+ ++ count;
+ }
+- return;
++ return 0;
+ }
+
+ char *