[26630] trunk/dports/sysutils/rpm

source_changes at macosforge.org source_changes at macosforge.org
Sat Jun 30 20:06:36 PDT 2007


Revision: 26630
          http://trac.macosforge.org/projects/macports/changeset/26630
Author:   jmpp at macports.org
Date:     2007-06-30 20:06:36 -0700 (Sat, 30 Jun 2007)

Log Message:
-----------
Get rpm building on Darwin 9 platform, thanks to a small chunk of a patch provided by Benjamin Reed (RangerRick)
from fink at http://svn.finkproject.org/svn/users/ranger/trunk/experimental/common/crypto/finkinfo/rpm.patch 

NOTE to jbj@ and afb@: The patch above is meant for rpm 4.5 on darwin 9, with many other chunks I'n not including here.
We might want to have a detailed look at it and possibly consider it for inclusion in rpm's cvs.

Modified Paths:
--------------
    trunk/dports/sysutils/rpm/Portfile

Added Paths:
-----------
    trunk/dports/sysutils/rpm/files/patch-fts.c.diff

Modified: trunk/dports/sysutils/rpm/Portfile
===================================================================
--- trunk/dports/sysutils/rpm/Portfile	2007-07-01 02:57:52 UTC (rev 26629)
+++ trunk/dports/sysutils/rpm/Portfile	2007-07-01 03:06:36 UTC (rev 26630)
@@ -83,6 +83,9 @@
 	}
 }
 
+platform darwin 9 {
+         patchfiles-append      patch-fts.c.diff
+}
 
 variant docs {
 	depends_run-append bin:doxygen:doxygen	

Added: trunk/dports/sysutils/rpm/files/patch-fts.c.diff
===================================================================
--- trunk/dports/sysutils/rpm/files/patch-fts.c.diff	                        (rev 0)
+++ trunk/dports/sysutils/rpm/files/patch-fts.c.diff	2007-07-01 03:06:36 UTC (rev 26630)
@@ -0,0 +1,18 @@
+--- rpmio/fts.c	2007-05-25 10:36:36.000000000 -0700
++++ rpmio/fts.c	2007-06-13 10:52:54.000000000 -0700
+@@ -34,6 +34,7 @@
+ static char sccsid[] = "@(#)fts.c	8.6 (Berkeley) 8/14/94";
+ #endif /* LIBC_SCCS and not lint */
+ 
++#include "system.h"
+ #if defined(_LIBC)
+ #include <sys/param.h>
+ #include <include/sys/stat.h>
+@@ -70,7 +71,6 @@
+ #   define stat64              stat
+ #   define __fxstat64(_stat_ver, _fd, _sbp)    fstat((_fd), (_sbp))
+ #endif
+-#include "system.h"
+ #include "fts.h"
+ #include "rpmio.h"
+ #include "rpmurl.h"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070630/1311d552/attachment.html


More information about the macports-changes mailing list