linamh/media-libs/netpbm/files/netpbm-10.48.00-pnmtopng-zlib.patch
2010-01-05 17:04:22 +00:00

13 lines
419 B
Diff

http://bugs.gentoo.org/291987
--- netpbm/converter/other/Makefile
+++ netbpm/converter/other/Makefile
@@ -159,6 +156,7 @@
$(shell $(LIBOPT) $(NETPBMLIB)) \
$(PNGLIB_LIBOPTS) $(MATHLIB) $(LDFLAGS) $(LDLIBS) $(RPATH) $(LADD)
+pnmtopng: LADD += -lz # pnmtopng calls zlib_version itself
pnmtopng: %: %.o pngx.o pngtxt.o $(NETPBMLIB) $(LIBOPT)
$(LD) -o $@ $@.o pngtxt.o \
$(shell $(LIBOPT) $(NETPBMLIB)) \