[143664] trunk/dports/www/lighttpd
ryandesign at macports.org
ryandesign at macports.org
Thu Dec 17 01:22:09 PST 2015
Revision: 143664
https://trac.macports.org/changeset/143664
Author: ryandesign at macports.org
Date: 2015-12-17 01:22:09 -0800 (Thu, 17 Dec 2015)
Log Message:
-----------
lighttpd: update to 1.4.38
Modified Paths:
--------------
trunk/dports/www/lighttpd/Portfile
Added Paths:
-----------
trunk/dports/www/lighttpd/files/0001-core-fix-memset_s-call-fixes-2698.patch
Modified: trunk/dports/www/lighttpd/Portfile
===================================================================
--- trunk/dports/www/lighttpd/Portfile 2015-12-17 09:20:36 UTC (rev 143663)
+++ trunk/dports/www/lighttpd/Portfile 2015-12-17 09:22:09 UTC (rev 143664)
@@ -4,7 +4,7 @@
PortSystem 1.0
name lighttpd
-version 1.4.37
+version 1.4.38
set branch [join [lrange [split ${version} .] 0 1] .]
categories www
platforms darwin
@@ -23,8 +23,8 @@
master_sites http://download.lighttpd.net/lighttpd/releases-${branch}.x/
use_xz yes
-checksums rmd160 60c1bc2065f1b6263f1553fa7a202748a4820df6 \
- sha256 804e6f60567ca1da2b3927f92b7e9332b93aca9560f282ca135b86b7558979bd
+checksums rmd160 b16bca8c9e96a77843b0ce6e83734e0cb4cdf7e8 \
+ sha256 4912568b7befcf3f552ca4668bd7f38cd85f42a22944359d00816ec27eb1e504
depends_build-append port:pkgconfig
@@ -34,6 +34,7 @@
port:zlib
patchfiles patch-conf.diff
+patchfiles-append 0001-core-fix-memset_s-call-fixes-2698.patch
post-patch {
reinplace "s|@PREFIX@|${prefix}|g" \
Added: trunk/dports/www/lighttpd/files/0001-core-fix-memset_s-call-fixes-2698.patch
===================================================================
--- trunk/dports/www/lighttpd/files/0001-core-fix-memset_s-call-fixes-2698.patch (rev 0)
+++ trunk/dports/www/lighttpd/files/0001-core-fix-memset_s-call-fixes-2698.patch 2015-12-17 09:22:09 UTC (rev 143664)
@@ -0,0 +1,25 @@
+From cfef2a35a05a2db3115fc931526a2122c1a3fc68 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Stefan=20B=C3=BChler?= <stbuehler at web.de>
+Date: Sat, 5 Dec 2015 15:20:11 +0100
+Subject: [PATCH] [core] fix memset_s call (fixes #2698)
+
+---
+ src/safe_memclear.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git src/safe_memclear.c src/safe_memclear.c
+index 45747a4..cec39b7 100644
+--- src/safe_memclear.c
++++ src/safe_memclear.c
+@@ -41,7 +41,7 @@ static void* safe_memset(void *s, int c, size_t n)
+
+ void safe_memclear(void *s, size_t n) {
+ #if defined(HAVE_MEMSET_S)
+- memset_s(s, 0, n);
++ memset_s(s, n, 0, n);
+ #elif defined(HAVE_EXPLICIT_BZERO)
+ explicit_bzero(s, n);
+ #else
+--
+2.6.2
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151217/52957136/attachment.html>
More information about the macports-changes
mailing list