pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/libmicrohttpd



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Dec 21 10:31:42 UTC 2016

Modified Files:
        pkgsrc/www/libmicrohttpd: distinfo
Added Files:
        pkgsrc/www/libmicrohttpd/patches: patch-src_microhttpd_mhd__itc.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/www/libmicrohttpd/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/www/libmicrohttpd/patches/patch-src_microhttpd_mhd__itc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/libmicrohttpd/distinfo
diff -u pkgsrc/www/libmicrohttpd/distinfo:1.20 pkgsrc/www/libmicrohttpd/distinfo:1.21
--- pkgsrc/www/libmicrohttpd/distinfo:1.20      Wed Oct 19 19:54:10 2016
+++ pkgsrc/www/libmicrohttpd/distinfo   Wed Dec 21 10:31:42 2016
@@ -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

Added files:

Index: pkgsrc/www/libmicrohttpd/patches/patch-src_microhttpd_mhd__itc.c
diff -u /dev/null pkgsrc/www/libmicrohttpd/patches/patch-src_microhttpd_mhd__itc.c:1.1
--- /dev/null   Wed Dec 21 10:31:42 2016
+++ pkgsrc/www/libmicrohttpd/patches/patch-src_microhttpd_mhd__itc.c    Wed Dec 21 10:31:42 2016
@@ -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