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
This commit is contained in:
Morgan Thomas 2021-05-04 08:41:33 -07:00 committed by Érico Nogueira
parent 9b62ece48c
commit a6f4c6166b
2 changed files with 4 additions and 5 deletions

View File

@ -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

View File

@ -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 <orphan@voidlinux.org>"
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"