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/libpcap/libpcap.inc | 2 +- recipes/libpcap/libpcap_0.9.8.bb | 2 +- recipes/libpcap/libpcap_1.0.0.bb | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'recipes/libpcap') diff --git a/recipes/libpcap/libpcap.inc b/recipes/libpcap/libpcap.inc index c42b8803bb..ce6bbd6358 100644 --- a/recipes/libpcap/libpcap.inc +++ b/recipes/libpcap/libpcap.inc @@ -8,7 +8,7 @@ PR = "r3" # Don't forget to edit shared.patch to have the correct version number inside SRC_URI = "http://www.tcpdump.org/release/libpcap-${PV}.tar.gz \ - file://shared.patch;apply=yes" + file://shared.patch" inherit autotools diff --git a/recipes/libpcap/libpcap_0.9.8.bb b/recipes/libpcap/libpcap_0.9.8.bb index c350033216..ea95301607 100644 --- a/recipes/libpcap/libpcap_0.9.8.bb +++ b/recipes/libpcap/libpcap_0.9.8.bb @@ -2,7 +2,7 @@ require libpcap.inc PR = "r3" -SRC_URI += "file://aclocal.patch;apply=yes" +SRC_URI += "file://aclocal.patch" SRC_URI[md5sum] = "5208f24d0328ee7c20b52c43eaa9aa0e" SRC_URI[sha256sum] = "c4158398de4411627b14f52626e4cef39443f4d5c1b9bce8c07f8526d18362f9" diff --git a/recipes/libpcap/libpcap_1.0.0.bb b/recipes/libpcap/libpcap_1.0.0.bb index e950a96b61..cbe38e8fde 100644 --- a/recipes/libpcap/libpcap_1.0.0.bb +++ b/recipes/libpcap/libpcap_1.0.0.bb @@ -2,10 +2,10 @@ require libpcap.inc PR = "r6" SRC_URI = "http://www.tcpdump.org/release/libpcap-${PV}.tar.gz" -SRC_URI += "file://aclocal.patch;apply=yes" -SRC_URI += "file://ieee80215-arphrd.patch;apply=yes" -SRC_URI += "file://ldflags.patch;apply=yes" -SRC_URI += "file://0001-Fix-some-problems-that-show-up-in-autoconf-2.64-and-.patch;apply=yes" +SRC_URI += "file://aclocal.patch" +SRC_URI += "file://ieee80215-arphrd.patch" +SRC_URI += "file://ldflags.patch" +SRC_URI += "file://0001-Fix-some-problems-that-show-up-in-autoconf-2.64-and-.patch" do_configure_prepend() { cat ${S}/aclocal.m4 >>${S}/acinclude.m4 -- cgit 1.2.3-korg