mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-20 02:30:05 +02:00
add a ghostscript_gpl9 packagage with libgs.so.9 for compatibility until all packages have been migrated to gs 10. Also, add the patch for CVE-2023-28879. ghostscript8: remove This version was built with gcc11 which wouldn't work with BeOS apps anyway. BGhostView was already migrated to ghostscript 9.
166 lines
4.8 KiB
Plaintext
166 lines
4.8 KiB
Plaintext
From 3e2da1676a7b3a1e9da9c29ada52723e03b37f8a Mon Sep 17 00:00:00 2001
|
|
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
|
Date: Sun, 10 Mar 2019 13:45:11 +0100
|
|
Subject: Fix build on x86 32bit
|
|
|
|
Conflict of macro name with a struct field in one of our headers.
|
|
|
|
diff --git a/psi/estack.h b/psi/estack.h
|
|
index 42a5c0a..786787d 100644
|
|
--- a/psi/estack.h
|
|
+++ b/psi/estack.h
|
|
@@ -18,6 +18,8 @@
|
|
#ifndef estack_INCLUDED
|
|
# define estack_INCLUDED
|
|
|
|
+#include <signal.h> /* before we #define esp, which prevents it from building */
|
|
+
|
|
#include "iestack.h"
|
|
#include "icstate.h" /* for access to exec_stack */
|
|
|
|
--
|
|
2.37.3
|
|
|
|
|
|
From dbcfce9c0714c80c684b6eda5c1f19b1d4832e76 Mon Sep 17 00:00:00 2001
|
|
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
|
Date: Wed, 13 Mar 2019 21:14:28 +0100
|
|
Subject: fix building shared libs
|
|
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 68c716b..f2197d9 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -3066,7 +3066,7 @@ case $host in
|
|
GPDL_SONAME_MAJOR="lib\$(GPDL${libname3}"
|
|
GPDL_SONAME_MAJOR_MINOR="cyg\$(GPDL${libname2}"
|
|
;;
|
|
- *bsd*)
|
|
+ *bsd*|*haiku*)
|
|
DYNAMIC_CFLAGS="-fPIC $DYNAMIC_CFLAGS"
|
|
GS_DYNAMIC_LDFLAGS="-shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(GS_SONAME_MAJOR)"
|
|
PCL_DYNAMIC_LDFLAGS="-shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(PCL_SONAME_MAJOR)"
|
|
--
|
|
2.37.3
|
|
|
|
|
|
From 9ebe19b0a8e140d8d8dcbdf00d42c8af237802ae Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Joachim=20Mairb=C3=B6ck?= <j.mairboeck@gmail.com>
|
|
Date: Sun, 31 Oct 2021 22:03:15 +0100
|
|
Subject: fix looking for dlopen in libdl only
|
|
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index f2197d9..cbe25a1 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -661,8 +661,8 @@ if test "x$ac_cv_header_inttypes_h" = "xyes"; then
|
|
GCFLAGS="$GCFLAGS -DHAVE_INTTYPES_H=1"
|
|
fi
|
|
|
|
-AC_CHECK_LIB([dl], [dlopen],
|
|
- [AC_CHECK_HEADER([dlfcn.h], [GCFLAGS="$GCFLAGS -DHAVE_LIBDL=1";LIBS="-ldl $LIBS"])]
|
|
+AC_SEARCH_LIBS([dlopen], [dl],
|
|
+ [AC_CHECK_HEADER([dlfcn.h], [GCFLAGS="$GCFLAGS -DHAVE_LIBDL=1"])]
|
|
)
|
|
|
|
large_color_index=1
|
|
--
|
|
2.37.3
|
|
|
|
|
|
From 37e790a9a009daead7ff98968bc673881175df8c Mon Sep 17 00:00:00 2001
|
|
From: Anarchos <sylvain_kerjean@hotmail.com>
|
|
Date: Wed, 2 Mar 2022 21:15:32 +0100
|
|
Subject: debug flags for haiku
|
|
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index cbe25a1..6f0e98c 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -280,7 +280,7 @@ SET_DT_SONAME="-soname="
|
|
CFLAGS_LARGEFILE=""
|
|
|
|
case $host in
|
|
- *-linux*|*-gnu)
|
|
+ *-linux*|*-gnu|*-haiku)
|
|
if test x"$GCC" = x"yes"; then
|
|
CC_OPT_FLAGS_TO_TRY="-O2 -DNDEBUG"
|
|
CC_DBG_FLAGS_TO_TRY="-gdwarf-2 -g3 -O0"
|
|
--
|
|
2.37.3
|
|
|
|
|
|
From 9ca5737d3dd79aba9c171121e229c3c601861c43 Mon Sep 17 00:00:00 2001
|
|
From: Anarchos <sylvain_kerjean@hotmail.com>
|
|
Date: Fri, 4 Mar 2022 05:47:01 +0100
|
|
Subject: -g
|
|
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 6f0e98c..68d42e5 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -283,7 +283,7 @@ case $host in
|
|
*-linux*|*-gnu|*-haiku)
|
|
if test x"$GCC" = x"yes"; then
|
|
CC_OPT_FLAGS_TO_TRY="-O2 -DNDEBUG"
|
|
- CC_DBG_FLAGS_TO_TRY="-gdwarf-2 -g3 -O0"
|
|
+ CC_DBG_FLAGS_TO_TRY="-g"
|
|
CC_VISIBILITY_FLAGS_TO_TRY="-fvisibility=hidden"
|
|
fi
|
|
;;
|
|
--
|
|
2.37.3
|
|
|
|
|
|
From 978e4572d5186fc354aa99258cdeba29f3682ebc Mon Sep 17 00:00:00 2001
|
|
From: Anarchos <sylvain_kerjean@hotmail.com>
|
|
Date: Thu, 10 Mar 2022 17:11:47 +0100
|
|
Subject: debug flags
|
|
|
|
|
|
diff --git a/base/unix-dll.mak b/base/unix-dll.mak
|
|
index 89dfa5a..693d9cf 100644
|
|
--- a/base/unix-dll.mak
|
|
+++ b/base/unix-dll.mak
|
|
@@ -431,7 +431,8 @@ soinstall:
|
|
$(MAKE) $(SUB_MAKE_OPTION) soinstall-subtarget BUILDDIRPREFIX=$(SODIRPREFIX)
|
|
|
|
sodebuginstall:
|
|
- $(MAKE) $(SUB_MAKE_OPTION) soinstall-subtarget GENOPT='-DDEBUG' BUILDDIRPREFIX=$(SODEBUGDIRPREFIX)
|
|
+ GENOPT='-DDEBUG -g'
|
|
+ $(MAKE) $(SUB_MAKE_OPTION) soinstall-subtarget GENOPT='$(GENOPT)' BUILDDIRPREFIX=$(SODEBUGDIRPREFIX)
|
|
|
|
soinstall-subtarget: install-so install-scripts install-data $(INSTALL_SHARED) $(INSTALL_CONTRIB)
|
|
|
|
--
|
|
2.37.3
|
|
|
|
|
|
From c16a0730b6421a2b6dc012655e61df0efdd50135 Mon Sep 17 00:00:00 2001
|
|
From: Anarchos <sylvain_kerjean@hotmail.com>
|
|
Date: Thu, 10 Mar 2022 21:44:39 +0100
|
|
Subject: revert
|
|
|
|
|
|
diff --git a/base/unix-dll.mak b/base/unix-dll.mak
|
|
index 693d9cf..89dfa5a 100644
|
|
--- a/base/unix-dll.mak
|
|
+++ b/base/unix-dll.mak
|
|
@@ -431,8 +431,7 @@ soinstall:
|
|
$(MAKE) $(SUB_MAKE_OPTION) soinstall-subtarget BUILDDIRPREFIX=$(SODIRPREFIX)
|
|
|
|
sodebuginstall:
|
|
- GENOPT='-DDEBUG -g'
|
|
- $(MAKE) $(SUB_MAKE_OPTION) soinstall-subtarget GENOPT='$(GENOPT)' BUILDDIRPREFIX=$(SODEBUGDIRPREFIX)
|
|
+ $(MAKE) $(SUB_MAKE_OPTION) soinstall-subtarget GENOPT='-DDEBUG' BUILDDIRPREFIX=$(SODEBUGDIRPREFIX)
|
|
|
|
soinstall-subtarget: install-so install-scripts install-data $(INSTALL_SHARED) $(INSTALL_CONTRIB)
|
|
|
|
--
|
|
2.37.3
|
|
|