ghostscript_gpl-9.26.patchset revision a4b97212
1From 476a63ad1478ae24038f38edf61ef26c18a9c5f9 Mon Sep 17 00:00:00 2001
2From: Adrien Destugues <pulkomandy@pulkomandy.tk>
3Date: Sun, 10 Mar 2019 13:45:11 +0100
4Subject: Fix build on x86 32bit
5
6Conflict of macro name with a struct field in one of our headers.
7
8diff --git a/psi/estack.h b/psi/estack.h
9index f48c726..4a59ff9 100644
10--- a/psi/estack.h
11+++ b/psi/estack.h
12@@ -18,6 +18,8 @@
13 #ifndef estack_INCLUDED
14 #  define estack_INCLUDED
15 
16+#include <signal.h> /* before we #define esp, which prevents it from building */
17+
18 #include "iestack.h"
19 #include "icstate.h"		/* for access to exec_stack */
20 
21-- 
222.19.1
23
24
25From 0e065ed8df55ba2742d6567f8e4148edf0f17bea Mon Sep 17 00:00:00 2001
26From: Adrien Destugues <pulkomandy@pulkomandy.tk>
27Date: Wed, 13 Mar 2019 21:14:28 +0100
28Subject: fix building shared libs
29
30
31diff --git a/configure.ac b/configure.ac
32index 8ecaccc..c52a2c3 100644
33--- a/configure.ac
34+++ b/configure.ac
35@@ -2396,7 +2396,7 @@ else
36       DLL_EXT=".dll"
37       SO_LIB_VERSION_SEPARATOR="-"
38     ;;
39-    *BSD)
40+    *BSD|Haiku*)
41       DYNAMIC_CFLAGS="-fPIC"
42       GS_DYNAMIC_LDFLAGS="-shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(GS_SONAME_MAJOR)"
43       PCL_DYNAMIC_LDFLAGS="-shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(PCL_SONAME_MAJOR)"
44-- 
452.19.1
46
47