summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2022-01-02 10:20:41 +0100
committerLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2022-01-02 10:20:41 +0100
commit34629e9059189a95a979271177fb1064b8a6710e (patch)
tree500b1d0dcb4c7ca117a4f1ae46d3cebcf00422f1
parent2ebcf8fa8eaaadd4bcf9809d92c323b043900f6e (diff)
downloadmidipix_build-34629e9059189a95a979271177fb1064b8a6710e.tar.bz2
midipix_build-34629e9059189a95a979271177fb1064b8a6710e.tar.xz
patches/bdwgc_pre.local.patch: updated.
-rw-r--r--patches/bdwgc_pre.local.patch27
1 files changed, 13 insertions, 14 deletions
diff --git a/patches/bdwgc_pre.local.patch b/patches/bdwgc_pre.local.patch
index ba43365..dfb7f7a 100644
--- a/patches/bdwgc_pre.local.patch
+++ b/patches/bdwgc_pre.local.patch
@@ -1,7 +1,6 @@
-diff -ru bdwgc.orig/configure.ac bdwgc/configure.ac
---- bdwgc.orig/configure.ac 2020-07-05 12:09:58.042430329 +0200
-+++ bdwgc/configure.ac 2020-07-06 19:34:20.918143543 +0200
-@@ -194,7 +194,7 @@
+--- bdwgc/configure.ac.orig 2022-01-02 10:17:27.670680925 +0100
++++ bdwgc/configure.ac 2022-01-02 10:19:10.029685443 +0100
+@@ -206,7 +206,7 @@
*-*-aix* | *-*-android* | *-*-cygwin* | *-*-darwin* | *-*-dragonfly* | \
*-*-freebsd* | *-*-haiku* | *-*-hpux11* | *-*-irix* | \
*-*-kfreebsd*-gnu | *-*-gnu* | *-*-*linux* | *-*-msys* | *-*-nacl* | \
@@ -10,7 +9,7 @@ diff -ru bdwgc.orig/configure.ac bdwgc/configure.ac
AC_DEFINE(GC_THREADS)
AC_DEFINE([_REENTRANT], [1],
[Required define if using POSIX threads.])
-@@ -240,6 +240,10 @@
+@@ -252,6 +252,10 @@
THREADDLLIBS=""
win32_threads=true
;;
@@ -21,12 +20,12 @@ diff -ru bdwgc.orig/configure.ac bdwgc/configure.ac
*-*-mingw*)
AC_DEFINE(GC_WIN32_PTHREADS)
# Using pthreads-win32 (or other non-Cygwin pthreads) library.
-@@ -791,7 +795,7 @@
- [AC_TRY_COMPILE([
- #ifdef __CYGWIN__
- #define _GNU_SOURCE 1
--#elif defined(__linux__) || defined(__GLIBC__) || defined(__GNU__)
-+#elif defined(__linux__) || defined(__GLIBC__) || defined(__GNU__) || defined(__midipix__)
- #define _GNU_SOURCE 1
- #endif
- #include <pthread.h>],
+@@ -810,7 +814,7 @@
+ [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
+ # ifdef __CYGWIN__
+ # define _GNU_SOURCE 1
+-# elif defined(__linux__) || defined(__GLIBC__) || defined(__GNU__)
++# elif defined(__linux__) || defined(__GLIBC__) || defined(__GNU__) || defined(__midipix__)
+ # define _GNU_SOURCE 1
+ # endif
+ # include <pthread.h>