Skip to contentSkip to conversation

package/libuhttpd: bump version to 3.4.2

PATCH New Jianhui Zhao 2 participants 2 messages Oct 28, 2020 – Oct 31, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libuhttpd: bump version to 3.4.2

fix compile fail on riscv64

---
 ...rc-uhttpd.c-fix-build-without-dlopen.patch | 35 -------------------
 package/libuhttpd/libuhttpd.hash              |  2 +-
 package/libuhttpd/libuhttpd.mk                |  2 +-
 3 files changed, 2 insertions(+), 37 deletions(-)
 delete mode 100644 package/libuhttpd/0001-src-uhttpd.c-fix-build-without-dlopen.patch
package/libuhttpd/0001-src-uhttpd.c-fix-build-without-dlopen.patch deleted +0 -35
deleted file mode 100644
index 966041028b..0000000000
@@ -1,35 +0,0 @@
-From 0b2058e7c96a3d8d994d572116ad7b950766347b Mon Sep 17 00:00:00 2001
-From: Fabrice Fontaine <[email protected]>
-Date: Fri, 16 Oct 2020 21:39:47 +0200
-Subject: [PATCH] src/uhttpd.c: fix build without dlopen
-
-Build without dlopen fails on:
-
-/data/buildroot-test/instance-0/output-1/build/libuhttpd-3.4.0/src/uhttpd.c:45:23: error: unused variable 'p' [-Werror=unused-variable]
-     struct uh_plugin *p = srv->plugins;
-                       ^
-
-Fixes:
- - http://autobuild.buildroot.org/results/b2bbd0681705b94e6b531996b39f62e47f089c92
-
-Signed-off-by: Fabrice Fontaine <[email protected]>
-[Retrieved from:
-https://github.com/zhaojh329/libuhttpd/commit/0b2058e7c96a3d8d994d572116ad7b950766347b]
----
- src/uhttpd.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/src/uhttpd.c b/src/uhttpd.c
-index dad3646..a37c136 100644
---- a/src/uhttpd.c
-+++ b/src/uhttpd.c
-@@ -42,7 +42,9 @@ void conn_free(struct uh_connection *conn);
- static void uh_server_free(struct uh_server *srv)
- {
-     struct uh_connection *conn = srv->conns;
-+#ifdef HAVE_DLOPEN
-     struct uh_plugin *p = srv->plugins;
-+#endif
- 
-     ev_io_stop(srv->loop, &srv->ior);
- 
package/libuhttpd/libuhttpd.hash +1 -1
index bcded4a983..0e2d125fe0 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  c77a404e2a666dda6c731cee977cfa8c2aa433e167222cbd28dd0c91a5c80570  libuhttpd-3.4.0.tar.gz
+sha256  a7650915f4444c84ad7ea813fcff44ae03eaf0c4cddfd2de4dcbf5ce9083874f  libuhttpd-3.4.2.tar.gz
 sha256  99efed4bbc0b62f96f999ef23399e38234fb91651af734fd389a52b033a85b55  LICENSE
package/libuhttpd/libuhttpd.mk +1 -1
index 71e7754bab..fe8621c803 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBUHTTPD_VERSION = 3.4.0
+LIBUHTTPD_VERSION = 3.4.2
 LIBUHTTPD_SITE = https://github.com/zhaojh329/libuhttpd/releases/download/v$(LIBUHTTPD_VERSION)
 LIBUHTTPD_LICENSE = MIT
 LIBUHTTPD_LICENSE_FILES = LICENSE
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 package/libuhttpd: bump version to 3.4.2

Quoted 9 lines · On Wed, 28 Oct 2020 21:23:38 +0800 Jianhui Zhao <[email protected]> wrote:

fix compile fail on riscv64

---
 ...rc-uhttpd.c-fix-build-without-dlopen.patch | 35 -------------------
 package/libuhttpd/libuhttpd.hash              |  2 +-
 package/libuhttpd/libuhttpd.mk                |  2 +-
 3 files changed, 2 insertions(+), 37 deletions(-)
 delete mode 100644 package/libuhttpd/0001-src-uhttpd.c-fix-build-without-dlopen.patch

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com