summaryrefslogtreecommitdiff
path: root/user/lua-expat/32bit.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-24 06:07:41 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-24 06:07:41 +0000
commit4a699fe5f95c969c9a237a277cf9879e45540dc9 (patch)
tree1eadb0a52cae3a585337cfbfdf778ff69170b2cf /user/lua-expat/32bit.patch
parent7ee0ba327c20c9c54cc94cf67685de701db3a172 (diff)
downloadpackages-4a699fe5f95c969c9a237a277cf9879e45540dc9.tar.gz
packages-4a699fe5f95c969c9a237a277cf9879e45540dc9.tar.bz2
packages-4a699fe5f95c969c9a237a277cf9879e45540dc9.tar.xz
packages-4a699fe5f95c969c9a237a277cf9879e45540dc9.zip
user/lua-expat: Fix build on 32-bit architectures
Diffstat (limited to 'user/lua-expat/32bit.patch')
-rw-r--r--user/lua-expat/32bit.patch11
1 files changed, 11 insertions, 0 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