From 382dc703a99ac9074bf640d932d0225277de48b1 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Wed, 11 Jun 2014 13:59:24 +0100 Subject: [PATCH] Fix build issue (bug #1106101). Resolves: rhbz#1106101 --- cups-filters-makefile.patch | 14 ++++++++++++++ cups-filters.spec | 9 ++++++++- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 cups-filters-makefile.patch diff --git a/cups-filters-makefile.patch b/cups-filters-makefile.patch new file mode 100644 index 0000000..2177950 --- /dev/null +++ b/cups-filters-makefile.patch @@ -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 \ diff --git a/cups-filters.spec b/cups-filters.spec index cd36e6f..384e750 100644 --- a/cups-filters.spec +++ b/cups-filters.spec @@ -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 - 1.0.53-4 +- Fix build issue (bug #1106101). + * Fri Jun 6 2014 Tim Waugh - 1.0.53-3 - Don't use grep's -P switch in pstopdf as it needs execmem (bug #1079534).