pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/libmicrohttpd www/libmicrohttpd: fix build and fun...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6d791bcfa931
branches: trunk
changeset: 415993:6d791bcfa931
user: ng0 <ng0%pkgsrc.org@localhost>
date: Fri Oct 18 08:36:19 2019 +0000
description:
www/libmicrohttpd: fix build and functionality with some systems.
Add a patch from upstream which adds a previously missing return
for systems with TCP_NOPUSH and TCP_CORK.
diffstat:
www/libmicrohttpd/Makefile | 3 +-
www/libmicrohttpd/distinfo | 3 +-
www/libmicrohttpd/patches/patch-src_microhttpd_mhd_sockets.c | 17 ++++++++++++
3 files changed, 21 insertions(+), 2 deletions(-)
diffs (45 lines):
diff -r 3c510671dc53 -r 6d791bcfa931 www/libmicrohttpd/Makefile
--- a/www/libmicrohttpd/Makefile Thu Oct 17 22:08:13 2019 +0000
+++ b/www/libmicrohttpd/Makefile Fri Oct 18 08:36:19 2019 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.46 2019/10/17 17:25:50 ng0 Exp $
+# $NetBSD: Makefile,v 1.47 2019/10/18 08:36:19 ng0 Exp $
DISTNAME= libmicrohttpd-0.9.67
+PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GNU:=libmicrohttpd/}
diff -r 3c510671dc53 -r 6d791bcfa931 www/libmicrohttpd/distinfo
--- a/www/libmicrohttpd/distinfo Thu Oct 17 22:08:13 2019 +0000
+++ b/www/libmicrohttpd/distinfo Fri Oct 18 08:36:19 2019 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.28 2019/10/17 17:25:50 ng0 Exp $
+$NetBSD: distinfo,v 1.29 2019/10/18 08:36:19 ng0 Exp $
SHA1 (libmicrohttpd-0.9.67.tar.gz) = 924a95746b95a5f6e432fc9af1cffc6ec5b070c5
RMD160 (libmicrohttpd-0.9.67.tar.gz) = 9c83da4a10ed09184cf6e7e1aaf0e1d897dbcb7f
SHA512 (libmicrohttpd-0.9.67.tar.gz) = 2a2a11e9a525024dada639b1622cc875bb9b59af266a53e2742d5bf92f544192713c4e1369a573b2e3796d27cf490a9a02ba360ccc91136b4780306769edb7ec
Size (libmicrohttpd-0.9.67.tar.gz) = 1881973 bytes
+SHA1 (patch-src_microhttpd_mhd_sockets.c) = c5f18a031f1af8e05eb809da9d0398c0cee4dea2
diff -r 3c510671dc53 -r 6d791bcfa931 www/libmicrohttpd/patches/patch-src_microhttpd_mhd_sockets.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/libmicrohttpd/patches/patch-src_microhttpd_mhd_sockets.c Fri Oct 18 08:36:19 2019 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_microhttpd_mhd_sockets.c,v 1.1 2019/10/18 08:36:19 ng0 Exp $
+
+pick commit 093c83c2270e18294811f394c9af87a2cb56ea20
+as it adds a missing return on systems which do have
+TCP_CORK or TCP_NOPUSH.
+
+--- src/microhttpd/mhd_sockets.c~
++++ src/microhttpd/mhd_sockets.c
+@@ -530,6 +530,8 @@ MHD_socket_cork_ (MHD_socket sock,
+ return 0; /* even force flush failed!? */
+ return 1; /* success */
+ }
++#else
++ return 1; /* success */
+ #endif
+ #else
+ /* do not have MHD_TCP_CORK_NOPUSH at all */
Home |
Main Index |
Thread Index |
Old Index