--- /dev/null
+--- podofo-0.9.8/test/unit/StringTest.cpp.orig 2019-01-15 14:04:40.000000000 +0100
++++ podofo-0.9.8/test/unit/StringTest.cpp 2023-01-29 16:58:01.449674179 +0100
+@@ -18,22 +18,22 @@
+ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
+ ***************************************************************************/
+
+-#include "StringTest.h"
+-
+ #include <podofo.h>
+
+ #ifndef __clang__
+
+ using namespace PoDoFo;
+
+-// Registers the fixture into the 'registry'
+-CPPUNIT_TEST_SUITE_REGISTRATION( StringTest );
+-
+ inline std::ostream& operator<<(std::ostream& o, const PdfString& s)
+ {
+ return o << s.GetStringUtf8();
+ }
+
++#include "StringTest.h"
++
++// Registers the fixture into the 'registry'
++CPPUNIT_TEST_SUITE_REGISTRATION( StringTest );
++
+ void StringTest::setUp()
+ {
+ }
Group: Libraries
Source0: https://downloads.sourceforge.net/podofo/%{name}-%{version}.tar.gz
# Source0-md5: f6d3d5f917c7150c44fc6a15848442dd
+Patch0: %{name}-cppunit.patch
URL: https://podofo.sourceforge.net/
# for examples only, with -DWANT_BOOST=ON
#BuildRequires: boost-devel
%prep
%setup -q
+%patch0 -p1
%build
install -d build