View | Details | Raw Unified | Return to bug 245774
Collapse All | Expand All

(-)graphics/mesa-dri/files/patch-src_util_u__atomic.c (+11 lines)
Line 0 Link Here
1
--- src/util/u_atomic.c.orig	2020-04-20 19:21:43 UTC
2
+++ src/util/u_atomic.c
3
@@ -21,7 +21,7 @@
4
  * IN THE SOFTWARE.
5
  */
6
 
7
-#if defined(MISSING_64BIT_ATOMICS) && defined(HAVE_PTHREAD)
8
+#if !defined(__clang__) && defined(MISSING_64BIT_ATOMICS) && defined(HAVE_PTHREAD)
9
 
10
 #include <stdint.h>
11
 #include <pthread.h>
(-)graphics/mesa-libs/Makefile (-2 lines)
Lines 44-51 Link Here
44
.if ${ARCH} == "i386"
44
.if ${ARCH} == "i386"
45
# PR230239 Fix the build for i386 when WITH_LLD_IS_LD is set
45
# PR230239 Fix the build for i386 when WITH_LLD_IS_LD is set
46
LDFLAGS+=-Wl,-z,notext
46
LDFLAGS+=-Wl,-z,notext
47
.elif ${ARCH} == "powerpc"
48
USE_GCC=	yes
49
.endif
47
.endif
50
48
51
.include "${MASTERDIR}/Makefile.targets"
49
.include "${MASTERDIR}/Makefile.targets"

Return to bug 245774