summaryrefslogtreecommitdiff
path: root/dev-lua/luvit/files/luvit-0.7.0-unbundle-http-parser.patch
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-04-22 08:05:41 +0200
committerMichał Górny <mgorny@gentoo.org>2019-04-22 08:05:41 +0200
commit74b71f10c869c3c2ed52e4a5c1ee578869305e5b (patch)
tree59e277a1fd47ecc94baa7d8925deea523a2fa825 /dev-lua/luvit/files/luvit-0.7.0-unbundle-http-parser.patch
parentd68b93e49592b9a879f4316de6a7102bf4e071ba (diff)
downloadgentoo-74b71f10c869c3c2ed52e4a5c1ee578869305e5b.tar.gz
gentoo-74b71f10c869c3c2ed52e4a5c1ee578869305e5b.tar.bz2
gentoo-74b71f10c869c3c2ed52e4a5c1ee578869305e5b.zip
dev-lua/luvit: Remove last-rited pkg
Closes: https://bugs.gentoo.org/469194 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-lua/luvit/files/luvit-0.7.0-unbundle-http-parser.patch')
-rw-r--r--dev-lua/luvit/files/luvit-0.7.0-unbundle-http-parser.patch54
1 files changed, 0 insertions, 54 deletions
diff --git a/dev-lua/luvit/files/luvit-0.7.0-unbundle-http-parser.patch b/dev-lua/luvit/files/luvit-0.7.0-unbundle-http-parser.patch
deleted file mode 100644
index d9ae8568c140..000000000000
--- a/dev-lua/luvit/files/luvit-0.7.0-unbundle-http-parser.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-commit b34b7b0474878d1951637b762c68694c16c1c574
-Author: hasufell <hasufell@gentoo.org>
-Date: Sun Jun 30 22:37:10 2013 +0200
-
- unbundle http-parser
-
-diff --git a/Makefile b/Makefile
-index a0e9277..99535ca 100644
---- a/Makefile
-+++ b/Makefile
-@@ -40,6 +40,7 @@ USE_SYSTEM_SSL?=0
- USE_SYSTEM_LUAJIT?=0
- USE_SYSTEM_ZLIB?=0
- USE_SYSTEM_YAJL?=0
-+USE_SYSTEM_HTTPPARSER?=0
-
- DEBUG ?= 1
- ifeq (${DEBUG},1)
-@@ -95,6 +96,10 @@ endif
- LIBS += ${UVDIR}/libuv.a
- LIBS += ${CARESDIR}/libcares.a
-
-+ifeq (${USE_SYSTEM_HTTPPARSER},1)
-+LIBS += -lhttp_parser
-+endif
-+
- ifeq (${USE_SYSTEM_LUAJIT},1)
- CPPFLAGS+=$(shell pkg-config --cflags luajit)
- LIBS+=$(shell pkg-config --libs luajit)
-@@ -174,8 +179,11 @@ LUVLIBS=${BUILDDIR}/utils.o \
- ${BUILDDIR}/lhttp_parser.o
-
- DEPS= ${UVDIR}/libuv.a \
-- ${CARESDIR}/libcares.a \
-- ${HTTPDIR}/http_parser.o
-+ ${CARESDIR}/libcares.a
-+
-+ifeq (${USE_SYSTEM_HTTPPARSER},0)
-+DEPS += ${HTTPDIR}/http_parser.o
-+endif
-
- ifeq (${USE_SYSTEM_LUAJIT},0)
- DEPS+=${LUADIR}/src/libluajit.a
-@@ -290,8 +298,10 @@ install: all
- install ${BUILDDIR}/luvit ${BINDIR}/luvit
- mkdir -p ${LIBDIR}
- cp lib/luvit/*.lua ${LIBDIR}
-+ifeq (${USE_SYSTEM_HTTPPARSER},0)
- mkdir -p ${INCDIR}/http_parser
- cp ${HTTPDIR}/http_parser.h ${INCDIR}/http_parser/
-+endif
- mkdir -p ${INCDIR}/uv
- cp -r ${UVDIR}/include/* ${INCDIR}/uv/
- cp src/*.h ${INCDIR}/