[113169] trunk/dports/emulators/freesci/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Mon Nov 11 01:40:25 PST 2013


Revision: 113169
          https://trac.macports.org/changeset/113169
Author:   jeremyhu at macports.org
Date:     2013-11-11 01:40:25 -0800 (Mon, 11 Nov 2013)
Log Message:
-----------
freesci: Build fixes

Modified Paths:
--------------
    trunk/dports/emulators/freesci/Portfile

Modified: trunk/dports/emulators/freesci/Portfile
===================================================================
--- trunk/dports/emulators/freesci/Portfile	2013-11-11 09:33:52 UTC (rev 113168)
+++ trunk/dports/emulators/freesci/Portfile	2013-11-11 09:40:25 UTC (rev 113169)
@@ -50,6 +50,16 @@
    configure.args-append   --without-x --with-sdl-prefix=${prefix}
 }
 
+# TODO: *REALLY* fix this bug
+# core.c:916:3: error: non-void function 'sfx_send_midi' should return a value [-Wreturn-type]
+if {[string match *clang* ${configure.compiler}]} {
+    configure.cflags-append -Wno-return-type -std=gnu89
+}
+
+post-patch {
+    reinplace "s/getline/fs_getline/g" ${worksrcpath}/src/tools/bdfgname.c
+}
+
 livecheck.type      regex
 livecheck.url       ${homepage}
 livecheck.regex     "FreeSCI (\[0-9.\]+)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131111/d0a04b4c/attachment.html>


More information about the macports-changes mailing list