Date: Sun, 2 Mar 2014 20:04:53 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r346795 - branches/2014Q1/shells/ksh93/files Message-ID: <201403022004.s22K4rfT044623@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sun Mar 2 20:04:52 2014 New Revision: 346795 URL: http://svnweb.freebsd.org/changeset/ports/346795 QAT: https://qat.redports.org/buildarchive/r346795/ Log: MFH: r346423 - Fix build on i386 PR: ports/185256 Submitted by: Christoph Moench-Tegeder <cmt@burggraben.net> Approved by: portmgr (bdrewery, via IRC) Added: branches/2014Q1/shells/ksh93/files/patch-src-lib-libast-hash-hashalloc.c - copied unchanged from r346423, head/shells/ksh93/files/patch-src-lib-libast-hash-hashalloc.c branches/2014Q1/shells/ksh93/files/patch-src-lib-libast-string-tokscan.c - copied unchanged from r346423, head/shells/ksh93/files/patch-src-lib-libast-string-tokscan.c Modified: Directory Properties: branches/2014Q1/ (props changed) Copied: branches/2014Q1/shells/ksh93/files/patch-src-lib-libast-hash-hashalloc.c (from r346423, head/shells/ksh93/files/patch-src-lib-libast-hash-hashalloc.c) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2014Q1/shells/ksh93/files/patch-src-lib-libast-hash-hashalloc.c Sun Mar 2 20:04:52 2014 (r346795, copy of r346423, head/shells/ksh93/files/patch-src-lib-libast-hash-hashalloc.c) @@ -0,0 +1,20 @@ +--- src/lib/libast/hash/hashalloc.c.orig 2013-12-28 22:09:43.000000000 +0100 ++++ src/lib/libast/hash/hashalloc.c 2013-12-28 22:43:14.000000000 +0100 +@@ -49,6 +49,7 @@ + va_list* vp = va; + Hash_region_f region = 0; + void* handle; ++ va_listarg tmpval; + + va_start(ap, ref); + +@@ -151,7 +152,8 @@ + va_copy(*vp, ap); + vp++; + } +- va_copy(ap, va_listval(va_arg(ap, va_listarg))); ++ tmpval = va_listval(va_arg(ap, va_listarg)); ++ va_copy(ap, tmpval); + break; + case 0: + if (vp > va) Copied: branches/2014Q1/shells/ksh93/files/patch-src-lib-libast-string-tokscan.c (from r346423, head/shells/ksh93/files/patch-src-lib-libast-string-tokscan.c) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2014Q1/shells/ksh93/files/patch-src-lib-libast-string-tokscan.c Sun Mar 2 20:04:52 2014 (r346795, copy of r346423, head/shells/ksh93/files/patch-src-lib-libast-string-tokscan.c) @@ -0,0 +1,20 @@ +--- ./src/lib/libast/string/tokscan.c.orig 2013-12-28 22:16:20.000000000 +0100 ++++ ./src/lib/libast/string/tokscan.c 2013-12-28 22:43:28.000000000 +0100 +@@ -188,6 +188,7 @@ + char** p_string; + char* prv_f = 0; + va_list prv_ap; ++ va_listarg tmpval; + + va_start(ap, fmt); + if (!*s || *s == '\n') +@@ -233,7 +234,8 @@ + prv_f = f; + f = va_arg(ap, char*); + va_copy(prv_ap, ap); +- va_copy(ap, va_listval(va_arg(ap, va_listarg))); ++ tmpval = va_listval(va_arg(ap, va_listarg)); ++ va_copy(ap, tmpval); + continue; + case 'c': + p_char = va_arg(ap, char*);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403022004.s22K4rfT044623>