summaryrefslogtreecommitdiff
path: root/meta/packages/cdrtools
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/cdrtools')
-rw-r--r--meta/packages/cdrtools/cdrtools-native/no_usr_src.patch26
-rw-r--r--meta/packages/cdrtools/cdrtools-native_2.01.bb4
2 files changed, 29 insertions, 1 deletions
diff --git a/meta/packages/cdrtools/cdrtools-native/no_usr_src.patch b/meta/packages/cdrtools/cdrtools-native/no_usr_src.patch
new file mode 100644
index 000000000..0318d31a6
--- /dev/null
+++ b/meta/packages/cdrtools/cdrtools-native/no_usr_src.patch
@@ -0,0 +1,26 @@
+Index: cdrtools-2.01/DEFAULTS/Defaults.gnu
+===================================================================
+--- cdrtools-2.01.orig/DEFAULTS/Defaults.gnu 2008-09-22 12:42:12.000000000 +0100
++++ cdrtools-2.01/DEFAULTS/Defaults.gnu 2008-09-22 12:42:27.000000000 +0100
+@@ -18,7 +18,7 @@
+ ###########################################################################
+ CWARNOPTS=
+
+-DEFINCDIRS= $(SRCROOT)/include /usr/src/linux/include
++DEFINCDIRS= $(SRCROOT)/include
+ LDPATH= -L/opt/schily/lib
+ RUNPATH= -R $(INS_BASE)/lib -R /opt/schily/lib -R $(OLIBSDIR)
+
+Index: cdrtools-2.01/DEFAULTS/Defaults.linux
+===================================================================
+--- cdrtools-2.01.orig/DEFAULTS/Defaults.linux 2008-09-22 12:42:08.000000000 +0100
++++ cdrtools-2.01/DEFAULTS/Defaults.linux 2008-09-22 12:42:37.000000000 +0100
+@@ -18,7 +18,7 @@
+ ###########################################################################
+ CWARNOPTS=
+
+-DEFINCDIRS= $(SRCROOT)/include /usr/src/linux/include
++DEFINCDIRS= $(SRCROOT)/include
+ LDPATH= -L/opt/schily/lib
+ RUNPATH= -R $(INS_BASE)/lib -R /opt/schily/lib -R $(OLIBSDIR)
+
diff --git a/meta/packages/cdrtools/cdrtools-native_2.01.bb b/meta/packages/cdrtools/cdrtools-native_2.01.bb
index 9b148517d..be99bea86 100644
--- a/meta/packages/cdrtools/cdrtools-native_2.01.bb
+++ b/meta/packages/cdrtools/cdrtools-native_2.01.bb
@@ -5,8 +5,10 @@
LICENSE="GPL"
DESCRIPTION="A set of tools for CD recording, including cdrecord"
HOMEPAGE="http://cdrecord.berlios.de/old/private/cdrecord.html"
+PR = "r1"
-SRC_URI="ftp://ftp.berlios.de/pub/cdrecord/cdrtools-${PV}.tar.bz2"
+SRC_URI="ftp://ftp.berlios.de/pub/cdrecord/cdrtools-${PV}.tar.bz2 \
+ file://no_usr_src.patch;patch=1"
S="${WORKDIR}/cdrtools-${PV}"