[97499] trunk/dports/emulators/qemu

raimue at macports.org raimue at macports.org
Fri Sep 7 08:29:37 PDT 2012


Revision: 97499
          https://trac.macports.org/changeset/97499
Author:   raimue at macports.org
Date:     2012-09-07 08:29:35 -0700 (Fri, 07 Sep 2012)
Log Message:
-----------
emulators/qemu:
Update to version 1.2.0; enabling TCG instead of the TCG interpreter as this
appears to work fine now with clang.

Modified Paths:
--------------
    trunk/dports/emulators/qemu/Portfile
    trunk/dports/emulators/qemu/files/patch-configure.diff

Modified: trunk/dports/emulators/qemu/Portfile
===================================================================
--- trunk/dports/emulators/qemu/Portfile	2012-09-07 15:16:39 UTC (rev 97498)
+++ trunk/dports/emulators/qemu/Portfile	2012-09-07 15:29:35 UTC (rev 97499)
@@ -3,8 +3,7 @@
 PortSystem 1.0
 
 name                    qemu
-version                 1.1.1
-revision		1
+version                 1.2.0
 categories              emulators
 license                 GPL-2+
 platforms               darwin
@@ -19,12 +18,9 @@
 homepage                http://qemu.org
 master_sites            ${homepage}/download
 use_bzip2 yes
-# 1.1.1 was repackaged as 1.1.1-1
-distname                ${name}-${version}-1
-worksrcdir              ${name}-${version}
 
-checksums               rmd160  e1fa73652dbcfd234f862ce1979adf16182f00bc \
-                        sha256  6fbaff1fa75aae1a06947cf7cb101c35273712c561b87ef8eaec92aa39734ac8
+checksums               rmd160  f6ebeeca42e2e694f17ab83cca3652baf7e74d1c \
+                        sha256  c8b84420d9f4869397f84cad2dabd9a475b7723d619a924a873740353e9df936
 
 patchfiles              patch-configure.diff
 
@@ -41,14 +37,11 @@
                         port:jpeg \
                         port:ossp-uuid
 
-configure.args          --cc=${configure.cc} \
-                        --host-cc=${configure.cc} \
-                        --enable-tcg-interpreter
+configure.args          --cpu=${configure.build_arch} \
+                        --cc=${configure.cc} \
+                        --objcc=${configure.objc} \
+                        --host-cc=${configure.cc}
 
-if {$build_arch != ""} {
-    configure.args-append --cpu=${build_arch}
-}
-
 set target_list {}
 pre-configure {
     configure.args-append --target-list=${target_list}

Modified: trunk/dports/emulators/qemu/files/patch-configure.diff
===================================================================
--- trunk/dports/emulators/qemu/files/patch-configure.diff	2012-09-07 15:16:39 UTC (rev 97498)
+++ trunk/dports/emulators/qemu/files/patch-configure.diff	2012-09-07 15:29:35 UTC (rev 97499)
@@ -1,15 +1,9 @@
---- configure.orig	2012-07-17 20:11:14.000000000 +0200
-+++ configure	2012-08-29 12:24:15.000000000 +0200
-@@ -411,18 +411,7 @@
+--- configure.orig	2012-09-07 17:13:15.000000000 +0200
++++ configure	2012-09-07 17:14:01.000000000 +0200
+@@ -457,12 +457,7 @@
  Darwin)
    bsd="yes"
    darwin="yes"
--  # on Leopard most of the system is 32-bit, so we have to ask the kernel it if we can
--  # run 64-bit userspace code
--  if [ "$cpu" = "i386" ] ; then
--    is_x86_64=`sysctl -n hw.optional.x86_64`
--    [ "$is_x86_64" = "1" ] && cpu=x86_64
--  fi
 -  if [ "$cpu" = "x86_64" ] ; then
 -    QEMU_CFLAGS="-arch x86_64 $QEMU_CFLAGS"
 -    LDFLAGS="-arch x86_64 $LDFLAGS"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120907/1d1926e0/attachment.html>


More information about the macports-changes mailing list