From 11d912e056a57c6464e56bedb62bfbed552d4c1f Mon Sep 17 00:00:00 2001 From: Ørjan Malde Date: Dec 20 2024 21:45:19 +0000 Subject: patches/bdwgc{_pre}.local.patch: re-adjust patches. Signed-off-by: Ørjan Malde --- diff --git a/patches/bdwgc.local.patch b/patches/bdwgc.local.patch index 5af86b0..71367bf 100644 --- a/patches/bdwgc.local.patch +++ b/patches/bdwgc.local.patch @@ -33,8 +33,8 @@ diff -ru bdwgc.orig/include/private/gcconfig.h bdwgc/include/private/gcconfig.h # define mach_type_known #elif (defined(__i386__) || defined(i386) || defined(__X86__)) \ && (defined(ANY_BSD) || defined(DARWIN) || defined(EMBOX) \ -- || defined(LINUX) || defined(QNX)) -+ || defined(LINUX) || defined(QNX) || defined(MIDIPIX)) +- || defined(LINUX) || defined(QNX) || defined(SERENITY)) ++ || defined(LINUX) || defined(QNX) || defined(SERENITY) || defined(MIDIPIX)) # define I386 # define mach_type_known #elif (defined(__ia64) || defined(__ia64__)) && defined(LINUX) @@ -42,8 +42,8 @@ diff -ru bdwgc.orig/include/private/gcconfig.h bdwgc/include/private/gcconfig.h #elif (defined(__x86_64) || defined(__x86_64__) || defined(__amd64__) \ || defined(__X86_64__)) \ && (defined(ANY_BSD) || defined(COSMO) || defined(DARWIN) \ -- || defined(LINUX) || defined(QNX)) -+ || defined(LINUX) || defined(QNX) || defined(MIDIPIX)) +- || defined(LINUX) || defined(QNX) || defined(SERENITY)) ++ || defined(LINUX) || defined(QNX) || defined(SERENITY) || defined(MIDIPIX)) # define X86_64 # define mach_type_known #endif @@ -65,8 +65,8 @@ diff -ru bdwgc.orig/include/private/gcconfig.h bdwgc/include/private/gcconfig.h #if defined(AIX) || defined(ANY_BSD) || defined(BSD) || defined(COSMO) \ || defined(DARWIN) || defined(DGUX) || defined(HAIKU) || defined(HPUX) \ || defined(HURD) || defined(IRIX5) || defined(LINUX) || defined(OSF1) \ -- || defined(QNX) || defined(SVR4) -+ || defined(QNX) || defined(SVR4) || defined(MIDIPIX) +- || defined(QNX) || defined(SERENITY) || defined(SVR4) ++ || defined(QNX) || defined(SERENITY) || defined(SVR4) || defined(MIDIPIX) # define UNIX_LIKE /* Basic Unix-like system calls work. */ #endif diff --git a/patches/bdwgc_pre.local.patch b/patches/bdwgc_pre.local.patch index 2021312..b1c7ea5 100644 --- a/patches/bdwgc_pre.local.patch +++ b/patches/bdwgc_pre.local.patch @@ -4,8 +4,8 @@ *-*-aix* | *-*-android* | *-*-cygwin* | *-*-darwin* | *-*-dragonfly* | \ *-*-freebsd* | *-*-haiku* | *-*-hpux11* | *-*-irix* | \ *-*-kfreebsd*-gnu | *-*-gnu* | *-*-*linux* | *-*-msys* | *-*-nacl* | \ -- *-*-netbsd* | *-*-openbsd* | *-*-osf* | *-*-solaris*) -+ *-*-netbsd* | *-*-openbsd* | *-*-osf* | *-*-solaris* | *-*-midipix*) +- *-*-netbsd* | *-*-openbsd* | *-*-osf* | *-*-serenity* | *-*-solaris*) ++ *-*-netbsd* | *-*-openbsd* | *-*-osf* | *-*-serenity* | *-*-solaris* | *-*-midipix*) AC_DEFINE(GC_THREADS) AC_DEFINE([_REENTRANT], [1], [Required define if using POSIX threads.])