[SCM] libspectre packaging branch, master, updated. debian/0.2.7-3-4-g22c34c4
Pino Toscano
pino at moszumanska.debian.org
Mon Apr 11 19:37:16 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/krap/libspectre.git;a=commitdiff;h=3b3ce35
The following commit has been merged in the master branch:
commit 3b3ce357f6552b560f88e0abf83181359e26cd12
Author: Pino Toscano <pino at debian.org>
Date: Mon Apr 11 21:31:50 2016 +0200
fix build with Ghostscript >= 9.18 (#815738)
backport upstream commit 34a52f30400aab1c21c69c31122d496751d7d99e
---
debian/changelog | 4 +++
debian/patches/series | 1 +
...tream_Fix-the-build-with-Ghostscript-9.18.patch | 34 ++++++++++++++++++++++
3 files changed, 39 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 8f45415..9131626 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,9 @@
libspectre (0.2.7-4) UNRELEASED; urgency=medium
+ [ Pino Toscano ]
+ * Backport upstream commit 34a52f30400aab1c21c69c31122d496751d7d99e to fix
+ build with Ghostscript >= 9.18; patch
+ upstream_Fix-the-build-with-Ghostscript-9.18.patch. (Closes: #815738)
-- Debian Krap Maintainers <debian-qt-kde at lists.debian.org> Mon, 11 Apr 2016 21:26:26 +0200
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..93510fb
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+upstream_Fix-the-build-with-Ghostscript-9.18.patch
diff --git a/debian/patches/upstream_Fix-the-build-with-Ghostscript-9.18.patch b/debian/patches/upstream_Fix-the-build-with-Ghostscript-9.18.patch
new file mode 100644
index 0000000..da9cfa4
--- /dev/null
+++ b/debian/patches/upstream_Fix-the-build-with-Ghostscript-9.18.patch
@@ -0,0 +1,34 @@
+From 34a52f30400aab1c21c69c31122d496751d7d99e Mon Sep 17 00:00:00 2001
+From: Carlos Garcia Campos <carlosgc at gnome.org>
+Date: Sat, 2 Apr 2016 11:15:38 +0200
+Subject: [PATCH] Fix the build with Ghostscript >= 9.18
+
+---
+ libspectre/spectre-gs.c | 11 +++++++++++
+ 1 file changed, 11 insertions(+)
+
+diff --git a/libspectre/spectre-gs.c b/libspectre/spectre-gs.c
+index 93444a4..b0821ce 100644
+--- a/libspectre/spectre-gs.c
++++ b/libspectre/spectre-gs.c
+@@ -29,6 +29,17 @@
+ #include <ghostscript/iapi.h>
+ #include <ghostscript/ierrors.h>
+
++/* e_ macros have been removed from Ghostscript in 9.18. */
++#ifndef e_Fatal
++#define e_Fatal gs_error_Fatal
++#endif
++#ifndef e_NeedInput
++#define e_NeedInput gs_error_NeedInput
++#endif
++#ifndef e_ExecStackUnderflow
++#define e_ExecStackUnderflow gs_error_ExecStackUnderflow
++#endif
++
+ #define BUFFER_SIZE 32768
+
+ struct SpectreGS {
+--
+2.8.0.rc3
+
--
libspectre packaging
More information about the pkg-kde-commits
mailing list