summaryrefslogtreecommitdiffstats
path: root/libraries/podofo/podofo-0.9.4_build.patch
diff options
context:
space:
mode:
author Larry Hajali2017-01-29 00:56:53 +0100
committer Willy Sudiarto Raharjo2017-02-04 00:59:44 +0100
commit88e5c3126b2c3d5357b6343ac56d19b339c25a9b (patch)
tree583cf87a646f9685cc206f8d8ae6fb7b3d2ca077 /libraries/podofo/podofo-0.9.4_build.patch
parentced02387b46708d56d0caf54cd70478a79faab42 (diff)
downloadslackbuilds-88e5c3126b2c3d5357b6343ac56d19b339c25a9b.tar.gz
libraries/podofo: fix building against cppunit on x86
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
Diffstat (limited to 'libraries/podofo/podofo-0.9.4_build.patch')
-rw-r--r--libraries/podofo/podofo-0.9.4_build.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/libraries/podofo/podofo-0.9.4_build.patch b/libraries/podofo/podofo-0.9.4_build.patch
new file mode 100644
index 0000000000..3c4b72a751
--- /dev/null
+++ b/libraries/podofo/podofo-0.9.4_build.patch
@@ -0,0 +1,12 @@
+diff -rupN podofo-0.9.4/test/unit/EncryptTest.h podofo-0.9.4-new/test/unit/EncryptTest.h
+--- podofo-0.9.4/test/unit/EncryptTest.h 2012-12-12 23:55:46.000000000 +0100
++++ podofo-0.9.4-new/test/unit/EncryptTest.h 2016-09-18 10:41:30.476635230 +0200
+@@ -83,7 +83,7 @@ class EncryptTest : public CppUnit::Test
+
+ private:
+ char* m_pEncBuffer;
+- long m_lLen;
++ PoDoFo::pdf_long m_lLen;
+ int m_protection;
+
+ };