summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Kobayashi2022-06-08 16:17:27 +0900
committerChristopher Kobayashi2022-06-08 16:17:27 +0900
commitf6a003661e802e2e8e6de65078eccb31804fc092 (patch)
tree4fb3c9dab58b82d101eb691fa734824575d00233
parentc2dd1cde3451d2677b417ce96acd61c209db7946 (diff)
downloadaur-f6a003661e802e2e8e6de65078eccb31804fc092.tar.gz
Make this compile again.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD7
2 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 06b5e94044f3..3c56371ca961 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,12 @@
pkgbase = x48
pkgdesc = An HP 48 x/sx/g/gx Emulator
pkgver = 0.6.4
- pkgrel = 2
+ pkgrel = 3
url = http://sourceforge.net/projects
install = x48.install
arch = i686
arch = x86_64
+ arch = aarch64
license = GPL3
depends = readline
depends = libxext
@@ -20,4 +21,3 @@ pkgbase = x48
md5sums = a08249c9a75d52671045dbb9c35321fa
pkgname = x48
-
diff --git a/PKGBUILD b/PKGBUILD
index 915be9ae8b1d..09103a691b14 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,10 @@
-# Maintainer: Eric Waller <ewwaller+aur@gmail.com>
+# Maintainer: Christopher Kobayashi <software+aur@disavowed.jp>
pkgname=x48
pkgver=0.6.4
-pkgrel=2
+pkgrel=3
pkgdesc="An HP 48 x/sx/g/gx Emulator"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'aarch64')
url="http://sourceforge.net/projects"
license=(GPL3)
depends=(readline libxext)
@@ -30,6 +30,7 @@ build() {
autoconf
./configure --prefix /usr
sed -i '698s/inline/static inline/' src/emulate.c
+ sed -i 's/-Werror=format-security/-Wformat-security/g' Makefile src/Makefile
make
bzcat gxrom.bz2 > gxrom
bzcat sxrom.bz2 > sxrom