qmc2: update to 0.56

This commit is contained in:
Jürgen Buchmüller 2015-10-01 11:19:56 +02:00
parent 2aed15a2b3
commit e676566313
2 changed files with 3 additions and 24 deletions

View file

@ -1,21 +0,0 @@
diff -ru qmc2.orig/lzma/CpuArch.c qmc2/lzma/CpuArch.c
--- lzma/CpuArch.c 2014-04-26 15:00:09.408414619 +0200
+++ lzma/CpuArch.c 2015-08-28 10:22:31.421881641 +0200
@@ -75,9 +75,17 @@
#else
__asm__ __volatile__ (
+ #if defined(MY_CPU_X86) && defined(__PIC__)
+ "mov %%ebx, %%edi;"
+ "cpuid;"
+ "xchgl %%ebx, %%edi;"
+ : "=a" (*a) ,
+ "=D" (*b) ,
+ #else
"cpuid"
: "=a" (*a) ,
"=b" (*b) ,
+ #endif
"=c" (*c) ,
"=d" (*d)
: "0" (function)) ;

View file

@ -1,7 +1,7 @@
# Template file for 'qmc2'
pkgname=qmc2
version=0.55
revision=2
version=0.56
revision=1
wrksrc=${pkgname}
build_style=gnu-makefile
make_build_args="PREFIX=/usr DATADIR=/usr/share MAN_DIR=/usr/share/man TARGET=qmc2-mame"
@ -16,7 +16,7 @@ maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-2"
homepage="http://qmc2.arcadehits.net/wordpress/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${version}/${pkgname}-${version}.tar.bz2"
checksum=3867b1e56fd30ee33cfec80146bb92184c50b0ea347eed1fc3080196b53483f6
checksum=ef0583e69dd5cbebb966ef81dce536684f8301458e902af430aff919f31f3c1c
pre_build() {
# Replace sdl-config with sdl2-config