summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Bezies2023-05-07 12:52:53 +0200
committerFrederic Bezies2023-05-07 12:52:53 +0200
commit7f68e4715f6eaea3fd4425e5e6272167b4f3e1cf (patch)
tree7f77fab5ec8a2e5979fb5474d2c57b8e1cafc6bf
parent52cfee48e9e44d7ebedfb70fc519760b286a51be (diff)
downloadaur-7f68e4715f6eaea3fd4425e5e6272167b4f3e1cf.tar.gz
May 7th, 2023 update
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD9
2 files changed, 9 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0fcfe4324ad8..2026a0f04ebd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = dosbox-x-sdl2-git
pkgdesc = x86 emulator with builtin DOS, with patches with more features - sdl2 git version
- pkgver = 2023.05.01.r24.gc25eee850
+ pkgver = 2023.05.01.r55.gac3c072d5
pkgrel = 1
epoch = 3
url = https://dosbox-x.com/
diff --git a/PKGBUILD b/PKGBUILD
index e85b9869beda..2bec4ce86f49 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Mantainer: Franco Tortoriello
pkgname=dosbox-x-sdl2-git
-pkgver=2023.05.01.r24.gc25eee850
+pkgver=2023.05.01.r55.gac3c072d5
pkgrel=1
epoch=3
pkgdesc="x86 emulator with builtin DOS, with patches with more features - sdl2 git version"
@@ -22,6 +22,13 @@ pkgver() {
build() {
cd "$srcdir/dosbox-x"
+
+ # Workaround for bug: https://github.com/joncampbell123/dosbox-x/issues/4237
+ CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \
+ -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Wno-error=format-security \
+ -fstack-clash-protection -fcf-protection"
+ CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
+
./autogen.sh
./configure --enable-debug --enable-avcodec --prefix=/usr --enable-sdl2
make -j$(nproc)