From owner-svn-ports-head@freebsd.org Sun Sep 27 20:39:39 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 94C14A0A249; Sun, 27 Sep 2015 20:39:39 +0000 (UTC) (envelope-from dinoex@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5EDDC8F5; Sun, 27 Sep 2015 20:39:39 +0000 (UTC) (envelope-from dinoex@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t8RKddXX067516; Sun, 27 Sep 2015 20:39:39 GMT (envelope-from dinoex@FreeBSD.org) Received: (from dinoex@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t8RKdcDQ067513; Sun, 27 Sep 2015 20:39:38 GMT (envelope-from dinoex@FreeBSD.org) Message-Id: <201509272039.t8RKdcDQ067513@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dinoex set sender to dinoex@FreeBSD.org using -f From: Dirk Meyer Date: Sun, 27 Sep 2015 20:39:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r398049 - in head/print/a2ps: . 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.20 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: Sun, 27 Sep 2015 20:39:39 -0000 Author: dinoex Date: Sun Sep 27 20:39:37 2015 New Revision: 398049 URL: https://svnweb.freebsd.org/changeset/ports/398049 Log: - fix cli option "--list=defaults" PR: 203326 Submitted by: Tatsuki Makino Added: head/print/a2ps/files/patch-printlen.c (contents, props changed) head/print/a2ps/files/patch-title.c (contents, props changed) Modified: head/print/a2ps/Makefile Modified: head/print/a2ps/Makefile ============================================================================== --- head/print/a2ps/Makefile Sun Sep 27 20:25:18 2015 (r398048) +++ head/print/a2ps/Makefile Sun Sep 27 20:39:37 2015 (r398049) @@ -3,7 +3,7 @@ PORTNAME= a2ps PORTVERSION= 4.13b -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= print MASTER_SITES= GNU LOCAL/hrs/a2ps/:i18n Added: head/print/a2ps/files/patch-printlen.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/print/a2ps/files/patch-printlen.c Sun Sep 27 20:39:37 2015 (r398049) @@ -0,0 +1,27 @@ +--- lib/printlen.c.orig 1999-08-31 17:42:42 UTC ++++ lib/printlen.c +@@ -28,14 +28,11 @@ Foundation, Inc., 59 Temple Place - Suit + unsigned long strtoul (); + + static int +-int_printflen (const char *format, va_list *args) ++int_printflen (const char *format, va_list ap) + { + const char *cp; + int total_width = 0; + int width = 0; +- va_list ap; +- +- memcpy (&ap, args, sizeof (va_list)); + + for (cp = format ; *cp ; cp++) + { +@@ -99,7 +96,7 @@ int_printflen (const char *format, va_li + int + vprintflen (const char *format, va_list args) + { +- return int_printflen (format, &args); ++ return int_printflen (format, args); + } + + int Added: head/print/a2ps/files/patch-title.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/print/a2ps/files/patch-title.c Sun Sep 27 20:39:37 2015 (r398049) @@ -0,0 +1,11 @@ +--- lib/title.c.orig 2015-09-25 08:26:23 UTC ++++ lib/title.c +@@ -88,6 +88,8 @@ title (stream, c, center_p, format, va_a + if (center_p) + for (padding = 0 ; padding < 79 - len ; padding += 2) + putc (' ', stream); ++ va_end(args); ++ VA_START(args, format); + # if HAVE_VPRINTF || _LIBC + vfprintf (stream, format, args); + # else