pstoedit/remove-libpng-ldflags.patch
Sebastian Kisela cd4616c990 Remove LIBPNG_LDFLAGS from config
Since version 3.70 upstream seized to use libpng in linking phase
as the whole png generation is now being done by ghostscript
itself.

The last file using libpng was psimage.cpp where the include is
dropped.

Fixes: #1415258
2018-04-13 15:14:57 +02:00

29 lines
939 B
Diff

From 421cdbeccccb68589002b24dc6e91b23ccd86bfd Mon Sep 17 00:00:00 2001
From: Sebastian Kisela <skisela@redhat.com>
Date: Fri, 13 Apr 2018 09:25:37 +0200
Subject: [PATCH] Remove LIBPNG_LDFLAGS from config
From version 3.70 upstream seized to use libpng in linking phase
as the whole png generation is now being done by ghostscript
itself.
Fixes: #1415258
---
config/pstoedit.pc.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/pstoedit.pc.in b/config/pstoedit.pc.in
index 3131ac5..ffda220 100644
--- a/config/pstoedit.pc.in
+++ b/config/pstoedit.pc.in
@@ -7,5 +7,5 @@ Name: pstoedit
Description: converts PostScript(TM) and PDF files to other vector graphic formats
Version: @VERSION@.0
Requires:
-Libs: -L@libdir@ -lpstoedit @LIBPNG_LDFLAGS@ @CXX_STD_LIB@ @CXX_RUNTIME_LIB@ @LIBLD_LDFLAGS@
+Libs: -L@libdir@ -lpstoedit @CXX_STD_LIB@ @CXX_RUNTIME_LIB@ @LIBLD_LDFLAGS@
Cflags: -I@includedir@
--
2.14.3