[oe-commits] Tim 'timtim' Ellis : netpbm: Make this aware of LDFLAGS, fixes QA GNU_HASH issue

git version control git at git.openembedded.org
Wed Jul 1 14:10:19 UTC 2009


Module: openembedded.git
Branch: stable/2009
Commit: 2885b57e518f1fd790de309a4ec3a29d7418d5c5
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=2885b57e518f1fd790de309a4ec3a29d7418d5c5

Author: Tim 'timtim' Ellis <tim.ellis at foonas.org>
Date:   Mon Jun 22 22:56:55 2009 +0000

netpbm: Make this aware of LDFLAGS, fixes QA GNU_HASH issue

Signed-off-by: Marcin Juszkiewicz <marcin at juszkiewicz.com.pl>
Acked-by: Koen Kooi <koen at openembedded.org>
Acked-by: Denys Dmytriyenko <denis at denix.org>

---

 recipes/netpbm/netpbm-10.28/libgnuhash.patch |   12 ++++++++++++
 recipes/netpbm/netpbm_10.28.bb               |    3 ++-
 2 files changed, 14 insertions(+), 1 deletions(-)

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 78bb26b..4ce1a5a 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-commits mailing list