tang: update to 10 15743/head
authorRosen Penev <rosenp@gmail.com>
Wed, 2 Jun 2021 01:43:02 +0000 (18:43 -0700)
committerRosen Penev <rosenp@gmail.com>
Thu, 3 Jun 2021 03:21:40 +0000 (20:21 -0700)
Signed-off-by: Rosen Penev <rosenp@gmail.com>
utils/tang/Makefile
utils/tang/patches/010-http.patch [new file with mode: 0644]

index be0a796a6ef1ec8074f0146ca99caf36764a3e2d..e2a1c6ba17e7a25d15ab0925b46540acd137c6aa 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=tang
-PKG_VERSION:=8
-PKG_RELEASE:=1
+PKG_VERSION:=10
+PKG_RELEASE:=$(AUTORELEASE)
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=https://github.com/latchset/$(PKG_NAME)/releases/download/v$(PKG_VERSION)/
-PKG_HASH:=03958bf27c24aa9892f6138d287d39bcc149e7ad72163c27b529aa3c6b066ede
+PKG_HASH:=082f17e031708ab5e2f88c9b767d228bcf92a0d089fdb164d4ae93845cbd2a48
 
 PKG_MAINTAINER:=Tibor Dudlák <tibor.dudlak@gmail.com>
 PKG_LICENSE:=GPL-3.0-or-later
diff --git a/utils/tang/patches/010-http.patch b/utils/tang/patches/010-http.patch
new file mode 100644 (file)
index 0000000..12ca666
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/meson.build
++++ b/meson.build
+@@ -54,7 +54,7 @@ compiler = meson.get_compiler('c')
+ if not compiler.has_header('http_parser.h',args : '-I/usr/local/include')
+   error('http-parser devel files not found.')
+ endif
+-http_parser = compiler.find_library('http_parser',dirs:['/usr/lib','/usr/local/lib'])
++http_parser = compiler.find_library('http_parser')
+ licenses = ['COPYING']
+ libexecbins = []