mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Remove old qemu 0.12.4 non-recipe and unused outdated patch.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
Reference in New Issue
Block a user