ports/158103: games/acm: fix build with clang
Guido Falsi
mad at madpilot.net
Tue Jun 21 11:20:08 UTC 2011
>Number: 158103
>Category: ports
>Synopsis: games/acm: fix build with clang
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Jun 21 11:20:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Guido Falsi
>Release: FreeBSD 8.2-STABLE amd64
>Organization:
none
>Environment:
System: FreeBSD megatron.madpilot.net 8.2-STABLE FreeBSD 8.2-STABLE #1: Mon Jun 6 20:10:31 CEST 2011 root at megatron.madpilot.net:/usr/obj/usr/src/sys/MEGATRON amd64
>Description:
Fix trivial error reported by exp run with clang.
Add patch file files/patch-dis-test-disscope.c
I don't have a clang machine to test this, the patch fixes the error shown here:
http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp.20110616185105/acm-5.0_2.log
If more errors show up when proceeding with the build I'd have to look at them.
>How-To-Repeat:
>Fix:
diff -ruN acm.old/files/patch-dis-test-disscope.c acm/files/patch-dis-test-disscope.c
--- acm.old/files/patch-dis-test-disscope.c 1970-01-01 01:00:00.000000000 +0100
+++ acm/files/patch-dis-test-disscope.c 2011-06-21 13:09:41.475448806 +0200
@@ -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 *
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list