summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-09-22 11:48:01 +0000
committerRichard Purdie <richard@openedhand.com>2008-09-22 11:48:01 +0000
commit9b6a24b65d840d8b207a9dfdc69e61b0c5c9ef07 (patch)
tree61ba8b703f8cc77ca90d46fa88d3f3860f218a04 /meta/packages
parentdc2a13090907194a9c4e9f61e3fa5b7d7f13a57b (diff)
downloadopenembedded-core-9b6a24b65d840d8b207a9dfdc69e61b0c5c9ef07.tar.gz
openembedded-core-9b6a24b65d840d8b207a9dfdc69e61b0c5c9ef07.tar.bz2
openembedded-core-9b6a24b65d840d8b207a9dfdc69e61b0c5c9ef07.tar.xz
openembedded-core-9b6a24b65d840d8b207a9dfdc69e61b0c5c9ef07.zip
cdrtools-native: Don't look for headers in /usr/src/linux, that would be crazy
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5204 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
-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}"