From 426dd60a4d2d3f1e7936342476163235de5290ff Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Mon, 3 Feb 2020 18:18:06 -0800 Subject: [PATCH] ttyd: fix compilation without deprecated OpenSSL APIs Removed CMAKE_INSTALL as there's no need for InstallDev. Added PKG_BUILD_PARALLEL for faster compilation. Small cleanups. Signed-off-by: Rosen Penev --- utils/ttyd/Makefile | 6 +++--- utils/ttyd/patches/200-openssl.patch | 9 +++++++++ 2 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 utils/ttyd/patches/200-openssl.patch diff --git a/utils/ttyd/Makefile b/utils/ttyd/Makefile index 3d4f58233..a9419cff2 100644 --- a/utils/ttyd/Makefile +++ b/utils/ttyd/Makefile @@ -9,18 +9,18 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ttyd PKG_VERSION:=1.5.2 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/tsl0922/ttyd/tar.gz/$(PKG_VERSION)? PKG_HASH:=b5b62ec2ce08add0173e6d1dfdd879e55f02f9490043e89f389981a62e87d376 +PKG_MAINTAINER:=Shuanglei Tao PKG_LICENSE:=MIT PKG_LICENSE_FILES:=LICENSE -PKG_MAINTAINER:=Shuanglei Tao +PKG_BUILD_PARALLEL:=1 PKG_BUILD_DEPENDS:=vim/host -CMAKE_INSTALL:=1 include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/cmake.mk diff --git a/utils/ttyd/patches/200-openssl.patch b/utils/ttyd/patches/200-openssl.patch new file mode 100644 index 000000000..f64f38ab9 --- /dev/null +++ b/utils/ttyd/patches/200-openssl.patch @@ -0,0 +1,9 @@ +--- a/src/http.c ++++ b/src/http.c +@@ -1,5 +1,6 @@ + #include + #include ++#include + + #include "server.h" + #include "html.h"