[Lunar-commits] r22483 - moonbase/trunk/devel/qemu

Auke Kok sofar at lunar-linux.org
Wed Dec 6 17:37:18 CET 2006


Author: sofar
Date: 2006-12-06 17:37:18 +0100 (Wed, 06 Dec 2006)
New Revision: 22483

Modified:
   moonbase/trunk/devel/qemu/BUILD
   moonbase/trunk/devel/qemu/DETAILS
Log:
Allow this to be built with gcc-4 ootb. thanks to tchan for finding this patch



Modified: moonbase/trunk/devel/qemu/BUILD
===================================================================
--- moonbase/trunk/devel/qemu/BUILD	2006-12-06 16:04:58 UTC (rev 22482)
+++ moonbase/trunk/devel/qemu/BUILD	2006-12-06 16:37:18 UTC (rev 22483)
@@ -1,5 +1,10 @@
 (
 
+  if gcc --version | grep -q 'gcc (GCC) 4' ; then
+    patch_it $SOURCE2 1
+    OPTS+=" --disable-gcc-check"
+  fi
+
   if [ -e /usr/X11R6/lib/libX11.a ]; then
     ./configure --prefix=/usr $OPTS
   else

Modified: moonbase/trunk/devel/qemu/DETAILS
===================================================================
--- moonbase/trunk/devel/qemu/DETAILS	2006-12-06 16:04:58 UTC (rev 22482)
+++ moonbase/trunk/devel/qemu/DETAILS	2006-12-06 16:37:18 UTC (rev 22483)
@@ -1,8 +1,11 @@
           MODULE=qemu
          VERSION=0.8.2
           SOURCE=$MODULE-$VERSION.tar.gz
+         SOURCE2=qemu-gcc-4-all.patch
       SOURCE_URL=http://fabrice.bellard.free.fr/qemu/
+     SOURCE2_URL=http://www.busybox.net/downloads/qemu/
       SOURCE_VFY=sha1:d775239a545e7d0c5b677660a2122df590afde6d
+     SOURCE2_VFY=sha1:08bc298c078e2c71dfc1c5bf3fcdc3da086cd45b
         WEB_SITE=http://fabrice.bellard.free.fr/qemu/
          ENTERED=20040318
          UPDATED=20060728



More information about the Lunar-commits mailing list