diff --git a/0001-fix-build-with-gtk-doc-1.27.patch b/0001-fix-build-with-gtk-doc-1.27.patch new file mode 100644 index 0000000..ceeb23d --- /dev/null +++ b/0001-fix-build-with-gtk-doc-1.27.patch @@ -0,0 +1,28 @@ +From 1f48bf3f1fdc488158ce57f3aa595c4b127e93e4 Mon Sep 17 00:00:00 2001 +From: David Tardon +Date: Wed, 7 Feb 2018 16:57:59 +0100 +Subject: [PATCH] fix build with gtk-doc 1.27 + +--- + gtkdoc.py | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/gtkdoc.py b/gtkdoc.py +index 48f862a3..2abfd8e2 100644 +--- a/gtkdoc.py ++++ b/gtkdoc.py +@@ -319,9 +319,9 @@ class GTKDoc(object): + ldflags = ' "-L%s" %s ' % (self.library_path, additional_ldflags) + ldflags + current_ld_library_path = env.get('LD_LIBRARY_PATH') + if current_ld_library_path: +- env['RUN'] = 'LD_LIBRARY_PATH="%s:%s" ' % (self.library_path, current_ld_library_path) ++ env['LD_LIBRARY_PATH'] = '%s:%s' % (self.library_path, current_ld_library_path) + else: +- env['RUN'] = 'LD_LIBRARY_PATH="%s" ' % self.library_path ++ env['LD_LIBRARY_PATH'] = '%s' % self.library_path + + if ldflags: + env['LDFLAGS'] = '%s %s' % (ldflags, env.get('LDFLAGS', '')) +-- +2.14.3 + diff --git a/poppler.spec b/poppler.spec index 36fc8de..0373cf9 100644 --- a/poppler.spec +++ b/poppler.spec @@ -13,6 +13,7 @@ Source1: %{name}-test-%{test_date}_%{test_sha}.tar.xz # https://bugzilla.redhat.com/show_bug.cgi?id=1185007 Patch0: poppler-0.30.0-rotated-words-selection.patch +Patch1: 0001-fix-build-with-gtk-doc-1.27.patch BuildRequires: cmake BuildRequires: gettext-devel