transfig (1:3.2.5.c-1) 13_remove_extralibs.dpatch

Summary

 fig2dev/Imakefile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

    
download this patch

Patch contents

#! /bin/sh /usr/share/dpatch/dpatch-run
## 13_remove_extralibs.dpatch by Roland Rosenfeld <roland@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Remove unnecessary dependencies on libz and libX11.

@DPATCH@
diff -urNad transfig~/fig2dev/Imakefile transfig/fig2dev/Imakefile
--- transfig~/fig2dev/Imakefile
+++ transfig/fig2dev/Imakefile
@@ -154,12 +154,12 @@
 
 #ifdef USEPNG
 DUSEPNG = -DUSE_PNG
-PNGLIBS = -L$(PNGLIBDIR) -lpng -L$(ZLIBDIR) -lz
+PNGLIBS = -L$(PNGLIBDIR) -lpng
 #endif /* USEPNG */
 
 #ifdef USEXPM
 DUSEXPM = -DUSE_XPM
-XPMLIBS = -L$(XPMLIBDIR) -lXpm -lX11
+XPMLIBS = -L$(XPMLIBDIR) -lXpm
 #endif /* USEXPM */
 
 #if defined(NOSTRSTR)