summaryrefslogtreecommitdiff
path: root/user/lua-socket/lua-cflags.patch
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2023-03-25 17:34:30 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2023-03-31 05:35:55 +0000
commit822e8620d40597a3388f75fc098712903400128a (patch)
tree0b68f28c87944a6b3903942f80bfb8c0a5294377 /user/lua-socket/lua-cflags.patch
parent3180eb62adf79aeede642e0f94e2307c14f27f1a (diff)
downloadpackages-822e8620d40597a3388f75fc098712903400128a.tar.gz
packages-822e8620d40597a3388f75fc098712903400128a.tar.bz2
packages-822e8620d40597a3388f75fc098712903400128a.tar.xz
packages-822e8620d40597a3388f75fc098712903400128a.zip
user/lua-socket: upgrade to 3.1.0
Diffstat (limited to 'user/lua-socket/lua-cflags.patch')
-rw-r--r--user/lua-socket/lua-cflags.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/user/lua-socket/lua-cflags.patch b/user/lua-socket/lua-cflags.patch
deleted file mode 100644
index c1da89644..000000000
--- a/user/lua-socket/lua-cflags.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff --git a/src/makefile b/src/makefile
-index adf687f..c2abddc 100644
---- a/src/makefile
-+++ b/src/makefile
-@@ -160,6 +160,8 @@ SOCKET_macosx=usocket.o
- #------
- # Compiler and linker settings
- # for Linux
-+LUAPC=lua
-+LUA_CFLAGS=$(shell pkg-config --cflags $(LUAPC))
- SO_linux=so
- O_linux=o
- CC_linux=gcc
-@@ -167,7 +169,7 @@ DEF_linux=-DLUASOCKET_$(DEBUG) \
- -DLUASOCKET_API='__attribute__((visibility("default")))' \
- -DUNIX_API='__attribute__((visibility("default")))' \
- -DMIME_API='__attribute__((visibility("default")))'
--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