[120672] trunk/dports/emulators/qemu

raimue at macports.org raimue at macports.org
Thu Jun 5 06:28:06 PDT 2014


Revision: 120672
          https://trac.macports.org/changeset/120672
Author:   raimue at macports.org
Date:     2014-06-05 06:28:06 -0700 (Thu, 05 Jun 2014)
Log Message:
-----------
emulators/qemu:
Fix build for certain variants with a patch to the build rules, closes #43912.
No revision bump as build failed before.

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

Added Paths:
-----------
    trunk/dports/emulators/qemu/files/patch-link-sort.diff

Modified: trunk/dports/emulators/qemu/Portfile
===================================================================
--- trunk/dports/emulators/qemu/Portfile	2014-06-05 12:00:26 UTC (rev 120671)
+++ trunk/dports/emulators/qemu/Portfile	2014-06-05 13:28:06 UTC (rev 120672)
@@ -23,7 +23,8 @@
 checksums               rmd160  ecd05e036431c14930ae2455a032495dd7ebaf85 \
                         sha256  60cc1aa0cad39cec891f970bed60ca8a484f071adad4943123599ac223543a3b
 
-patchfiles              patch-configure.diff
+patchfiles              patch-configure.diff \
+                        patch-link-sort.diff
 
 depends_build           port:texinfo \
                         port:libtool \

Added: trunk/dports/emulators/qemu/files/patch-link-sort.diff
===================================================================
--- trunk/dports/emulators/qemu/files/patch-link-sort.diff	                        (rev 0)
+++ trunk/dports/emulators/qemu/files/patch-link-sort.diff	2014-06-05 13:28:06 UTC (rev 120672)
@@ -0,0 +1,12 @@
+Upstream-Report: https://lists.gnu.org/archive/html/qemu-devel/2014-03/msg02855.html
+--- rules.mak
++++ rules.mak
+@@ -23,7 +23,7 @@ QEMU_DGFLAGS += -MMD -MP -MT $@ -MF $(*D)/$(*F).d
+ QEMU_INCLUDES += -I$(<D) -I$(@D)
+ 
+ maybe-add = $(filter-out $1, $2) $1
+-extract-libs = $(strip $(sort $(foreach o,$1,$($o-libs))) \
++extract-libs = $(strip $(foreach o,$1,$($o-libs)) \
+                   $(foreach o,$(call expand-objs,$1),$($o-libs)))
+ expand-objs = $(strip $(sort $(filter %.o,$1)) \
+                   $(foreach o,$(filter %.mo,$1),$($o-objs)) \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140605/d49db47e/attachment.html>


More information about the macports-changes mailing list