summaryrefslogtreecommitdiffstats
path: root/testing/lua5.2-socket/unix.patch
diff options
context:
space:
mode:
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 000000000..3de123846
--- /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)