aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-socket/lua-cflags.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-04-06 09:56:32 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-04-06 09:56:32 +0000
commitef41e80032d26ca0f052f9eaec4c995efa06356f (patch)
tree763576dfdf09b36ae148c9754c1ed85be91cf331 /main/lua-socket/lua-cflags.patch
parent1138dee508f2cd1ab1eadd1f67107affc5456902 (diff)
downloadaports-ef41e80032d26ca0f052f9eaec4c995efa06356f.tar.bz2
aports-ef41e80032d26ca0f052f9eaec4c995efa06356f.tar.xz
main/lua-socket: upgrade to git snapshot for lua 5.3 support
Diffstat (limited to 'main/lua-socket/lua-cflags.patch')
-rw-r--r--main/lua-socket/lua-cflags.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/main/lua-socket/lua-cflags.patch b/main/lua-socket/lua-cflags.patch
index eace4258aa..be205f4b04 100644
--- a/main/lua-socket/lua-cflags.patch
+++ b/main/lua-socket/lua-cflags.patch
@@ -1,6 +1,6 @@
---- ./src/makefile.orig 2013-07-09 14:20:08.772827698 +0000
-+++ ./src/makefile 2013-07-09 14:22:46.311231590 +0000
-@@ -142,6 +142,8 @@
+--- src/makefile.orig
++++ ./src/makefile
+@@ -156,6 +156,8 @@
#------
# Compiler and linker settings
# for Linux
@@ -9,12 +9,12 @@
SO_linux=so
O_linux=o
CC_linux=gcc
-@@ -149,7 +151,7 @@
+@@ -163,7 +165,7 @@
-DLUASOCKET_API='__attribute__((visibility("default")))' \
-DUNIX_API='__attribute__((visibility("default")))' \
-DMIME_API='__attribute__((visibility("default")))'
--CFLAGS_linux= -I$(LUAINC) $(DEF) -pedantic -Wall -Wshadow -Wextra \
-+CFLAGS_linux= $(LUA_CFLAGS) -I$(LUAINC) $(DEF) -pedantic -Wall -Wshadow -Wextra \
+-CFLAGS_linux= -I$(LUAINC) $(DEF) -Wall -Wshadow -Wextra \
++CFLAGS_linux= $(LUA_CFLAGS) -I$(LUAINC) $(DEF) -Wall -Wshadow -Wextra \
-Wimplicit -O2 -ggdb3 -fpic -fvisibility=hidden
LDFLAGS_linux=-O -shared -fpic -o
LD_linux=gcc