3 # Patch managed by http://www.holgerschurig.de/patcher.html
6 --- qpdf2_2.2.1/qpdfview.cpp~hack-the-hack.patch
7 +++ qpdf2_2.2.1/qpdfview.cpp
10 #pragma implementation
13 +#define private public
17 --- qpdf2_2.2.1/qpdf.h~hack-the-hack.patch
18 +++ qpdf2_2.2.1/qpdf.h
20 +#define private public
28 +#define private public
30 #include <qpe/qpeapplication.h>
31 #include <qpe/resource.h>
32 #include <qpe/applnk.h>
33 --- qpdf2_2.2.1/qpdf.cpp~hack-the-hack.patch
34 +++ qpdf2_2.2.1/qpdf.cpp
37 //========================================================================
40 +#define private public
42 #include <qpe/qpemenubar.h>
49 @@ -2636,15 +2636,6 @@
50 setRenameBar( false );
63 QPDFWindow::writeConfig()
65 --- qpdf2_2.2.1/textedit.cpp~hack-the-hack.patch
66 +++ qpdf2_2.2.1/textedit.cpp
68 **********************************************************************/
70 #include <stdlib.h> //getenv
72 +#define private public
73 #include <qpe/global.h>
74 #include <qpe/fileselector.h>
75 #include <qpe/applnk.h>
76 --- qpdf2_2.2.1/autotest.cpp~hack-the-hack.patch
77 +++ qpdf2_2.2.1/autotest.cpp
79 qobject.h - make the activate_xxx functions public
83 +#define private public
86 //#define MEM_LEAKS_EVENT_COUNT 50000
87 --- qpdf2_2.2.1/qpdffileselector.cpp~hack-the-hack.patch
88 +++ qpdf2_2.2.1/qpdffileselector.cpp
94 +#define private public
98 --- qpdf2_2.2.1/qpdfconfig.cpp~hack-the-hack.patch
99 +++ qpdf2_2.2.1/qpdfconfig.cpp
101 +#define private public
103 #include <qpushbutton.h>
104 #include <qradiobutton.h>
105 --- qpdf2_2.2.1/qqimage.cpp~hack-the-hack.patch
106 +++ qpdf2_2.2.1/qqimage.cpp
108 "protected:" and add "friend class QQImage" to class QImage.
112 +#define private public
114 /****************************************************************************
115 ** $Id: qt/src/kernel/qimage.cpp 2.3.8-snapshot-20040114 edited 2003-12-29 $
116 --- qpdf2_2.2.1/qdocnotes.cpp~hack-the-hack.patch
117 +++ qpdf2_2.2.1/qdocnotes.cpp
119 #include <qpe/stringutil.h>
121 #include <qfileinfo.h>
128 return(save(m_filepath, state));
134 -extern char *strerror(int);
138 - extern char *strerror(int);
144 QDocNotes::save(const QString &filepath, QDocState *state)
146 --- qpdf2_2.2.1/xpdf/PDFDoc.cc~hack-the-hack.patch
147 +++ qpdf2_2.2.1/xpdf/PDFDoc.cc
149 //========================================================================
154 #ifdef USE_GCC_PRAGMAS
155 #pragma implementation
163 -extern char *strerror(int);
167 - extern char *strerror(int);
171 void PDFDoc::displayPage(OutputDev *out, int page, fouble hDPI, fouble vDPI,
172 int rotate, GBool doLinks,
173 GBool (*abortCheckCbk)(void *data),