[56715] trunk/dports/sysutils/dvdrtools/files/patch-scsi-mac-iokit.c
toby at macports.org
toby at macports.org
Tue Sep 1 12:43:19 PDT 2009
Revision: 56715
http://trac.macports.org/changeset/56715
Author: toby at macports.org
Date: 2009-09-01 12:43:14 -0700 (Tue, 01 Sep 2009)
Log Message:
-----------
#21005 (dvdrtools fails to build on 10.6 x86_64)
Modified Paths:
--------------
trunk/dports/sysutils/dvdrtools/files/patch-scsi-mac-iokit.c
Modified: trunk/dports/sysutils/dvdrtools/files/patch-scsi-mac-iokit.c
===================================================================
--- trunk/dports/sysutils/dvdrtools/files/patch-scsi-mac-iokit.c 2009-09-01 19:08:01 UTC (rev 56714)
+++ trunk/dports/sysutils/dvdrtools/files/patch-scsi-mac-iokit.c 2009-09-01 19:43:14 UTC (rev 56715)
@@ -5,11 +5,12 @@
#include <Carbon/Carbon.h>
#include <IOKit/IOKitLib.h>
#include <IOKit/IOCFPlugIn.h>
+-#include <IOKit/scsi-commands/SCSITaskLib.h>
+
+/* VERSION is used as an identifier somewhere in the Apple headers. */
+#define AVOID_COLLISION_SAVE_VERSION VERSION
+#undef VERSION
- #include <IOKit/scsi-commands/SCSITaskLib.h>
++#include <IOKit/scsi/SCSITaskLib.h>
+#define VERSION AVOID_COLLISION_SAVE_VERSION
+#undef AVOID_COLLISION_SAVE_VERSION
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090901/eb19ce5f/attachment.html>
More information about the macports-changes
mailing list