netpbm: Make this aware of LDFLAGS, fixes QA GNU_HASH issue
authorTim 'timtim' Ellis <tim.ellis@foonas.org>
Sat, 16 May 2009 20:03:52 +0000 (21:03 +0100)
committerTim 'timtim' Ellis <tim.ellis@foonas.org>
Sat, 16 May 2009 20:03:52 +0000 (21:03 +0100)
recipes/netpbm/netpbm-10.28/libgnuhash.patch [new file with mode: 0644]
recipes/netpbm/netpbm_10.28.bb

diff --git a/recipes/netpbm/netpbm-10.28/libgnuhash.patch b/recipes/netpbm/netpbm-10.28/libgnuhash.patch
new file mode 100644 (file)
index 0000000..3df92ca
--- /dev/null
@@ -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
index 8469074..2672e4a 100644 (file)
@@ -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"