guix-mirrors/gnu/packages/patches/podofo-gcc-14.patch
Janneke Nieuwenhuizen ae7e80d8ed
gnu: podofo: Fix build with gcc-14.
* gnu/packages/patches/podofo-gcc-14.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/pdf.scm (podofo)[source]: Use it.

Change-Id: I9a85c994f69587cc3ba463a3e647f0aeebd53d04
2025-07-18 20:17:21 +02:00

13 lines
432 B
Diff

Upstream-status: Not presented upstream.
--- podofo-0.9.8/test/unit/StringTest.h.orig 2025-01-02 17:35:43.328872274 +0100
+++ podofo-0.9.8/test/unit/StringTest.h 2025-01-02 17:36:17.384862445 +0100
@@ -22,6 +22,8 @@
#define _STRING_TEST_H_
#include <cppunit/extensions/HelperMacros.h>
+#include <podofo/base/PdfString.h>
+namespace PoDoFo {std::ostream& operator<<(std::ostream& o, const PdfString& s);}
#ifndef __clang__