Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/10.4-EOL/utils
In directory 
vz-cvs-3.sog:/tmp/cvs-serv3241/10.4/stable/main/finkinfo/10.4-EOL/utils

Modified Files:
        qemu.info 
Added Files:
        qemu.patch 
Log Message:
patched version of qemu.

--- NEW FILE: qemu.patch ---
diff -ru qemu-0.15.1/ui/cocoa.m qemu-0.15.1-patched/ui/cocoa.m
--- qemu-0.15.1/ui/cocoa.m
+++ qemu-0.15.1-patched/ui/cocoa.m
@@ -811,6 +811,8 @@ QemuCocoaView *cocoaView;
 
         char **argv = (char**)malloc( sizeof(char*)*3 );
 
+       [sheet close];
+
         asprintf(&argv[0], "%s", bin);
         asprintf(&argv[1], "-hda");
         asprintf(&argv[2], "%s", img);

Index: qemu.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/stable/main/finkinfo/10.4-EOL/utils/qemu.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- qemu.info   14 Oct 2011 11:18:50 -0000      1.1
+++ qemu.info   19 Oct 2011 21:38:07 -0000      1.2
@@ -1,26 +1,32 @@
 Package: qemu
 Version: 0.15.1
-Revision: 1
+Revision: 2
 Description: Fast machine emulator and virtualizer
 License: GPL
 
 Source: http://wiki.qemu.org/download/%n-%v.tar.gz
 Source-MD5: 34f17737baaf1b3495c89cd6d4a607ed
 
-ConfigureParams: <<
-(%m = i386) --cpu=%m  \
---extra-cflags=-I%p/include \
---disable-darwin-user \
---disable-bsd-user
-<<
+PatchFile: %n.patch
+PatchFile-MD5: c819bba120764d7cafbfc7ef54d95899
 
 PatchScript: <<
 #!/bin/sh -ev
 # patch configure for 32 bit build on x86_64
-if [ "%m" = "i386" ]; then
-  sed -i.bak 's|-m64|-m32|g'               configure
-  sed -i.bak 's|-arch x86_64|-arch i386|g' configure
-fi
+  if [ "%m" = "i386" ]; then
+    sed -i.bak 's|-m64|-m32|g'     configure
+  fi
+# patch configure for ,issing -arch option in gcc-4
+  sed -i.bak 's|-arch x86_64||g' configure
+# patch for window glitch as proposed by Juan Pineda.
+  patch -p1 <%{PatchFile}
+<<
+
+ConfigureParams: <<
+(%m = i386) --cpu=%m        \
+--extra-cflags=-I%p/include \
+--disable-darwin-user       \
+--disable-bsd-user
 <<
 
 CompileScript: <<


------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Ciosco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to