mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
cpuid: try to fix build on builders using older beta5. (#12933)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 9c8cad858d712e36468c8925eb3fd5ceb5d7d337 Mon Sep 17 00:00:00 2001
|
||||
From 6224b7667657c85e8cfa063fa01560979b33a680 Mon Sep 17 00:00:00 2001
|
||||
From: Oscar Lesta <oscar.lesta@gmail.com>
|
||||
Date: Thu, 11 Sep 2025 12:27:29 -0300
|
||||
Subject: Initial Haiku support.
|
||||
@@ -74,3 +74,27 @@ index a42016a..f096b34 100644
|
||||
--
|
||||
2.50.1
|
||||
|
||||
|
||||
From 4280df389f88c70244be76fbeecc88685804eab0 Mon Sep 17 00:00:00 2001
|
||||
From: Oscar Lesta <oscar.lesta@gmail.com>
|
||||
Date: Sun, 14 Sep 2025 19:28:00 -0300
|
||||
Subject: Try to fix the build on builders using older beta5.
|
||||
|
||||
|
||||
diff --git a/threads.c b/threads.c
|
||||
index f096b34..7386615 100644
|
||||
--- a/threads.c
|
||||
+++ b/threads.c
|
||||
@@ -51,6 +51,9 @@
|
||||
|
||||
#elif defined(TARGET_OS_HAIKU)
|
||||
|
||||
+// only needed on current builder bots, still running hrev57937_111
|
||||
+#define _GNU_SOURCE
|
||||
+
|
||||
#include <pthread.h>
|
||||
#include <sched.h>
|
||||
|
||||
--
|
||||
2.50.1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user