Changeset View
Changeset View
Standalone View
Standalone View
multimedia/libxine/files/patch-include_config.h
- This file was added.
--- include/config.h.orig 2018-08-29 16:17:10 UTC | |||||
+++ include/config.h | |||||
@@ -24,9 +24,10 @@ | |||||
/* Ugly build time sanity guard. | |||||
* ./configure might mistake X32 mode as plain 64bit, | |||||
* but compiler itself sets __ILP32__ when in x32. | |||||
- */ | |||||
+* Even worse: clang sets this in 32 mode as well, | |||||
+*/ | |||||
#ifdef ARCH_X86 | |||||
-# if defined(__ILP32__) && !defined(ARCH_X86_X32) | |||||
+#if defined(__ILP32__) && !defined(__i386) && !defined(__i386__) && !defined(ARCH_X86_X32) | |||||
# ifdef ARCH_WARN | |||||
# warning "configure did not detect ARCH_X86_X32!" | |||||
# endif |