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

GIT User account git at amethyst.openembedded.net
Sat May 16 20:09:31 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 19b858ceca4955f104b1c71d8526bd6623f68f72
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=19b858ceca4955f104b1c71d8526bd6623f68f72

Author: Tim 'timtim' Ellis <tim.ellis at foonas.org>
Date:   Sat May 16 21:03:52 2009 +0100

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

---

 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 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-commits mailing list