From: Koen Kooi <k.kooi@student.utwente.nl>
To: openembedded-devel@openembedded.org
Subject: Re: [STABLE][PATCH] libpcap: add patch to use LDFLAGS (fixes QA error)
Date: Sun, 05 Apr 2009 16:37:51 +0200 [thread overview]
Message-ID: <grafnv$2h4$1@ger.gmane.org> (raw)
In-Reply-To: <1238927750-17603-1-git-send-email-jeremy.laine@bolloretelecom.eu>
On 05-04-09 12:35, Jeremy Lainé wrote:
> From: Jeremy Lainé<jeremy.laine@m4x.org>
Acked-by: Koen Kooi <koen@openembedded.org>
>
>
> Signed-off-by: Jeremy Lainé<jeremy.laine@m4x.org>
> ---
> recipes/libpcap/libpcap-1.0.0/ldflags.patch | 12 ++++++++++++
> recipes/libpcap/libpcap_1.0.0.bb | 3 ++-
> 2 files changed, 14 insertions(+), 1 deletions(-)
> create mode 100644 recipes/libpcap/libpcap-1.0.0/ldflags.patch
>
> diff --git a/recipes/libpcap/libpcap-1.0.0/ldflags.patch b/recipes/libpcap/libpcap-1.0.0/ldflags.patch
> new file mode 100644
> index 0000000..66ab5f7
> --- /dev/null
> +++ b/recipes/libpcap/libpcap-1.0.0/ldflags.patch
> @@ -0,0 +1,12 @@
> +diff -urN libpcap-1.0.0.orig/Makefile.in libpcap-1.0.0/Makefile.in
> +--- libpcap-1.0.0.orig/Makefile.in 2008-10-28 01:26:13.000000000 +0000
> ++++ libpcap-1.0.0/Makefile.in 2009-04-02 13:54:20.000000000 +0000
> +@@ -326,7 +326,7 @@
> + #
> + libpcap.so: $(OBJ)
> + @rm -f $@
> +- $(CC) -shared -Wl,-soname,$@.1 -o $@.`cat $(srcdir)/VERSION` $(OBJ) $(DAGLIBS)
> ++ $(CC) $(LDFLAGS) -shared -Wl,-soname,$@.1 -o $@.`cat $(srcdir)/VERSION` $(OBJ) $(DAGLIBS)
> +
> + #
> + # The following rule succeeds, but the result is untested.
> diff --git a/recipes/libpcap/libpcap_1.0.0.bb b/recipes/libpcap/libpcap_1.0.0.bb
> index b85bf4c..6dfc056 100644
> --- a/recipes/libpcap/libpcap_1.0.0.bb
> +++ b/recipes/libpcap/libpcap_1.0.0.bb
> @@ -1,9 +1,10 @@
> require libpcap.inc
>
> -PR = "r5"
> +PR = "r6"
> SRC_URI = "http://www.tcpdump.org/release/libpcap-${PV}.tar.gz"
> SRC_URI += "file://aclocal.patch;patch=1"
> SRC_URI += "file://ieee80215-arphrd.patch;patch=1"
> +SRC_URI += "file://ldflags.patch;patch=1"
>
> do_compile () {
> oe_runmake
prev parent reply other threads:[~2009-04-05 14:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-05 10:35 [STABLE][PATCH] libpcap: add patch to use LDFLAGS (fixes QA error) Jeremy Lainé
2009-04-05 14:37 ` Koen Kooi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='grafnv$2h4$1@ger.gmane.org' \
--to=k.kooi@student.utwente.nl \
--cc=openembedded-devel@lists.openembedded.org \
--cc=openembedded-devel@openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.