app-text/podofo: fix 0.9.3 tests for bug 556962
authorZac Medico <zmedico@gentoo.org>
Sun, 13 Sep 2015 22:29:32 +0000 (15:29 -0700)
committerZac Medico <zmedico@gentoo.org>
Sun, 13 Sep 2015 23:39:52 +0000 (16:39 -0700)
Package-Manager: portage-2.2.20.1

app-text/podofo/podofo-0.9.3.ebuild

index 767b20921ca66fad69fe873c4ca880f963724555..8d0b76fe44965e928fe4fcceaebdef3e22f685fa 100644 (file)
@@ -33,6 +33,10 @@ DOCS="AUTHORS ChangeLog TODO"
 src_prepare() {
        local x sed_args
 
+       # bug 556962
+       sed -i -e 's|Decrypt( pEncryptedBuffer, nOutputLen, pDecryptedBuffer, m_lLen );|Decrypt( pEncryptedBuffer, (pdf_long)nOutputLen, pDecryptedBuffer, (pdf_long\&)m_lLen );|' \
+               test/unit/EncryptTest.cpp || die
+
        sed -i \
                -e "s:LIBDIRNAME \"lib\":LIBDIRNAME \"$(get_libdir)\":" \
                -e "s:LIBIDN_FOUND:HAVE_LIBIDN:g" \