From 63be4891b42b1104e3cb2f5031c46919b9f92a98 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 28 Jun 2014 09:12:48 +0200 Subject: [PATCH] lzo: workaround x86 build issues. --- srcpkgs/lzo/patches/build-x86.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/lzo/patches/build-x86.patch diff --git a/srcpkgs/lzo/patches/build-x86.patch b/srcpkgs/lzo/patches/build-x86.patch new file mode 100644 index 00000000000..adb3618dc8f --- /dev/null +++ b/srcpkgs/lzo/patches/build-x86.patch @@ -0,0 +1,20 @@ +--- include/lzo/lzodefs.h.orig 2014-06-28 09:11:26.981691990 +0200 ++++ include/lzo/lzodefs.h 2014-06-28 09:11:38.989874177 +0200 +@@ -970,17 +970,6 @@ + # error "unexpected configuration - check your compiler defines" + # endif + #endif +-#if (LZO_ARCH_I386) +-# if (UINT_MAX != LZO_0xffffL) && defined(__i386_int16__) +-# error "unexpected configuration - check your compiler defines" +-# endif +-# if (UINT_MAX != LZO_0xffffffffL) && !defined(__i386_int16__) +-# error "unexpected configuration - check your compiler defines" +-# endif +-# if (ULONG_MAX != LZO_0xffffffffL) +-# error "unexpected configuration - check your compiler defines" +-# endif +-#endif + #if (LZO_ARCH_AMD64 || LZO_ARCH_I386) + # if !defined(LZO_TARGET_FEATURE_SSE2) + # if defined(__SSE2__)