[arch-commits] Commit in dosbox/trunk (PKGBUILD)

Jaroslav Lichtblau jlichtblau at archlinux.org
Sun Jun 2 18:12:11 UTC 2019


    Date: Sunday, June 2, 2019 @ 18:12:11
  Author: jlichtblau
Revision: 476636

upgpkg: dosbox 0.74.2-2
fix for Linux users who have problems locking the mouse in windowed mode after upgrading X.org to 1.20

Modified:
  dosbox/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-02 18:08:25 UTC (rev 476635)
+++ PKGBUILD	2019-06-02 18:12:11 UTC (rev 476636)
@@ -5,17 +5,19 @@
 
 pkgname=dosbox
 pkgver=0.74.2
-pkgrel=1
+pkgrel=2
 pkgdesc='Emulator with builtin DOS for running DOS Games'
 arch=('x86_64')
 url='http://dosbox.sourceforge.net/'
 license=('GPL')
 depends=('sdl_net' 'zlib' 'sdl_sound' 'libgl' 'libpng' 'alsa-lib' 'gcc-libs' 'glu')
-makedepends=('mesa-libgl' 'gendesk')
+makedepends=('mesa-libgl' 'gendesk' 'patch')
 source=(https://downloads.sourceforge.net/$pkgname/$pkgname-0.74-2.tar.gz
-        dosbox.png)
+        dosbox.png
+        https://www.dosbox.com/downloads/74-2-events.diff)
 sha256sums=('7077303595bedd7cd0bb94227fa9a6b5609e7c90a3e6523af11bc4afcb0a57cf'
-            '491c42d16fc5ef7ee2eca1b736f7801249d4ca8c0b236a001aec0d3e24504f3b')
+            '491c42d16fc5ef7ee2eca1b736f7801249d4ca8c0b236a001aec0d3e24504f3b'
+            '3711347e702c9c1a0cc818aeb150727be29c03b773f1912ad5511f00bbefb24b')
 
 prepare() {
   cd "${srcdir}"
@@ -23,6 +25,9 @@
 
   cd "${srcdir}/$pkgname-0.74-2"
   sed -i 's/png_check_sig/png_sig_cmp/' configure
+
+# workaround for Linux users who have problems locking the mouse in windowed mode after upgrading X.org to 1.20
+  patch -Np0 -i "${srcdir}"/74-2-events.diff
 }
 
 build() {



More information about the arch-commits mailing list