Date: Friday, November 29, 2013 @ 08:04:07 Author: schuay Revision: 101609
desmume 0.9.10 Added: desmume/trunk/glx_3Demu.patch Modified: desmume/trunk/PKGBUILD -----------------+ PKGBUILD | 13 +++++++++---- glx_3Demu.patch | 25 +++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-11-29 05:08:26 UTC (rev 101608) +++ PKGBUILD 2013-11-29 07:04:07 UTC (rev 101609) @@ -12,8 +12,8 @@ # Contributor: Asher256 <achrafcherti at gmail dot com> pkgname=desmume -pkgver=0.9.9 -pkgrel=2 +pkgver=0.9.10 +pkgrel=1 pkgdesc="Nintendo DS emulator" arch=('i686' 'x86_64') url="http://desmume.org/" @@ -22,11 +22,15 @@ 'soundtouch' 'alsa-lib' 'zziplib' 'glu') makedepends=('intltool' 'mesa') install=desmume.install -source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz") +source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.tar" + "glx_3Demu.patch") build() { cd "$srcdir/$pkgname-$pkgver" + # http://sourceforge.net/p/desmume/code/4907/ + patch -Np2 < "$srcdir"/glx_3Demu.patch + # See https://bugs.archlinux.org/task/35086 and # https://sourceforge.net/tracker/?func=detail&aid=3612768&group_id=164579&atid=832291 sed -i 's/@GETTEXT_PACKAGE@/desmume/' po/Makefile.in.in @@ -41,4 +45,5 @@ make DESTDIR="$pkgdir/" install } -md5sums=('458b5f8b3dbb38a47e6d0518f97aa82a') +md5sums=('a6aedfe5d6437d481aa9ac5fb5aebbea' + '352ea0ffa109f68da2fb79f30d2c85e2') Added: glx_3Demu.patch =================================================================== --- glx_3Demu.patch (rev 0) +++ glx_3Demu.patch 2013-11-29 07:04:07 UTC (rev 101609) @@ -0,0 +1,25 @@ +--- src/desmume-0.9.10/src/gtk/glx_3Demu.cpp 2013-11-28 01:36:53.712615822 +0100 ++++ glx_3Demu.cpp 2013-11-28 22:08:52.762390897 +0100 +@@ -41,11 +41,7 @@ + glXDestroyContext(dpy, ctx); + + XCloseDisplay(dpy); +- +- return true; + } +- +- return false; + } + + int init_glx_3Demu(void) +--- src/desmume-0.9.10/src/gtk/glx_3Demu.cpp 2013-11-28 01:36:53.712615822 +0100 ++++ glx_3Demu.cpp 2013-11-28 22:14:34.529740137 +0100 +@@ -31,7 +31,7 @@ + static GLXContext ctx; + static GLXPbuffer pbuf; + +-void deinit_glx_3Demu(void) ++int deinit_glx_3Demu(void) + { + Display *dpy = glXGetCurrentDisplay(); +