lzo: use a proper patch for x86 build failure.

This commit is contained in:
Juan RP 2014-06-29 11:36:53 +02:00
parent b8f27e6ed3
commit 478487bf0d
3 changed files with 13 additions and 21 deletions

View file

@ -1,20 +0,0 @@
--- 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__)

View file

@ -0,0 +1,12 @@
--- configure.ORIG 2014-06-25 15:47:13.000000000 +0200
+++ configure 2014-06-26 00:05:33.000000000 +0200
@@ -13953,7 +13953,7 @@
/* end confdefs.h. */
#define LZO_CFG_NO_CONFIG_HEADER 1
#define LZO_WANT_ACC_INCD_H 1
-#include "include/lzo/lzodefs.h"
+#include "include/lzo/lzoconf.h"
#include "src/lzo_supp.h"
#undef LZOCHK_ASSERT

View file

@ -1,7 +1,7 @@
# Template build file for 'lzo'.
pkgname=lzo
version=2.07
revision=1
revision=2
build_style=gnu-configure
configure_args="--enable-shared=yes"
short_desc="Portable lossless data compression library"