Package: qpdf
Version: 2.1-1
Severity: normal
Tags: patch

Hello,

trying to build "qpdf" in Ubuntu Lucid with g++ 4.4 failed with the
following error:
,---- [ 
http://launchpadlibrarian.net/36005866/buildlog_ubuntu-lucid-amd64.qpdf_2.1-1_FAILEDTOBUILD.txt.gz
 ]
| In file included from libqpdf/Pl_AES_PDF.cc:1:
| libqpdf/qpdf/Pl_AES_PDF.hh:45: error: 'uint32_t' does not name a type
| libqpdf/Pl_AES_PDF.cc: In constructor 'Pl_AES_PDF::Pl_AES_PDF(const char*, 
Pipeline*, bool, const unsigned char*)':
| libqpdf/Pl_AES_PDF.cc:28: error: 'class Pl_AES_PDF' has no member named 'rk'
| libqpdf/Pl_AES_PDF.cc:30: error: 'class Pl_AES_PDF' has no member named 'rk'
| libqpdf/Pl_AES_PDF.cc:30: error: 'class Pl_AES_PDF' has no member named 'rk'
| libqpdf/Pl_AES_PDF.cc:36: error: 'class Pl_AES_PDF' has no member named 'rk'
| libqpdf/Pl_AES_PDF.cc:40: error: 'class Pl_AES_PDF' has no member named 'rk'
| libqpdf/Pl_AES_PDF.cc: In member function 'void Pl_AES_PDF::flush(bool)':
| libqpdf/Pl_AES_PDF.cc:180: error: 'class Pl_AES_PDF' has no member named 'rk'
| libqpdf/Pl_AES_PDF.cc:188: error: 'class Pl_AES_PDF' has no member named 'rk'
`----
The patch at the end of this mail fixes it.

Regards,
Michael

--- qpdf-2.1.orig/libqpdf/qpdf/Pl_AES_PDF.hh
+++ qpdf-2.1/libqpdf/qpdf/Pl_AES_PDF.hh
@@ -1,6 +1,7 @@
 #ifndef __PL_AES_PDF_HH__
 #define __PL_AES_PDF_HH__
 
+#include <stdint.h>
 #include <qpdf/Pipeline.hh>
 #include <qpdf/qpdf-config.h>
 



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to