pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/libmicrohttpd Add upstream patch to fix build on m...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8774395a09f7
branches:  trunk
changeset: 356187:8774395a09f7
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Dec 21 10:31:42 2016 +0000

description:
Add upstream patch to fix build on macOS and Solaris.

diffstat:

 www/libmicrohttpd/distinfo                                |   3 +-
 www/libmicrohttpd/patches/patch-src_microhttpd_mhd__itc.c |  19 +++++++++++++++
 2 files changed, 21 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 0b270f6883aa -r 8774395a09f7 www/libmicrohttpd/distinfo
--- a/www/libmicrohttpd/distinfo        Wed Dec 21 10:07:51 2016 +0000
+++ b/www/libmicrohttpd/distinfo        Wed Dec 21 10:31:42 2016 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.20 2016/10/19 19:54:10 wiz Exp $
+$NetBSD: distinfo,v 1.21 2016/12/21 10:31:42 wiz Exp $
 
 SHA1 (libmicrohttpd-0.9.52.tar.gz) = 601a6dc06acd130122788a5025d8036886671fac
 RMD160 (libmicrohttpd-0.9.52.tar.gz) = 05e6b8ae1dd44d66533e7b319d50564ab1ba44b8
 SHA512 (libmicrohttpd-0.9.52.tar.gz) = 2cb7fa6ed59ec5f48748cd2aedea8a68629f02ffcf8e86c6d5b57a6622bb5f0ffd7dabfd6c04cc99047ca81eb76efe2a79b34bd6e3de329261a319369232fcf4
 Size (libmicrohttpd-0.9.52.tar.gz) = 1244489 bytes
+SHA1 (patch-src_microhttpd_mhd__itc.c) = 3796709af75978eb15c54355205da118d30b1957
diff -r 0b270f6883aa -r 8774395a09f7 www/libmicrohttpd/patches/patch-src_microhttpd_mhd__itc.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/libmicrohttpd/patches/patch-src_microhttpd_mhd__itc.c Wed Dec 21 10:31:42 2016 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-src_microhttpd_mhd__itc.c,v 1.1 2016/12/21 10:31:42 wiz Exp $
+
+commit 52e995c0a7741967ab68883a63a8c7e70a4589ee
+Author: Evgeny Grin (Karlson2k) <k2k%narod.ru@localhost>
+Date:   Fri Nov 11 13:24:30 2016 +0300
+
+    mhd_itc.c: fixed typo preventing build on Solaris and other systems.
+
+--- src/microhttpd/mhd_itc.c.orig      2016-10-15 12:37:00.000000000 +0000
++++ src/microhttpd/mhd_itc.c
+@@ -58,7 +58,7 @@ MHD_itc_nonblocking_ (struct MHD_itc_ it
+       return 0;
+ 
+     if ( ((flags | O_NONBLOCK) != flags) &&
+-         (0 != fcntl (pip.fd[i],
++         (0 != fcntl (itc.fd[i],
+                       F_SETFL,
+                       flags | O_NONBLOCK)) )
+       return 0;



Home | Main Index | Thread Index | Old Index