From owner-svn-ports-head@FreeBSD.ORG Wed Sep 11 19:57:08 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4395EE8A; Wed, 11 Sep 2013 19:57:08 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 167BF2405; Wed, 11 Sep 2013 19:57:08 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r8BJv7Er097744; Wed, 11 Sep 2013 19:57:07 GMT (envelope-from madpilot@svn.freebsd.org) Received: (from madpilot@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r8BJv7af097742; Wed, 11 Sep 2013 19:57:07 GMT (envelope-from madpilot@svn.freebsd.org) Message-Id: <201309111957.r8BJv7af097742@svn.freebsd.org> From: Guido Falsi Date: Wed, 11 Sep 2013 19:57:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r327009 - head/www/nostromo/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Sep 2013 19:57:08 -0000 Author: madpilot Date: Wed Sep 11 19:57:07 2013 New Revision: 327009 URL: http://svnweb.freebsd.org/changeset/ports/327009 Log: - Modify clang patch to match upstream PR: ports/181493 Submitted by: Adrian Steinmann (maintainer from different email, as followup) Added: head/www/nostromo/files/patch-src-nhttpd-main (contents, props changed) Modified: head/www/nostromo/files/patch-src-libmy-strb64d.c Modified: head/www/nostromo/files/patch-src-libmy-strb64d.c ============================================================================== --- head/www/nostromo/files/patch-src-libmy-strb64d.c Wed Sep 11 19:47:43 2013 (r327008) +++ head/www/nostromo/files/patch-src-libmy-strb64d.c Wed Sep 11 19:57:07 2013 (r327009) @@ -1,11 +1,19 @@ ---- src/libmy/strb64d.c.orig 2005-06-04 10:30:04.000000000 +0200 -+++ src/libmy/strb64d.c 2013-08-23 19:17:25.700331962 +0200 -@@ -54,7 +54,7 @@ +--- src/libmy/strb64d.c.orig 2013-09-10 09:58:37.814139989 +0200 ++++ src/libmy/strb64d.c 2013-09-10 10:00:47.489957357 +0200 +@@ -47,14 +47,14 @@ + int + strb64d(char *dst, const char *src, const int dsize) + { +- int ch, i, j = 0; ++ int ch, i, j; + char out[3]; + unsigned char in_a[4], in_b[4]; + dst[0] = '\0'; while (1) { - for (i = 0, j = j; i < 4; i++, j++) { -+ for (i = 0; i < 4; i++, j++) { ++ for (i = 0, j = 0; i < 4; i++, j++) { if (src[j] == '\0') goto quit; ch = src[j]; Added: head/www/nostromo/files/patch-src-nhttpd-main ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/nostromo/files/patch-src-nhttpd-main Wed Sep 11 19:57:07 2013 (r327009) @@ -0,0 +1,11 @@ +--- src/nhttpd/main.c.orig 2013-09-10 10:02:24.538148541 +0200 ++++ src/nhttpd/main.c 2013-09-10 10:12:40.431140031 +0200 +@@ -686,7 +686,7 @@ + * clear all environment variables and save PATH + */ + strlcpy(http_path, getenv("PATH"), sizeof(http_path)); +- memset(environ, 0, sizeof(environ)); ++ *environ = NULL; + + /* + * get servers IP adress(es)