From fdcfbd642f6f89e79c086f2bfae6b5d5a2b97672 Mon Sep 17 00:00:00 2001 From: Alexey Pavlov Date: Sat, 11 Apr 2020 14:49:35 +0300 Subject: [PATCH] qpdf: Disable patch --- mingw-w64-qpdf/0001-fix-printf-on-mingw-w64.patch | 2 +- mingw-w64-qpdf/PKGBUILD | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mingw-w64-qpdf/0001-fix-printf-on-mingw-w64.patch b/mingw-w64-qpdf/0001-fix-printf-on-mingw-w64.patch index d937f37737..04ce846de9 100644 --- a/mingw-w64-qpdf/0001-fix-printf-on-mingw-w64.patch +++ b/mingw-w64-qpdf/0001-fix-printf-on-mingw-w64.patch @@ -16,7 +16,7 @@ index 3c13836..b6efcf3 100644 static void report_errors() { -#ifdef _WIN32 -+#if defined _WIN32 && !defined(__USE_MINGW_ANSI_STDIO) ++#if defined(_WIN32) && !defined(__USE_MINGW_ANSI_STDIO) # define POS_FMT " pos : %I64d\n" #else /* If your compiler doesn't support lld, change to ld and lose diff --git a/mingw-w64-qpdf/PKGBUILD b/mingw-w64-qpdf/PKGBUILD index 8d2d057f4d..f8e5fc879c 100644 --- a/mingw-w64-qpdf/PKGBUILD +++ b/mingw-w64-qpdf/PKGBUILD @@ -23,14 +23,14 @@ source=(https://github.com/qpdf/qpdf/releases/download/release-${_realname}-${pk "0003-install-rule.patch") sha512sums=('b73c0839b08905052d90ed78645cc9fb4fda4a0fa803db7b46f3d77a2c2f7e8cec52173834b1e1f008f3a3475a7d913362d22e1ebece11187a90c9035b81de94' 'SKIP' - '0a620e492965b88c7db0116ebee9a7131549f1abce02812876d25806d424e2458305b6423644a2992d701b6908541b75571390e1577498730246c6f819c5cdc0' + '8d02655546e2e8182b3ac8df0387d4e34d1e86ee44d1311f5349fd8f82a328583785f2c99feee4c65db2569629b76a0b6edeb5b9bbf3b6b01d3708847a1f15bf' '485f108e96b92e76620fcf8e3ddc350d67c5458eea0adcd6a5e11d29fa980c7d9672f832aaec644b39f57674fa505a8d5748059a6b0da027be38b1a7ed01036e' '4b93c1af24d5afc84445b00563da0ab60d46654830104690e53844dc1bdb278ac39d8a059c12501f34afb31411a53e2b46f3f953e690f582e3561a9eeb9131a5') validpgpkeys=('C2C96B10011FE009E6D1DF828A75D10998012C7E') # Jay Berkenbilt prepare() { cd "${srcdir}/${_realname}-${pkgver}" - patch -p1 -i "${srcdir}/0001-fix-printf-on-mingw-w64.patch" + #patch -p1 -i "${srcdir}/0001-fix-printf-on-mingw-w64.patch" patch -p1 -i "${srcdir}/0002-enable-advapi32-mingw.patch" patch -p1 -i "${srcdir}/0003-install-rule.patch"