summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/lua-expat/32bit.patch11
-rw-r--r--user/lua-expat/APKBUILD8
2 files changed, 16 insertions, 3 deletions
diff --git a/user/lua-expat/32bit.patch b/user/lua-expat/32bit.patch
new file mode 100644
index 000000000..5a09710e1
--- /dev/null
+++ b/user/lua-expat/32bit.patch
@@ -0,0 +1,11 @@
+--- luaexpat-1.3.3/makefile.old 2018-11-27 11:31:28.000000000 +0000
++++ luaexpat-1.3.3/makefile 2020-01-24 06:06:47.843102618 +0000
+@@ -36,7 +36,7 @@
+ -Wpointer-arith \
+ -Wshadow \
+ -Wwrite-strings \
+- -DLUA_C89_NUMBERS
++ -Wno-long-long
+
+ CFLAGS = -fPIC -std=gnu99 $(CWARNS) -ansi -O2 -I$(LUA_INC) -I$(EXPAT_INC)
+ CC = gcc
diff --git a/user/lua-expat/APKBUILD b/user/lua-expat/APKBUILD
index 452404157..704f89173 100644
--- a/user/lua-expat/APKBUILD
+++ b/user/lua-expat/APKBUILD
@@ -2,7 +2,6 @@
# Contribtor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=lua-expat
-_name=expat
pkgver=1.3.3
pkgrel=0
pkgdesc="SAX XML parser based on the Expat library"
@@ -11,7 +10,9 @@ arch="all"
license="MIT"
depends="lua5.3"
makedepends="lua5.3-dev expat-dev"
-source="$pkgname-$pkgver.tar.gz::https://github.com/tomasguisasola/luaexpat/archive/v1.3.3.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://github.com/tomasguisasola/luaexpat/archive/v1.3.3.tar.gz
+ 32bit.patch
+ "
builddir="$srcdir/luaexpat-$pkgver"
build() {
@@ -29,4 +30,5 @@ package() {
LUA_V=5.3 DESTDIR="$pkgdir" install
}
-sha512sums="aa3f730c64cae3791fc1125302178ec2398d2380e8ec0e65ca4b29f532f181f149baaf555bf687e502b28726d3fd0baafd4f73cf26f04f625d18bbaddb043d63 lua-expat-1.3.3.tar.gz"
+sha512sums="aa3f730c64cae3791fc1125302178ec2398d2380e8ec0e65ca4b29f532f181f149baaf555bf687e502b28726d3fd0baafd4f73cf26f04f625d18bbaddb043d63 lua-expat-1.3.3.tar.gz
+ac5b05991dfe36bcc0c9ff7570110dbb1face387c0b65e4735b99cedaff5e29311a919b5e8ce6dae2ac674eadd2fa0bea6ec547754071d325dcce6460eeef36e 32bit.patch"