summaryrefslogtreecommitdiffstats
path: root/meta
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
parentdc2a13090907194a9c4e9f61e3fa5b7d7f13a57b (diff)
downloadpoky-9b6a24b65d840d8b207a9dfdc69e61b0c5c9ef07.tar.gz
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')
-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 0000000000..0318d31a6d
--- /dev/null
+++ b/meta/packages/cdrtools/cdrtools-native/no_usr_src.patch
@@ -0,0 +1,26 @@
1Index: cdrtools-2.01/DEFAULTS/Defaults.gnu
2===================================================================
3--- cdrtools-2.01.orig/DEFAULTS/Defaults.gnu 2008-09-22 12:42:12.000000000 +0100
4+++ cdrtools-2.01/DEFAULTS/Defaults.gnu 2008-09-22 12:42:27.000000000 +0100
5@@ -18,7 +18,7 @@
6 ###########################################################################
7 CWARNOPTS=
8
9-DEFINCDIRS= $(SRCROOT)/include /usr/src/linux/include
10+DEFINCDIRS= $(SRCROOT)/include
11 LDPATH= -L/opt/schily/lib
12 RUNPATH= -R $(INS_BASE)/lib -R /opt/schily/lib -R $(OLIBSDIR)
13
14Index: cdrtools-2.01/DEFAULTS/Defaults.linux
15===================================================================
16--- cdrtools-2.01.orig/DEFAULTS/Defaults.linux 2008-09-22 12:42:08.000000000 +0100
17+++ cdrtools-2.01/DEFAULTS/Defaults.linux 2008-09-22 12:42:37.000000000 +0100
18@@ -18,7 +18,7 @@
19 ###########################################################################
20 CWARNOPTS=
21
22-DEFINCDIRS= $(SRCROOT)/include /usr/src/linux/include
23+DEFINCDIRS= $(SRCROOT)/include
24 LDPATH= -L/opt/schily/lib
25 RUNPATH= -R $(INS_BASE)/lib -R /opt/schily/lib -R $(OLIBSDIR)
26
diff --git a/meta/packages/cdrtools/cdrtools-native_2.01.bb b/meta/packages/cdrtools/cdrtools-native_2.01.bb
index 9b148517d2..be99bea862 100644
--- a/meta/packages/cdrtools/cdrtools-native_2.01.bb
+++ b/meta/packages/cdrtools/cdrtools-native_2.01.bb
@@ -5,8 +5,10 @@
5LICENSE="GPL" 5LICENSE="GPL"
6DESCRIPTION="A set of tools for CD recording, including cdrecord" 6DESCRIPTION="A set of tools for CD recording, including cdrecord"
7HOMEPAGE="http://cdrecord.berlios.de/old/private/cdrecord.html" 7HOMEPAGE="http://cdrecord.berlios.de/old/private/cdrecord.html"
8PR = "r1"
8 9
9SRC_URI="ftp://ftp.berlios.de/pub/cdrecord/cdrtools-${PV}.tar.bz2" 10SRC_URI="ftp://ftp.berlios.de/pub/cdrecord/cdrtools-${PV}.tar.bz2 \
11 file://no_usr_src.patch;patch=1"
10 12
11S="${WORKDIR}/cdrtools-${PV}" 13S="${WORKDIR}/cdrtools-${PV}"
12 14