From a6f4c6166b88c0777b941e69f0378fdead65b648 Mon Sep 17 00:00:00 2001 From: Morgan Thomas Date: Tue, 4 May 2021 08:41:33 -0700 Subject: [PATCH] libmicrohttpd: update to 0.9.73. This update breaks some C++ implementations (see [1] and 05ed2cb76ba90544e9910e5dbbcabd19d97a1a99). All packages that depend on libmicrohttpd have been checked; all but two (psensor and retroshare) build against libmicrohttpd >= 0.9.71 by now, and those two are easy enough to patch. The relevant change is just switching some API return types from `int` to an enum with the same values, so there isn't any concern about ABI compatibility with the change (and in fact it's only a warning on a C compiler). [1] https://github.com/kismetwireless/kismet/issues/281 --- common/shlibs | 2 +- srcpkgs/libmicrohttpd/template | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/common/shlibs b/common/shlibs index 7cfb4f583c9..193192c7766 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1329,7 +1329,7 @@ libunwind-aarch64.so.8 libunwind-1.5.0_3 libunwind-ppc32.so.8 libunwind-1.5.0_3 libunwind-ppc64.so.8 libunwind-1.5.0_3 libunwind-setjmp.so.0 libunwind-1.5.0_3 -libmicrohttpd.so.12 libmicrohttpd-0.9.48_1 +libmicrohttpd.so.12 libmicrohttpd-0.9.73_1 libmicrodns.so.1 libmicrodns-0.2.0_1 libgit2.so.1.0 libgit2-1.0.1_3 libgit2-glib-1.0.so.0 libgit2-glib-0.23.4_1 diff --git a/srcpkgs/libmicrohttpd/template b/srcpkgs/libmicrohttpd/template index fa988788d76..f6f1e0824fc 100644 --- a/srcpkgs/libmicrohttpd/template +++ b/srcpkgs/libmicrohttpd/template @@ -1,8 +1,7 @@ # Template file for 'libmicrohttpd' pkgname=libmicrohttpd -version=0.9.70 -reverts="0.9.71_1" -revision=2 +version=0.9.73 +revision=1 build_style=gnu-configure makedepends="libgcrypt-devel gnutls-devel libcurl-devel" short_desc="Library embedding HTTP server functionality" @@ -10,7 +9,7 @@ maintainer="Orphaned " license="LGPL-2.1-or-later" homepage="https://www.gnu.org/software/libmicrohttpd/" distfiles="${GNU_SITE}/libmicrohttpd/${pkgname}-${version}.tar.gz" -checksum=90d0a3d396f96f9bc41eb0f7e8187796049285fabef82604acd4879590977307 +checksum=a37b2f1b88fd1bfe74109586be463a434d34e773530fc2a74364cfcf734c032e LDFLAGS=" -lgnutls"