Timo Aaltonen pushed to branch ubuntu at X Strike Force / lib / Mesa Amber


Commits:
dceaddfb by Timo Aaltonen at 2026-09-22T12:39:23+03:00
Fix build with current glibc.

- - - - -
d1fe444d by Timo Aaltonen at 2026-09-22T12:45:21+03:00
Fix build with gcc15.

- - - - -
142e5aaf by Timo Aaltonen at 2026-09-22T12:45:34+03:00
releasing package mesa-amber version 21.3.9-0ubuntu5

- - - - -


4 changed files:

- debian/changelog
- + debian/patches/fix-fbtfs-with-gcc15.diff
- + debian/patches/fix-ftbfs-with-glibc-c23.diff
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+mesa-amber (21.3.9-0ubuntu5) stonking; urgency=medium
+
+  * Fix build with current glibc.
+  * Fix build with gcc15.
+
+ -- Timo Aaltonen <[email protected]>  Tue, 22 Sep 2026 12:45:22 +0300
+
 mesa-amber (21.3.9-0ubuntu4) stonking; urgency=medium
 
   [ Mitchell Augustin ]


=====================================
debian/patches/fix-fbtfs-with-gcc15.diff
=====================================
@@ -0,0 +1,10 @@
+--- a/src/gtest/src/gtest-death-test.cc
++++ b/src/gtest/src/gtest-death-test.cc
+@@ -46,6 +46,7 @@
+ # include <errno.h>
+ # include <fcntl.h>
+ # include <limits.h>
++#include <cstdint>
+ 
+ # if GTEST_OS_LINUX
+ #  include <signal.h>


=====================================
debian/patches/fix-ftbfs-with-glibc-c23.diff
=====================================
@@ -0,0 +1,38 @@
+--- a/include/c11/threads_posix.h
++++ b/include/c11/threads_posix.h
+@@ -51,7 +51,9 @@ Configuration macro:
+ #include <pthread.h>
+ 
+ /*---------------------------- macros ----------------------------*/
++#ifndef __once_flag_defined
+ #define ONCE_FLAG_INIT PTHREAD_ONCE_INIT
++#endif
+ #ifdef INIT_ONCE_STATIC_INIT
+ #define TSS_DTOR_ITERATIONS PTHREAD_DESTRUCTOR_ITERATIONS
+ #else
+@@ -66,8 +68,9 @@ typedef pthread_cond_t  cnd_t;
+ typedef pthread_t       thrd_t;
+ typedef pthread_key_t   tss_t;
+ typedef pthread_mutex_t mtx_t;
++#ifndef __once_flag_defined
+ typedef pthread_once_t  once_flag;
+-
++#endif
+ 
+ /*
+ Implementation limits:
+@@ -90,12 +93,13 @@ impl_thrd_routine(void *p)
+ 
+ /*--------------- 7.25.2 Initialization functions ---------------*/
+ // 7.25.2.1
++#ifndef __once_flag_defined
+ static inline void
+ call_once(once_flag *flag, void (*func)(void))
+ {
+     pthread_once(flag, func);
+ }
+-
++#endif
+ 
+ /*------------- 7.25.3 Condition variable functions -------------*/
+ // 7.25.3.1


=====================================
debian/patches/series
=====================================
@@ -1,2 +1,4 @@
 path_max.diff
 src_glx_dri_common.h.diff
+fix-ftbfs-with-glibc-c23.diff
+fix-fbtfs-with-gcc15.diff



View it on GitLab: 
https://salsa.debian.org/xorg-team/lib/mesa-amber/-/compare/6f4d39a8d19fe01112c39efbc12a09b87c0e4c78...142e5aafc8a0aa8e4a57f2a347d8d701d885ed8d

-- 
View it on GitLab: 
https://salsa.debian.org/xorg-team/lib/mesa-amber/-/compare/6f4d39a8d19fe01112c39efbc12a09b87c0e4c78...142e5aafc8a0aa8e4a57f2a347d8d701d885ed8d
You're receiving this email because of your account on salsa.debian.org. Manage 
all notifications: https://salsa.debian.org/-/profile/notifications | Help: 
https://salsa.debian.org/help


Reply via email to