[arch-commits] Commit in qemu/trunk (PKGBUILD dirent.patch)
Tobias Powalowski
tpowa at archlinux.org
Mon Dec 1 17:42:18 UTC 2008
Date: Monday, December 1, 2008 @ 12:42:18
Author: tpowa
Revision: 20198
upgpkg: qemu 0.9.1-12
Added:
qemu/trunk/dirent.patch
Modified:
qemu/trunk/PKGBUILD
--------------+
PKGBUILD | 26 ++++++++++++--------------
dirent.patch | 11 +++++++++++
2 files changed, 23 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2008-12-01 12:51:44 UTC (rev 20197)
+++ PKGBUILD 2008-12-01 17:42:18 UTC (rev 20198)
@@ -2,8 +2,8 @@
# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
pkgname=qemu
pkgver=0.9.1
-pkgrel=11
-_kvmver=76
+pkgrel=12
+_kvmver=79
pkgdesc="QEMU is a generic and open source processor emulator which achieves a good emulation speed by using dynamic translation."
arch=(i686 x86_64)
license=('GPL')
@@ -11,11 +11,11 @@
depends=('sdl' 'alsa-lib' 'zlib' 'e2fsprogs' 'gnutls>=2.4.1' 'bluez')
makedepends=('gcc34')
install=qemu.install
-source=(http://bellard.org/${pkgname}/${pkgname}-${pkgver}.tar.gz \
- 70-kqemu.rules \
- http://downloads.sourceforge.net/kvm/kvm-$_kvmver.tar.gz\
- kvm-bios.diff
- ftp://ftp.archlinux.org/other/qemu/pre-77.patch)
+source=(http://bellard.org/${pkgname}/${pkgname}-${pkgver}.tar.gz
+ 70-kqemu.rules
+ http://downloads.sourceforge.net/kvm/kvm-$_kvmver.tar.gz
+ dirent.patch
+ kvm-bios.diff)
build()
{
@@ -29,8 +29,8 @@
else
./configure --prefix=/usr --enable-alsa
fi
- # fix sdl compilation
-
+ # fix compiling
+ patch -Np0 -i ../dirent.patch || return 1
make || return 1
make DESTDIR=${startdir}/pkg install || return 1
install -D -m644 ${srcdir}/70-kqemu.rules \
@@ -38,8 +38,6 @@
# we add the kvm/qemu version
cd ${srcdir}/kvm-$_kvmver
- # add pre patch to fix weird vga issues
- patch -Np1 -i ../pre-77.patch || return 1
# fix bios versions
patch -Np1 -i ../kvm-bios.diff || return 1
./configure --prefix=/usr
@@ -66,6 +64,6 @@
}
md5sums=('6591df8e9270eb358c881de4ebea1262'
'ec06591830b8fcf53913f05f3d66f7e5'
- '08cf1364e8f02026569a1660e8b8ea01'
- '1cdfcbd3cc569eec96a36d7557291fd2'
- 'cf1d4b5fc041b63da7ccad94936988a9')
+ '6a59a481201ed91a92105a9b1b339547'
+ '4ea5d2609edcca10f927d7ddd233e8d2'
+ '1cdfcbd3cc569eec96a36d7557291fd2')
Added: dirent.patch
===================================================================
--- dirent.patch (rev 0)
+++ dirent.patch 2008-12-01 17:42:18 UTC (rev 20198)
@@ -0,0 +1,11 @@
+--- linux-user/syscall.c~ 2008-12-01 17:29:10.000000000 +0000
++++ linux-user/syscall.c 2008-12-01 17:29:10.000000000 +0000
+@@ -66,7 +66,7 @@
+ #include <linux/cdrom.h>
+ #include <linux/hdreg.h>
+ #include <linux/soundcard.h>
+-#include <linux/dirent.h>
++#include <dirent.h>
+ #include <linux/kd.h>
+
+ #include "qemu.h"
More information about the arch-commits
mailing list