From aab2e02110e6a42c933ccaa6322ac539a8f5444a Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Tue, 14 May 2019 12:39:31 -0700 Subject: [PATCH] libevhtp: Add onigiruma.h to install For some reason from 1.1.7 to 1.2.0, oniguruma no longer gets installed by default. Fix that to fix compilation with seafile. Signed-off-by: Rosen Penev --- libs/libevhtp/Makefile | 2 +- libs/libevhtp/patches/040-oniguruma.patch | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 libs/libevhtp/patches/040-oniguruma.patch diff --git a/libs/libevhtp/Makefile b/libs/libevhtp/Makefile index b1470ca77..5c39dc363 100644 --- a/libs/libevhtp/Makefile +++ b/libs/libevhtp/Makefile @@ -12,7 +12,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libevhtp PKG_VERSION:=1.2.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/criticalstack/libevhtp/tar.gz/$(PKG_VERSION)? diff --git a/libs/libevhtp/patches/040-oniguruma.patch b/libs/libevhtp/patches/040-oniguruma.patch new file mode 100644 index 000000000..5d457ab70 --- /dev/null +++ b/libs/libevhtp/patches/040-oniguruma.patch @@ -0,0 +1,7 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -241,3 +241,4 @@ endif() + install (FILES evhtp.h DESTINATION include) + install (FILES htparse/htparse.h DESTINATION include) + install (FILES evthr/evthr.h DESTINATION include) ++install (FILES oniguruma/onigposix.h DESTINATION include)