summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAdrian Perez de Castro2020-07-30 23:05:30 +0300
committerAdrian Perez de Castro2020-07-30 23:05:30 +0300
commita00b6243693cdbb07efbff3aada9c3025737e023 (patch)
treee1ddee758f6d5a67f40aac92347cd13b309df391 /PKGBUILD
parentd86475c6618f3f71960bda69dacbf8f1ae9b913d (diff)
downloadaur-fmsx.tar.gz
Bump to versio 5.7, fix build with GCC 10
GCC 10 has made -fno-common the default, but the fMSX souce code uses common symbols, therefore we need to pass -fcommon to the compiler explicitly to avoid linker errors.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 10 insertions, 10 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 82d1c5e02f9..9416a96952d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,14 @@
# Maintainer: Adrián Pérez de Castro <adrian@perezdecastro.org>
pkgdesc='Portable MSX/MSX2/MSX2+ emulator'
pkgname=fmsx
-pkgver=5.4
-pkgrel=2
+pkgver=5.7
+pkgrel=1
_dlname="fMSX${pkgver//./}"
-url='http://fms.komkon.org/fMSX'
-license=('custom')
-arch=('i686' 'x86_64')
-depends=('libxext' 'bash' 'zlib' 'pulseaudio')
-makedepends=('sed')
+url=http://fms.komkon.org/fMSX
+license=(custom)
+arch=(i686 x86_64)
+depends=(libxext bash zlib pulseaudio)
+makedepends=(sed)
source=(fmsx.sh
"${url}/${_dlname}.zip"
"${url}/src/CMOS.ROM"
@@ -24,7 +24,7 @@ source=(fmsx.sh
"${url}/src/KANJI.ROM"
"https://github.com/libretro/fmsx-libretro/raw/master/fMSX/ROMs/RS232.ROM")
sha512sums=('1c7b7485525e5798cde0fa4e82153f294ce88c358d4c0366a6266f837b2b3e5ce8540b0f5daf1d67b11e1afcf82912df8379e3a0cbe93854f0d86cb7d54d7d36'
- '8bc84c36e65d312357ce0ea750f1989be46ace3db51b0387167f2ed021a4a986eb7d97e8a866a9b73ba62ff4096116bfa1af01bccdfa8b120a31b6b156e9efec'
+ 'e836fffe9692cc8d17716d78c97d558efc7eab2c8bc07dcf91426582b43bee08065689c02c085bad2b25b1184ac7eae04d643d9c78740e463ef3eb88fe7ca656'
'617bee88a0088c25928e4b906bf7acc8ffa1847e3f7dc006117f579ad3c760e33a43d30f5b9b41ada20689c8f2f65ce5bd95a3de9662153d3deb615bff13163b'
'f8a447906272f69cd545ed439623845cacee4ee98b8ed3fae264a26e35ef006b125b51a2c4e54e8371d53cffe730dac720b2a8d0eccdad0c3c7befdc31864f6c'
'dc95ef9c17a28319d815780cae359b8a88b3edd5c5d582a16a916e256eb90d79b02f3240b91d2048e9d750239051473f924b807ae2583a65695fb1e18e317a54'
@@ -50,8 +50,8 @@ prepare () {
build () {
cd "${srcdir}"
cat > config.mk <<-EOF
- CFLAGS += ${CFLAGS} $(pkg-config libpulse-simple --cflags)
- LIBS += ${LDFLAGS} $(pkg-config libpulse-simple --libs)
+ CFLAGS += ${CFLAGS} -fcommon
+ LIBS += ${LDFLAGS} -fcommon
EOF
make -C fMSX/Unix
}