1
0
forked from ports/contrib

qemu-kvm: 0.12.3 -> 0.12.4

This commit is contained in:
Thomas Penteker 2010-06-04 22:33:13 +02:00
parent 1c321b27e4
commit d3dc214d8f
3 changed files with 3 additions and 17 deletions

View File

@ -1,2 +1 @@
c335c46ab9c3b62b182d2d9022d5c002 ksm.diff
ab484975004f66fb48cb5589bd9b9dcb qemu-kvm-0.12.3.tar.gz
1c48b94f58403fb24247f9b5fb6abb9f qemu-kvm-0.12.4.tar.gz

View File

@ -4,15 +4,13 @@
# Depends on: libsdl
name=qemu-kvm
version=0.12.3
version=0.12.4
release=1
source=(http://downloads.sourceforge.net/project/kvm/qemu-kvm/$version/qemu-kvm-$version.tar.gz ksm.diff)
source=(http://downloads.sourceforge.net/project/kvm/qemu-kvm/$version/qemu-kvm-$version.tar.gz)
build() {
cd $name-$version
# make KSM work with current glibc
patch -i ../ksm.diff -p1
./configure --prefix=/usr
make
make install DESTDIR=$PKG

View File

@ -1,11 +0,0 @@
diff -Naur qemu-kvm-0.12.2_orig/exec.c qemu-kvm-0.12.2/exec.c
--- qemu-kvm-0.12.2_orig/exec.c 2010-02-18 19:04:32.000000000 +0200
+++ qemu-kvm-0.12.2/exec.c 2010-02-18 19:10:39.000000000 +0200
@@ -22,6 +22,7 @@
#else
#include <sys/types.h>
#include <sys/mman.h>
+#include <asm-generic/mman-common.h>
#endif
#include <stdlib.h>
#include <stdio.h>