Remove old qemu 0.12.4 non-recipe and unused outdated patch.

This commit is contained in:
Michael Lotz
2013-11-30 03:26:34 +01:00
parent 3efe2418e3
commit d32f571e6f
2 changed files with 0 additions and 73 deletions

View File

@@ -1,50 +0,0 @@
diff --git a/configure b/configure
index a2f54b8..8c603b3 100755
--- a/configure
+++ b/configure
@@ -191,6 +191,9 @@ SunOS)
oss=yes
fi
;;
+Haiku)
+haiku="yes"
+;;
*)
oss="yes"
linux="yes"
@@ -336,7 +339,7 @@ for opt do
esac
done
-if [ "$bsd" = "yes" -o "$darwin" = "yes" -o "$mingw32" = "yes" ] ; then
+if [ "$bsd" = "yes" -o "$darwin" = "yes" -o "$mingw32" = "yes" -o "$haiku" = "yes" ] ; then
AIOLIBS=
else
# Some Linux architectures (e.g. s390) don't imply -lpthread automatically.
@@ -375,8 +378,8 @@ case "$cpu" in
ARCH_CFLAGS="-march=z900"
;;
i386)
- ARCH_CFLAGS="-m32"
- ARCH_LDFLAGS="-m32"
+# ARCH_CFLAGS="-m32"
+# ARCH_LDFLAGS="-m32"
;;
x86_64)
ARCH_CFLAGS="-m64"
diff --git a/qemu-img.c b/qemu-img.c
index 309a746..2386497 100644
--- a/qemu-img.c
+++ b/qemu-img.c
@@ -593,7 +593,11 @@ static int64_t get_allocated_file_size(const char *filename)
struct stat st;
if (stat(filename, &st) < 0)
return -1;
+#ifdef __HAIKU__
+ return st.st_size;
+#else
return (int64_t)st.st_blocks * 512;
+#endif
}
#endif

View File

@@ -1,23 +0,0 @@
DESCRIPTION="QEMU is a generic and open source machine emulator and virtualizer."
HOMEPAGE="http://wiki.qemu.org/"
SRC_URI="http://download.savannah.gnu.org/releases/qemu/qemu-0.12.4.tar.gz"
REVISION="1"
STATUS_HAIKU="broken"
DEPEND=""
CHECKSUM_MD5="93e6b134dff89b2799f57b7d9e0e0fc5"
BUILD()
{
cd qemu-0.12.4
./configure --prefix=`finddir B_COMMON_DIRECTORY`
make
}
INSTALL()
{
cd qemu-0.12.4
make install
}
COPYRIGHT="2003 Fabrice Bellard"
LICENSE="GNU GPL v2"