guix-play/gnu/packages/patches/pstoedit-fix-gcc12.patch
Maxim Cournoyer 43395dd244
gnu: pstoedit: Update to 4.00.
* gnu/packages/graphics.scm (pstoedit): Update to 4.00.
[source]: Apply patches.
[arguments]: New field.
[inputs]: Remove labels.  Add glib and pango.
* gnu/packages/patches/pstoedit-fix-gcc12.patch: New file.
* gnu/packages/patches/pstoedit-fix-plainC.patch: Likewise.
* gnu/packages/patches/pstoedit-pkglibdir.patch: Likewise.
* gnu/local.mk (dist_patch_DATA): Register them.

Change-Id: Ia17dae0ebc3e08b573b02431b10cc689a72a07dd
2024-08-31 10:44:57 +02:00

13 lines
317 B
Diff

Retrieved from Fedora: https://src.fedoraproject.org/rpms/pstoedit/tree
--- a/src/drvpptx.orig.cpp 2021-08-29 16:25:45.000000000 +0200
+++ b/src/drvpptx.cpp 2022-01-28 11:57:44.765756339 +0100
@@ -65,6 +65,7 @@
#define ZIP_EXTERN extern
#include <zip.h>
+#include <memory>
#ifdef _MSC_VER
// MS VC++ Windows