Browse Source

libfizz: Update to 2019.10.07.00

Add patch removing boost-thread dependency.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 5 years ago
parent
commit
cc1b52c44a
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
2 changed files with 22 additions and 6 deletions
  1. +11
    -6
      libs/libfizz/Makefile
  2. +11
    -0
      libs/libfizz/patches/010-no-boost-thread.patch

+ 11
- 6
libs/libfizz/Makefile View File

@ -1,14 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libfizz
PKG_VERSION:=2019.09.22.00
PKG_VERSION:=2019.10.07.00
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_VERSION:=0ccff0813dea8d3f730d9c3a1b80e6936522d3f3
PKG_SOURCE_URL:=https://codeload.github.com/facebookincubator/fizz/tar.gz/$(PKG_SOURCE_VERSION)?
PKG_HASH:=32a8de32e7a83e53ad44931ac637f6e17ce7f81bd65bc835f14d59442041e7f6
PKG_BUILD_DIR:=$(BUILD_DIR)/fizz-$(PKG_SOURCE_VERSION)
PKG_SOURCE_URL:=https://codeload.github.com/facebookincubator/fizz/tar.gz/v$(PKG_VERSION)?
PKG_HASH:=acf0184466b518dd58d02dc04211aac1c4504bb3ff6d9e8454af5ac2bc85fa6c
PKG_BUILD_DIR:=$(BUILD_DIR)/fizz-$(PKG_VERSION)
PKG_MAINTAINER:=Amol Bhave <ambhave@fb.com>
PKG_LICENSE:=BSD-3-Clause
@ -36,9 +35,15 @@ define Package/libfizz/description
endef
CMAKE_OPTIONS += \
-DBUILD_EXAMPLES=OFF
-DBUILD_EXAMPLES=OFF \
-DBUILD_SHARED_LIBS=ON
TARGET_CXXFLAGS += -ffunction-sections -fdata-sections -flto
TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed
define Package/libfizz/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libfizz.so* $(1)/usr/lib/
endef
$(eval $(call BuildPackage,libfizz))

+ 11
- 0
libs/libfizz/patches/010-no-boost-thread.patch View File

@ -0,0 +1,11 @@
--- a/fizz/CMakeLists.txt
+++ b/fizz/CMakeLists.txt
@@ -52,7 +52,7 @@ if (NOT folly_FOUND)
find_package(Folly MODULE REQUIRED)
endif()
-find_package(Boost REQUIRED COMPONENTS system thread filesystem regex context
+find_package(Boost REQUIRED COMPONENTS system filesystem regex context
program_options)
find_package(OpenSSL REQUIRED)
find_package(Glog REQUIRED)

Loading…
Cancel
Save