[oe] [STABLE][PATCH 054/125] netpbm: Make this aware of LDFLAGS, fixes QA GNU_HASH issue

Koen Kooi k.kooi at student.utwente.nl
Tue Jun 23 09:13:58 UTC 2009


On 23-06-09 10:56, Marcin Juszkiewicz wrote:
> From: Tim 'timtim' Ellis<tim.ellis at foonas.org>
>
>
> Signed-off-by: Marcin Juszkiewicz<marcin at juszkiewicz.com.pl>

Acked-by: Koen Kooi <koen at openembedded.org>

> ---
>   recipes/netpbm/netpbm-10.28/libgnuhash.patch |   12 ++++++++++++
>   recipes/netpbm/netpbm_10.28.bb               |    3 ++-
>   2 files changed, 14 insertions(+), 1 deletions(-)
>   create mode 100644 recipes/netpbm/netpbm-10.28/libgnuhash.patch
>
> diff --git a/recipes/netpbm/netpbm-10.28/libgnuhash.patch b/recipes/netpbm/netpbm-10.28/libgnuhash.patch
> new file mode 100644
> index 0000000..3df92ca
> --- /dev/null
> +++ b/recipes/netpbm/netpbm-10.28/libgnuhash.patch
> @@ -0,0 +1,12 @@
> +diff -urN netpbm-10.28.old/lib/Makefile netpbm-10.28/lib/Makefile
> +--- netpbm-10.28.old/lib/Makefile	2005-02-05 18:47:27.000000000 +0000
> ++++ netpbm-10.28/lib/Makefile	2009-05-12 13:33:10.000000000 +0100
> +@@ -111,7 +111,7 @@
> + 	rm -f $@
> + 	$(SYMLINK) $<  $@
> + libnetpbm.$(NETPBMLIBSUFFIX).$(MAJ).$(MIN): $(LIBOBJECTS) $(LIBOBJECTS_X)
> +-	$(LD) $(LDSHLIB) -o $@ $(LIBOBJECTS) $(LIBOBJECTS_X) \
> ++	$(LD) $(LDFLAGS) $(LDSHLIB) -o $@ $(LIBOBJECTS) $(LIBOBJECTS_X) \
> +           $(SHLIB_CLIB) $(LADD)
> + endif
> +
> diff --git a/recipes/netpbm/netpbm_10.28.bb b/recipes/netpbm/netpbm_10.28.bb
> index 8469074..2672e4a 100644
> --- a/recipes/netpbm/netpbm_10.28.bb
> +++ b/recipes/netpbm/netpbm_10.28.bb
> @@ -25,10 +25,11 @@ RDEPENDS = "perl\
>   RDEPENDS += "perl-module-exporter-heavy"
>   RDEPENDS += "perl-module-file-spec-unix"
>
> -PR = "r6"
> +PR = "r7"
>
>   SRC_URI = "${SOURCEFORGE_MIRROR}/netpbm/netpbm-${PV}.tgz \
>   	   file://ppmtojpeg.patch;patch=42 \
> +	   file://libgnuhash.patch;patch=1 \
>   	   file://Makefile.config \
>   	   file://oeendiangen"
>






More information about the Openembedded-devel mailing list