aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-ossl/fix-lua5.3.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-04-06 07:33:47 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-04-06 09:32:47 +0000
commitea40eaf6a11afe897fbaca158a1800b410786d4c (patch)
tree5a72e1ce5af2c35ef9c4af9a92414a676bcac2d4 /main/lua-ossl/fix-lua5.3.patch
parentcd165a7ef8ff03c240971270d79e823fea711c2c (diff)
downloadaports-ea40eaf6a11afe897fbaca158a1800b410786d4c.tar.bz2
aports-ea40eaf6a11afe897fbaca158a1800b410786d4c.tar.xz
main/lua-ossl: add lua5.3 and use install_if
Diffstat (limited to 'main/lua-ossl/fix-lua5.3.patch')
-rw-r--r--main/lua-ossl/fix-lua5.3.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/main/lua-ossl/fix-lua5.3.patch b/main/lua-ossl/fix-lua5.3.patch
new file mode 100644
index 0000000000..79e3376e47
--- /dev/null
+++ b/main/lua-ossl/fix-lua5.3.patch
@@ -0,0 +1,22 @@
+From ec65507f2ac00a1ad017363a3567ab3e39a6f5cb Mon Sep 17 00:00:00 2001
+From: william <william@25thandclement.com>
+Date: Wed, 25 Feb 2015 12:45:41 -0800
+Subject: [PATCH] add des to build and fix Lua 5.3 build
+
+---
+ src/GNUmakefile | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/src/GNUmakefile b/src/GNUmakefile
+index 1b77d43..74a19fe 100644
+--- a/src/GNUmakefile
++++ b/src/GNUmakefile
+@@ -20,7 +20,7 @@ OS_$(d) = $(shell $(d)/../mk/vendor.os)
+ CC_$(d) = $(shell env CC="$(CC) "$(d)/../mk/vendor.cc)
+ LUAPATH_$(d) = $(shell env CC="$(CC)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" $(<D)/../mk/lua.path -krxm3 -I$(DESTDIR)$(includedir) -I/usr/include -I/usr/local/include -P$(DESTDIR)$(bindir) -P$(bindir) -L$(DESTDIR)$(libdir) -L$(libdir) -v$(1) $(2))
+
+-CPPFLAGS_$(d) = $(CPPFLAGS_$(abspath $(@D)/../..)) -DLUA_COMPAT_APIUNSIGNED
++CPPFLAGS_$(d) = $(CPPFLAGS_$(abspath $(@D)/../..)) -DLUA_COMPAT_APIINTCASTS
+ CFLAGS_$(d) = $(CFLAGS_$(abspath $(@D)/../..))
+ LDFLAGS_$(d) = $(LDFLAGS_$(abspath $(@D)/../..))
+ SOFLAGS_$(d) = $(SOFLAGS_$(abspath $(@D)/../..))