aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lua5.2-socket/unix.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-07-09 14:24:19 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-07-09 14:24:19 +0000
commit2071623ebaa60880b38e9abf7fc1ffa431b7087a (patch)
treef28167c599ad5b1c673dce3c25a87b2c7dea51a2 /testing/lua5.2-socket/unix.patch
parent44235a5fb40f3d9a036f9116ff2d85dca2dddfc5 (diff)
downloadaports-2071623ebaa60880b38e9abf7fc1ffa431b7087a.tar.bz2
aports-2071623ebaa60880b38e9abf7fc1ffa431b7087a.tar.xz
testing/lua5.2-socket: new aport
Luasocket is the most comprehensive networking support library for the Lua language. http://luaforge.net/projects/luasocket/
Diffstat (limited to 'testing/lua5.2-socket/unix.patch')
-rw-r--r--testing/lua5.2-socket/unix.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/lua5.2-socket/unix.patch b/testing/lua5.2-socket/unix.patch
new file mode 100644
index 0000000000..3de1238469
--- /dev/null
+++ b/testing/lua5.2-socket/unix.patch
@@ -0,0 +1,25 @@
+diff --git a/makefile b/makefile
+index 6d70039..a46617a 100644
+--- a/makefile
++++ b/makefile
+@@ -41,6 +41,7 @@ install: all
+ cd src; $(INSTALL_DATA) $(TO_SOCKET_SHARE) $(INSTALL_SOCKET_SHARE)
+ cd src; mkdir -p $(INSTALL_SOCKET_LIB)
+ cd src; $(INSTALL_EXEC) $(SOCKET_SO) $(INSTALL_SOCKET_LIB)/core.$(EXT)
++ cd src; $(INSTALL_EXEC) $(UNIX_SO) $(INSTALL_SOCKET_LIB)/unix.$(EXT)
+ #cd src; mkdir -p $(INSTALL_MIME_SHARE)
+ #cd src; $(INSTALL_DATA) $(TO_MIME_SHARE) $(INSTALL_MIME_SHARE)
+ cd src; mkdir -p $(INSTALL_MIME_LIB)
+diff --git a/src/makefile b/src/makefile
+index b614f77..9a61fb6 100644
+--- a/src/makefile
++++ b/src/makefile
+@@ -47,7 +47,7 @@ UNIX_OBJS:=\
+ usocket.o \
+ unix.o
+
+-all: $(SOCKET_SO) $(MIME_SO)
++all: $(SOCKET_SO) $(MIME_SO) $(UNIX_SO)
+
+ $(SOCKET_SO): $(SOCKET_OBJS)
+ $(LD) $(LDFLAGS) -o $@ $(SOCKET_OBJS)