summaryrefslogtreecommitdiff
path: root/recipes/file
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-05-24 13:01:00 -0700
committerChris Larson <chris_larson@mentor.com>2010-05-25 12:54:52 -0700
commit6fe7cef27069415f2eba36bc640cf59013d4979b (patch)
treeb0cb8845ddc6b8bcffc50e08a2eeae98e049be98 /recipes/file
parentbf7d0467a0788a7fcc1c96e0dc35a25ae09278a0 (diff)
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 <chris_larson@mentor.com> Acked-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/file')
-rw-r--r--recipes/file/file_4.18.bb2
-rw-r--r--recipes/file/file_4.21.bb2
2 files changed, 2 insertions, 2 deletions
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