[26212] trunk/dports/sysutils/cfengine
source_changes at macosforge.org
source_changes at macosforge.org
Fri Jun 15 13:08:04 PDT 2007
Revision: 26212
http://trac.macosforge.org/projects/macports/changeset/26212
Author: boeyms at macports.org
Date: 2007-06-15 13:08:04 -0700 (Fri, 15 Jun 2007)
Log Message:
-----------
sysutils/cfengine:
* Update to latest version (2.1.22) (closes #11635);
* Patch pub/getopt.c in source to prevent multiply-defined symbol warnings.
Modified Paths:
--------------
trunk/dports/sysutils/cfengine/Portfile
Added Paths:
-----------
trunk/dports/sysutils/cfengine/files/patch-pub__getopt.c
Modified: trunk/dports/sysutils/cfengine/Portfile
===================================================================
--- trunk/dports/sysutils/cfengine/Portfile 2007-06-15 20:00:02 UTC (rev 26211)
+++ trunk/dports/sysutils/cfengine/Portfile 2007-06-15 20:08:04 UTC (rev 26212)
@@ -2,7 +2,7 @@
PortSystem 1.0
name cfengine
-version 2.1.19p1
+version 2.2.1
categories sysutils
maintainers nomaintainer at macports.org
description a tool for setting up and maintaining computer systems
@@ -15,13 +15,14 @@
master_sites ftp://ftp.iu.hio.no/pub/cfengine/ \
ftp://sunsite.uio.no/pub/cfengine/ \
http://ftp.us.xemacs.org/ftp/pub/cfengine/cfengine-ftp/
-checksums sha1 797392b67c6624ed7483f72f127b7873af9249da
+checksums sha1 ce4954174110c43541d25775747ae65ada30063d
platforms darwin
depends_lib port:db4 \
port:openssl \
port:pcre
+patchfiles patch-pub__getopt.c
post-patch {
cd ${worksrcpath}
foreach manfile [glob doc/*.8] {
Added: trunk/dports/sysutils/cfengine/files/patch-pub__getopt.c
===================================================================
--- trunk/dports/sysutils/cfengine/files/patch-pub__getopt.c (rev 0)
+++ trunk/dports/sysutils/cfengine/files/patch-pub__getopt.c 2007-06-15 20:08:04 UTC (rev 26212)
@@ -0,0 +1,11 @@
+--- pub/getopt.c 2005-02-08 11:48:47.000000000 +0000
++++ pub/getopt.c.new 2007-06-13 11:57:57.000000000 +0000
+@@ -156,7 +156,7 @@
+ /* Value of POSIXLY_CORRECT environment variable. */
+ static char *posixly_correct;
+
+-#ifdef __GNU_LIBRARY__
++#if defined(__GNU_LIBRARY__) || defined(__APPLE__)
+ /* We want to avoid inclusion of string.h with non-GNU libraries
+ because there are many ways it can cause trouble.
+ On some systems, it contains special magic macros that don't work
Property changes on: trunk/dports/sysutils/cfengine/files/patch-pub__getopt.c
___________________________________________________________________
Name: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070615/d232a3ad/attachment.html
More information about the macports-changes
mailing list