diff options
author | Pavel Vinogradov | 2018-10-31 22:11:27 -0400 |
---|---|---|
committer | Pavel Vinogradov | 2018-10-31 22:11:27 -0400 |
commit | da42d4f2bc690c5d9bea9914eb03351565f80cac (patch) | |
tree | f35fc48b04884f892065d3d2538a949344781bd2 /latex | |
parent | 259428565e8d3304aa71812d4a383d07fc56b5d0 (diff) |
latex/texlive: adapted to poppler 0.71.0 or higher
Diffstat (limited to 'latex')
-rw-r--r-- | latex/texlive/HISTORY | 4 | ||||
-rw-r--r-- | latex/texlive/patches/texlive-20180414-source-upstream_fixes-1.patch | 22 |
2 files changed, 26 insertions, 0 deletions
diff --git a/latex/texlive/HISTORY b/latex/texlive/HISTORY index 6f267706fa..46c8076394 100644 --- a/latex/texlive/HISTORY +++ b/latex/texlive/HISTORY @@ -1,3 +1,7 @@ +2018-10-31 Pavel Vinogradov <public@sourcemage.org> + * patches/texlive-20180414-source-upstream_fixes-1.patch: + adapted to poppler 0.71.0 or higher + 2018-10-23 Pavel Vinogradov <public@sourcemage.org> * patches/texlive-20180414-source-upstream_fixes-1.patch: adapted to poppler 0.70.0 or higher diff --git a/latex/texlive/patches/texlive-20180414-source-upstream_fixes-1.patch b/latex/texlive/patches/texlive-20180414-source-upstream_fixes-1.patch index 555db71d40..f3c379f25b 100644 --- a/latex/texlive/patches/texlive-20180414-source-upstream_fixes-1.patch +++ b/latex/texlive/patches/texlive-20180414-source-upstream_fixes-1.patch @@ -104,6 +104,28 @@ diff -Naur a/texk/web2c/luatexdir/image/pdftoepdf.w b/texk/web2c/luatexdir/image diff -Naur a/texk/web2c/luatexdir/lua/lepdflib.cc b/texk/web2c/luatexdir/lua/lepdflib.cc --- a/texk/web2c/luatexdir/lua/lepdflib.cc 2018-02-14 14:44:38.000000000 +0000 +++ b/texk/web2c/luatexdir/lua/lepdflib.cc 2018-04-30 16:29:17.889917722 +0100 +@@ -219,7 +219,6 @@ + { + Attribute::Type t; + const char *n; +- int nlen; + udstruct *uobj, *uout; + + if (lua_type(L,1)==LUA_TNUMBER) { +@@ -235,12 +234,11 @@ + + } else if (lua_type(L,1)==LUA_TSTRING) { + n = luaL_checkstring(L,1); +- nlen = luaL_checkint(L,2); + uobj = (udstruct *) luaL_checkudata(L, 3, M_Object); + if (uobj->pd != NULL && uobj->pd->pc != uobj->pc) + pdfdoc_changed_error(L); + uout = new_Attribute_userdata(L); +- uout->d = new Attribute(n, nlen, (Object *)uobj->d); ++ uout->d = new Attribute(GooString(n), (Object *)uobj->d); + uout->atype = ALLOC_LEPDF; + uout->pc = uobj->pc; + uout->pd = uobj->pd; @@ -439,7 +439,7 @@ break; case 1: |