summaryrefslogtreecommitdiff
path: root/user/xorg-server/fix-musl-arm.patch
blob: 7d6cc3762728a8549fc25bd29d04f8bbf49ba3a9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Nurp xorg-server-21.1.3.orig/hw/xfree86/common/compiler.h xorg-server-21.1.3/hw/xfree86/common/compiler.h
--- xorg-server-21.1.3.orig/hw/xfree86/common/compiler.h	2022-01-02 22:41:56.000000000 +0000
+++ xorg-server-21.1.3/hw/xfree86/common/compiler.h	2024-08-28 09:24:45.059582654 +0000
@@ -518,7 +518,7 @@ xf86WriteMmio32Le(__volatile__ void *bas
     barrier();
 }
 
-#elif defined(__arm32__) && !defined(__linux__)
+#elif defined(__arm32__) && !defined(__GLIBC__)
 #define PORT_SIZE long
 
 extern _X_EXPORT unsigned int IOPortBase;      /* Memory mapped I/O port area */