From 6fe7cef27069415f2eba36bc640cf59013d4979b Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Mon, 24 May 2010 13:01:00 -0700 Subject: Make the do_patch apply=yes param implicit if extension is .diff/.patch For .diff/.patch you need to apply manually, you can specify apply=no. Signed-off-by: Chris Larson Acked-by: Denys Dmytriyenko Acked-by: Khem Raj --- recipes/file/file_4.18.bb | 2 +- recipes/file/file_4.21.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes/file') diff --git a/recipes/file/file_4.18.bb b/recipes/file/file_4.18.bb index 2ebe549503..08b627a128 100644 --- a/recipes/file/file_4.18.bb +++ b/recipes/file/file_4.18.bb @@ -6,7 +6,7 @@ SRC_URI = "ftp://ftp.astron.com/pub/file/file-${PV}.tar.gz \ file://dump \ file://filesystems" -SRC_URI_append_virtclass-native = " file://native-fix.diff;apply=yes" +SRC_URI_append_virtclass-native = " file://native-fix.diff" do_configure_prepend() { sed -i -e 's,$(top_builddir)/src/file,file,' ${S}/magic/Makefile.am diff --git a/recipes/file/file_4.21.bb b/recipes/file/file_4.21.bb index 9f31a7eade..6f16e3ce54 100644 --- a/recipes/file/file_4.21.bb +++ b/recipes/file/file_4.21.bb @@ -6,7 +6,7 @@ PR = "${INCPR}.0" SRC_URI = "ftp://ftp.fi.debian.org/pub/gentoo/distfiles/file-${PV}.tar.gz" -SRC_URI_append_virtclass-native = " file://native-fix.diff;apply=yes" +SRC_URI_append_virtclass-native = " file://native-fix.diff" do_configure_prepend() { sed -i -e 's,$(top_builddir)/src/file,file,' ${S}/magic/Makefile.am -- cgit v1.2.3