Accepting request 624117 from home:alarrosa:branches:Publishing:TeXLive

- Add source-fix-const-poppler0.66.0.patch to fix several const
  issues that broke the build of texlive with poppler 0.66.0.

OBS-URL: https://build.opensuse.org/request/show/624117
OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive?expand=0&rev=304
This commit is contained in:
2018-07-20 09:53:16 +00:00
committed by Git OBS Bridge
parent 798b3d5e96
commit d7b0ca997a
3 changed files with 134 additions and 1 deletions

View File

@@ -273,6 +273,8 @@ Patch50: source-dvipdfm-x.dif
Patch51: freetype-use-pkg-config.patch
# PATCH-FIX-TEXLIVE
Patch52: source-tounicode.dif
# PATCH-FIX-TEXLIVE
Patch53: source-fix-const-poppler0.66.0.patch
Prefix: %{_bindir}
Provides: pdfjam = %{version}
Obsoletes: pdfjam < %{version}
@@ -3521,7 +3523,7 @@ This package is required by the package texlive-biber-bin.
tar --use-compress-program=xz --strip-components=1 -xf %{S:0}
%if %{with buildbiber}
pushd ../
pushd ../
tar --use-compress-program=xz -xf %{S:3}
popd
%endif
@@ -3575,6 +3577,10 @@ popd
%patch51 -p1 -b .fft2
%patch52 -p0 -b .2utf8
%if %{?pkg_vcmp:%{pkg_vcmp libpoppler-devel >= 0.66.0}}%{!?pkg_vcmp:0}
%patch53 -p0 -b .poppler
%endif
# Correct FHS paths
paths=$(find -name cnf-to-paths.awk)
test -n "$paths" || exit 1