[26256] trunk/dports/devel/popt
source_changes at macosforge.org
source_changes at macosforge.org
Sun Jun 17 10:23:37 PDT 2007
Revision: 26256
http://trac.macosforge.org/projects/macports/changeset/26256
Author: n3npq at mac.com
Date: 2007-06-17 10:23:36 -0700 (Sun, 17 Jun 2007)
Log Message:
-----------
Upgrade to popt-1.11 from rpm5.org.
Modified Paths:
--------------
trunk/dports/devel/popt/Portfile
Added Paths:
-----------
trunk/dports/devel/popt/files/
trunk/dports/devel/popt/files/patch-poptint.c
Modified: trunk/dports/devel/popt/Portfile
===================================================================
--- trunk/dports/devel/popt/Portfile 2007-06-17 17:14:25 UTC (rev 26255)
+++ trunk/dports/devel/popt/Portfile 2007-06-17 17:23:36 UTC (rev 26256)
@@ -2,20 +2,21 @@
PortSystem 1.0
name popt
-version 1.10.4
-revision 3
+version 1.11
+revision 0
categories devel
maintainers n3npq at mac.com
description A getopt(3) like library with a number of enhancements
long_description popt is a command line parsing library. It contains a number of enhancements over getopt(3), including being fully reentrant, allowing users to alias command line arguments, providing convience functions for parsing strings into argv[] style arrays and popt can parse arbitrary argv[] style arrays.
platforms darwin
-master_sites http://rpm.net.in/mirror/rpm-4.4.x/ \
- ftp://wraptastic.org/pub/rpm-4.4.x/
+master_sites http://rpm5.org/files/popt/
depends_lib port:gettext \
port:libiconv
+patchfiles patch-poptint.c
+
post-patch {
file copy -force /usr/share/libtool/config.guess ${worksrcpath}/config.guess
file copy -force /usr/share/libtool/config.sub ${worksrcpath}/config.sub
@@ -30,7 +31,7 @@
file delete -force ${destroot}${prefix}/lib/charset.alias
}
-checksums md5 dd22a6873b43d00f75e1c1b7dcfd1ff7
+checksums md5 3c36cb9d40a46a3190369002f6cda984
platform darwin 7 {
depends_build-append port:autoconf
Added: trunk/dports/devel/popt/files/patch-poptint.c
===================================================================
--- trunk/dports/devel/popt/files/patch-poptint.c (rev 0)
+++ trunk/dports/devel/popt/files/patch-poptint.c 2007-06-17 17:23:36 UTC (rev 26256)
@@ -0,0 +1,18 @@
+--- poptint.c.varargs 2007-06-17 13:09:50.000000000 -0400
++++ poptint.c 2007-06-17 13:11:54.000000000 -0400
+@@ -97,10 +97,15 @@
+ {
+ char *buffer = NULL;
+ char c;
++ va_list apc;
++
++ va_copy(apc, ap); /* XXX linux amd64/ppc needs a copy. */
+
+ buffer = calloc (sizeof (char), vsnprintf (&c, 1, format, ap) + 1);
+ vsprintf (buffer, format, ap);
+
++ va_end(apc);
++
+ return buffer;
+ }
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070617/48a1ca7d/attachment.html
More information about the macports-changes
mailing list