[89896] trunk/dports/graphics/exempi

jeremyhu at macports.org jeremyhu at macports.org
Mon Feb 13 23:47:22 PST 2012


Revision: 89896
          http://trac.macports.org/changeset/89896
Author:   jeremyhu at macports.org
Date:     2012-02-13 23:47:19 -0800 (Mon, 13 Feb 2012)
Log Message:
-----------
exempi: Fix some includes

Modified Paths:
--------------
    trunk/dports/graphics/exempi/Portfile
    trunk/dports/graphics/exempi/files/patch-source__XMPFiles__FormatSupport__Reconcile_Impl.cpp

Added Paths:
-----------
    trunk/dports/graphics/exempi/files/patch-source__XMPFiles__XMPFiles_Impl.hpp
    trunk/dports/graphics/exempi/files/patch-source__common__LargeFileAccess.hpp

Modified: trunk/dports/graphics/exempi/Portfile
===================================================================
--- trunk/dports/graphics/exempi/Portfile	2012-02-14 06:37:09 UTC (rev 89895)
+++ trunk/dports/graphics/exempi/Portfile	2012-02-14 07:47:19 UTC (rev 89896)
@@ -27,7 +27,9 @@
 # see http://trac.macports.org/ticket/19894
 
 if { ${os.platform} == "darwin" &&  ${os.major} > 8 } {
-    patchfiles-append      patch-source__common__LargeFileAccess.cpp
+    patchfiles-append      patch-source__XMPFiles__XMPFiles_Impl.hpp \
+                           patch-source__common__LargeFileAccess.hpp \
+                           patch-source__common__LargeFileAccess.cpp
 }
 
 # see http://trac.macports.org/ticket/20965

Modified: trunk/dports/graphics/exempi/files/patch-source__XMPFiles__FormatSupport__Reconcile_Impl.cpp
===================================================================
--- trunk/dports/graphics/exempi/files/patch-source__XMPFiles__FormatSupport__Reconcile_Impl.cpp	2012-02-14 06:37:09 UTC (rev 89895)
+++ trunk/dports/graphics/exempi/files/patch-source__XMPFiles__FormatSupport__Reconcile_Impl.cpp	2012-02-14 07:47:19 UTC (rev 89896)
@@ -1,10 +1,11 @@
---- bogus/source/XMPFiles/FormatSupport/Reconcile_Impl.cpp.orig	2009-02-17 04:10:42.000000000 +0000
-+++ bogus/source/XMPFiles/FormatSupport/Reconcile_Impl.cpp	2009-10-02 22:25:43.000000000 +0100
-@@ -16,6 +16,7 @@
+--- exempi-2.1.1/source/XMPFiles/FormatSupport/Reconcile_Impl.cpp.orig	2012-02-13 23:37:08.000000000 -0800
++++ exempi-2.1.1/source/XMPFiles/FormatSupport/Reconcile_Impl.cpp	2012-02-13 23:37:50.000000000 -0800
+@@ -15,7 +15,7 @@
+ 
  #if XMP_WinBuild
  #elif XMP_MacBuild
- 	#include "UnicodeConverter.h"
-+	#include "Script.h"
+-	#include "UnicodeConverter.h"
++	#include <CoreServices/CoreServices.h>
  #elif XMP_UNIXBuild
    #include <stdlib.h>
    #include <iconv.h>

Added: trunk/dports/graphics/exempi/files/patch-source__XMPFiles__XMPFiles_Impl.hpp
===================================================================
--- trunk/dports/graphics/exempi/files/patch-source__XMPFiles__XMPFiles_Impl.hpp	                        (rev 0)
+++ trunk/dports/graphics/exempi/files/patch-source__XMPFiles__XMPFiles_Impl.hpp	2012-02-14 07:47:19 UTC (rev 89896)
@@ -0,0 +1,11 @@
+--- a/source/XMPFiles/XMPFiles_Impl.hpp.orig	2012-02-13 23:32:15.000000000 -0800
++++ b/source/XMPFiles/XMPFiles_Impl.hpp	2012-02-13 23:33:03.000000000 -0800
+@@ -35,7 +35,7 @@
+ 	#define snprintf _snprintf
+ #else
+ 	#if XMP_MacBuild
+-		#include <Files.h>
++		#include <CoreServices/CoreServices.h>
+ 	#endif
+ 	// POSIX headers for both Mac and generic UNIX.
+ 	#include <pthread.h>

Added: trunk/dports/graphics/exempi/files/patch-source__common__LargeFileAccess.hpp
===================================================================
--- trunk/dports/graphics/exempi/files/patch-source__common__LargeFileAccess.hpp	                        (rev 0)
+++ trunk/dports/graphics/exempi/files/patch-source__common__LargeFileAccess.hpp	2012-02-14 07:47:19 UTC (rev 89896)
@@ -0,0 +1,13 @@
+--- a/source/common/LargeFileAccess.hpp.orig	2012-02-13 23:24:53.000000000 -0800
++++ b/source/common/LargeFileAccess.hpp	2012-02-13 23:25:03.000000000 -0800
+@@ -42,9 +42,9 @@ using namespace std;
+ 	#include <Windows.h>
+ 	#define snprintf _snprintf
+ #else
+	#if XMP_MacBuild
+-		#include <Files.h>
++		#include <CoreServices/CoreServices.h>
+	#endif
+ 	// POSIX headers for both Mac and generic UNIX.
+ 	#include <pthread.h>
+ 	#include <fcntl.h>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120213/510ce895/attachment-0001.html>


More information about the macports-changes mailing list