Commit 5a189bf3 authored by Felix Paul Kühne's avatar Felix Paul Kühne

contribs: reflect an API change in 10.4, which leads to compilation errors within the 10.5 SDK

additionally, fixed the libmodplug patch
parent ff87fdb9
...@@ -1501,6 +1501,9 @@ libcdio-$(CDIO_VERSION).tar.gz: ...@@ -1501,6 +1501,9 @@ libcdio-$(CDIO_VERSION).tar.gz:
libcdio: libcdio-$(CDIO_VERSION).tar.gz libcdio: libcdio-$(CDIO_VERSION).tar.gz
$(EXTRACT_GZ) $(EXTRACT_GZ)
patch -p0 < Patches/libcdio-install-cdparanoia-pc.patch patch -p0 < Patches/libcdio-install-cdparanoia-pc.patch
ifdef HAVE_DARWIN_OS
patch -p0 < Patches/libcdio-modernOSX.patch
endif
.cdio: libcdio .cdio: libcdio
(cd $<; sed -e 's%@ENABLE_CPP_TRUE@SUBDIRS = C++%@ENABLE_CPP_TRUE@SUBDIRS = %' -i.orig example/Makefile.in && autoreconf -fisv && ./configure --prefix=$(PREFIX) --without-vcdinfo --disable-shared && make && make install) (cd $<; sed -e 's%@ENABLE_CPP_TRUE@SUBDIRS = C++%@ENABLE_CPP_TRUE@SUBDIRS = %' -i.orig example/Makefile.in && autoreconf -fisv && ./configure --prefix=$(PREFIX) --without-vcdinfo --disable-shared && make && make install)
......
--- libcdio-orig/lib/driver/osx.c 2007-08-12 14:38:25.000000000 +0200
+++ libcdio/lib/driver/osx.c 2008-12-27 00:38:21.000000000 +0100
@@ -58,7 +58,7 @@
#include <mach/mach.h>
#include <Carbon/Carbon.h>
-#include <IOKit/scsi-commands/SCSITaskLib.h>
+#include <IOKit/scsi/SCSITaskLib.h>
#include <IOKit/IOCFPlugIn.h>
#include <mach/mach_error.h>
@@ -77,7 +77,7 @@
#include <CoreFoundation/CoreFoundation.h>
#include <IOKit/IOKitLib.h>
#include <IOKit/IOBSD.h>
-#include <IOKit/scsi-commands/IOSCSIMultimediaCommandsDevice.h>
+#include <IOKit/scsi/IOSCSIMultimediaCommandsDevice.h>
#include <IOKit/storage/IOCDTypes.h>
#include <IOKit/storage/IODVDTypes.h>
#include <IOKit/storage/IOMedia.h>
...@@ -6,7 +6,7 @@ diff -ru libmodplug-orig/src/load_abc.cpp libmodplug/src/load_abc.cpp ...@@ -6,7 +6,7 @@ diff -ru libmodplug-orig/src/load_abc.cpp libmodplug/src/load_abc.cpp
#include "load_pat.h" #include "load_pat.h"
+#ifndef uint +#ifndef uint
+#typedef uint unsigned int +#define uint unsigned int
+#endif +#endif
+ +
#define MAXABCINCLUDES 8 #define MAXABCINCLUDES 8
...@@ -20,7 +20,7 @@ diff -ru libmodplug-orig/src/load_mid.cpp libmodplug/src/load_mid.cpp ...@@ -20,7 +20,7 @@ diff -ru libmodplug-orig/src/load_mid.cpp libmodplug/src/load_mid.cpp
#include "load_pat.h" #include "load_pat.h"
+#ifndef uint +#ifndef uint
+#typedef uint unsigned int +#define uint unsigned int
+#endif +#endif
+ +
#define ROWSPERNOTE 16 #define ROWSPERNOTE 16
...@@ -34,7 +34,7 @@ diff -ru libmodplug-orig/src/load_pat.cpp libmodplug/src/load_pat.cpp ...@@ -34,7 +34,7 @@ diff -ru libmodplug-orig/src/load_pat.cpp libmodplug/src/load_pat.cpp
#include "load_pat.h" #include "load_pat.h"
+#ifndef uint +#ifndef uint
+#typedef uint unsigned int +#define uint unsigned int
+#endif +#endif
+ +
#ifdef MSC_VER #ifdef MSC_VER
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment