]> git.pld-linux.org Git - packages/poppler.git/commitdiff
patch to fix build with gtk-doc 1.27
authorJan Palus <atler@pld-linux.org>
Tue, 13 Feb 2018 23:30:32 +0000 (00:30 +0100)
committerJan Palus <atler@pld-linux.org>
Tue, 13 Feb 2018 23:30:32 +0000 (00:30 +0100)
poppler-gtkdoc1_27.patch [new file with mode: 0644]
poppler.spec

diff --git a/poppler-gtkdoc1_27.patch b/poppler-gtkdoc1_27.patch
new file mode 100644 (file)
index 0000000..d2db778
--- /dev/null
@@ -0,0 +1,14 @@
+--- poppler-0.62.0/gtkdoc.py.orig      2018-02-14 00:01:33.698649806 +0100
++++ poppler-0.62.0/gtkdoc.py   2018-02-14 00:02:06.508409173 +0100
+@@ -319,9 +319,9 @@
+             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['LIBRARY_PATH'] = 'LD_LIBRARY_PATH="%s:%s" ' % (self.library_path, current_ld_library_path)
+             else:
+-                env['RUN'] = 'LD_LIBRARY_PATH="%s" ' % self.library_path
++                env['LIBRARY_PATH'] = 'LD_LIBRARY_PATH="%s" ' % self.library_path
+         if ldflags:
+             env['LDFLAGS'] = '%s %s' % (ldflags, env.get('LDFLAGS', ''))
index 89ec395bbd95b1739d51ec2ef813691b0b637783..f0119161de3b8b21aaf5152b2ebbb122c73dad3b 100644 (file)
@@ -18,6 +18,7 @@ Group:                Libraries
 Source0:       https://poppler.freedesktop.org/%{name}-%{version}.tar.xz
 # Source0-md5: 42b801f2defaccb6b6cf1bf783ee1552
 Patch0:                %{name}-gtkdocdir.patch
+Patch1:                %{name}-gtkdoc1_27.patch
 URL:           https://poppler.freedesktop.org/
 %{?with_qt5:BuildRequires:     Qt5Core-devel >= %{qt5_ver}}
 %{?with_qt5:BuildRequires:     Qt5Gui-devel >= %{qt5_ver}}
@@ -223,6 +224,7 @@ Pakiet zawiera zestaw narzędzi do plików PDF. Programy te umożliwiają
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 install -d build
This page took 0.052076 seconds and 4 git commands to generate.