[52047] trunk/dports/x11/xorg-cf-files

jeremyhu at macports.org jeremyhu at macports.org
Mon Jun 8 17:09:26 PDT 2009


Revision: 52047
          http://trac.macports.org/changeset/52047
Author:   jeremyhu at macports.org
Date:     2009-06-08 17:09:25 -0700 (Mon, 08 Jun 2009)
Log Message:
-----------
xorg-cf-files: Add support for x86_64

Modified Paths:
--------------
    trunk/dports/x11/xorg-cf-files/Portfile

Added Paths:
-----------
    trunk/dports/x11/xorg-cf-files/files/
    trunk/dports/x11/xorg-cf-files/files/64bit.patch

Modified: trunk/dports/x11/xorg-cf-files/Portfile
===================================================================
--- trunk/dports/x11/xorg-cf-files/Portfile	2009-06-08 23:59:05 UTC (rev 52046)
+++ trunk/dports/x11/xorg-cf-files/Portfile	2009-06-09 00:09:25 UTC (rev 52047)
@@ -5,7 +5,7 @@
 
 name         xorg-cf-files
 version      1.0.2
-revision     2
+revision     3
 categories   x11 devel
 platforms    darwin
 maintainers  mcalhoun openmaintainer
@@ -23,6 +23,9 @@
 #only text files are installed
 universal_variant no
 
+patchfiles 64bit.patch
+patch.args -p1
+
 checksums \
     md5 5f62dd5545b782c74f6e4e70d0e6552c \
     sha1 a1182e1fd05a648e6282598a355b7c4be9339755 \

Added: trunk/dports/x11/xorg-cf-files/files/64bit.patch
===================================================================
--- trunk/dports/x11/xorg-cf-files/files/64bit.patch	                        (rev 0)
+++ trunk/dports/x11/xorg-cf-files/files/64bit.patch	2009-06-09 00:09:25 UTC (rev 52047)
@@ -0,0 +1,35 @@
+diff -Naurp xorg-cf-files-1.0.2.orig/Imake.cf xorg-cf-files-1.0.2/Imake.cf
+--- xorg-cf-files-1.0.2.orig/Imake.cf	2005-11-07 22:33:24.000000000 -0800
++++ xorg-cf-files-1.0.2/Imake.cf	2009-06-08 17:06:14.000000000 -0700
+@@ -33,6 +33,10 @@ XCOMM $XFree86: xc/config/cf/Imake.cf,v 
+ #  define i386DarwinArchitecture
+ #  undef __i386__
+ # endif
++# ifdef __x86_64__
++#  define x86_64DarwinArchitecture
++#  undef __x86_64__
++# endif
+ #endif
+ 
+ #if defined(clipper) || defined(__clipper__)
+diff -Naurp xorg-cf-files-1.0.2.orig/darwin.cf xorg-cf-files-1.0.2/darwin.cf
+--- xorg-cf-files-1.0.2.orig/darwin.cf	2005-03-31 17:22:07.000000000 -0800
++++ xorg-cf-files-1.0.2/darwin.cf	2009-06-08 17:04:09.000000000 -0700
+@@ -230,6 +230,17 @@ XCOMM operating system:  OSName (OSMajor
+ # define ByteOrder              X_LITTLE_ENDIAN
+ #endif /* i386DarwinArchitecture */
+ 
++
++#ifdef x86_64DarwinArchitecture
++# define DarwinMachineDefines   -D__x86_64__
++# if HasGcc3
++#  define OptimizedCDebugFlags  -Os
++# else
++#  define OptimizedCDebugFlags  -O2 -fno-strength-reduce
++# endif
++# define ByteOrder              X_LITTLE_ENDIAN
++#endif /* x86_64DarwinArchitecture */
++
+ #if OSMajorVersion < 7
+ # define DarwinLocaleDefines    -DX_LOCALE
+ #else
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090608/31c9c411/attachment.html>


More information about the macports-changes mailing list