Date: Saturday, January 19, 2019 @ 14:46:40 Author: foutrelis Revision: 344485
Change Guint to unsigned int in pdftex-poppler0.72.patch As per upstream commit: https://github.com/TeX-Live/texlive-source/commit/68f53cf1699a Also do similar substitutions in texk/web2c/luatexdir with sed. Modified: texlive-bin/trunk/PKGBUILD texlive-bin/trunk/pdftex-poppler0.72.patch --------------------------+ PKGBUILD | 12 +++++++++--- pdftex-poppler0.72.patch | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-01-19 13:14:17 UTC (rev 344484) +++ PKGBUILD 2019-01-19 14:46:40 UTC (rev 344485) @@ -19,7 +19,7 @@ "freetype-pkgconfig.patch" "synctex-missing-header.patch") sha256sums=('SKIP' - '34a2b36db5994c3c9f4cc0ac3e277c72b11b15b59f2515d59672119532c94c4d' + 'c70f1cf5bee5cba17b40855d584c7f1e8f67c2bf1ce4633a1c5abcdebb59865c' 'ea2abcaf57cfb99c22560a1d98daa7468dafd4713425ef01a6fda29803bf39bc' '7deb8bd50640b0f4ff9b4c11985fe6153906384b62cb9b5a3c4b52397fb941ca' 'bed44f4ccda369410e90eac527cf44b8c1afda7d987ae521b4fd5edb425eef3e' @@ -42,8 +42,14 @@ # luatex switched from poppler to pplib in newer versions so # upstream fixes aren't available; hopefully this is correct patch -Np1 -i "${srcdir}/luatex-poppler-fixes.patch" - find texk/web2c/luatexdir -type f | xargs sed -e 's|gTrue|true|g' -e 's|gFalse|false|g' -e 's|GBool|bool|g' -e 's|getCString|c_str|g' -i - find texk/web2c/pdftexdir -type f | xargs sed -e 's|Guint|unsigned int|g' -i + find texk/web2c/luatexdir -type f -exec sed -i \ + -e 's|gTrue|true|g' \ + -e 's|gFalse|false|g' \ + -e 's|GBool|bool|g' \ + -e 's|getCString|c_str|g' \ + -e 's|Guint|unsigned int|g' \ + -e 's|Guchar|unsigned char|g' \ + {} + # xetex poppler compatibility patch -Np1 -i "${srcdir}/xetex-poppler-fixes.patch" # pdftex poppler compatibility (upstream patches) Modified: pdftex-poppler0.72.patch =================================================================== --- pdftex-poppler0.72.patch 2019-01-19 13:14:17 UTC (rev 344484) +++ pdftex-poppler0.72.patch 2019-01-19 14:46:40 UTC (rev 344485) @@ -1295,7 +1295,7 @@ + Object objStr, obj1, obj2; + int nObjects, first, n; + int localOffset = 0; -+ Guint firstOffset; ++ unsigned int firstOffset; + + objStr = xref->fetch(e->offset, 0); + assert(objStr.isStream());
