Fix build issue (bug #1106101).

Resolves: rhbz#1106101
This commit is contained in:
Tim Waugh 2014-06-11 13:59:24 +01:00
parent 846e99fd87
commit 382dc703a9
2 changed files with 22 additions and 1 deletions

View File

@ -0,0 +1,14 @@
diff -up cups-filters-1.0.54/Makefile.am.makefile cups-filters-1.0.54/Makefile.am
--- cups-filters-1.0.54/Makefile.am.makefile 2014-06-11 13:36:11.962393900 +0100
+++ cups-filters-1.0.54/Makefile.am 2014-06-11 13:40:34.343533005 +0100
@@ -467,7 +467,9 @@ bannertopdf_LDADD = \
$(FONTCONFIG_LIBS) \
libfontembed.la
-bannertopdf_DEPENDENCIES = $(GETLINE)
+bannertopdf_DEPENDENCIES = \
+ $(GETLINE) \
+ libfontembed.la
commandtoescpx_SOURCES = \
cupsfilters/driver.h \

View File

@ -4,7 +4,7 @@
Summary: OpenPrinting CUPS filters and backends
Name: cups-filters
Version: 1.0.53
Release: 3%{?dist}
Release: 4%{?dist}
# For a breakdown of the licensing, see COPYING file
# GPLv2: filters: commandto*, imagetoraster, pdftops, rasterto*,
@ -21,6 +21,7 @@ Url: http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups
Source0: http://www.openprinting.org/download/cups-filters/cups-filters-%{version}.tar.xz
Patch1: cups-filters-pdf-landscape.patch
Patch2: cups-filters-makefile.patch
Requires: cups-filters-libs%{?_isa} = %{version}-%{release}
@ -115,6 +116,9 @@ This is the development package for OpenPrinting CUPS filters and backends.
# Fix PDF landscape printing (bug #768811).
%patch1 -p1 -b .pdf-landscape
# Fixed build issue (bug #1106101).
%patch2 -p1 -b .cups-filters
%build
# work-around Rpath
./autogen.sh
@ -240,6 +244,9 @@ fi
%{_libdir}/libfontembed.so
%changelog
* Wed Jun 11 2014 Tim Waugh <twaugh@redhat.com> - 1.0.53-4
- Fix build issue (bug #1106101).
* Fri Jun 6 2014 Tim Waugh <twaugh@redhat.com> - 1.0.53-3
- Don't use grep's -P switch in pstopdf as it needs execmem (bug #1079534).