[packages/lzo] - updated to 2.07 (fixes potential buffer overrun when using large buffers) - added includes patch (

qboosh qboosh at pld-linux.org
Fri Jun 27 22:58:39 CEST 2014


commit 50fc3d86e871e9bc2dc0fc5ef7387c4b561338e2
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Jun 27 23:02:58 2014 +0200

    - updated to 2.07 (fixes potential buffer overrun when using large buffers)
    - added includes patch (missing header in configure check)

 lzo-includes.patch | 10 ++++++++++
 lzo.spec           |  6 ++++--
 2 files changed, 14 insertions(+), 2 deletions(-)
---
diff --git a/lzo.spec b/lzo.spec
index b865022..853a0c0 100644
--- a/lzo.spec
+++ b/lzo.spec
@@ -1,12 +1,13 @@
 Summary:	LZO - a real-time data compression library
 Summary(pl.UTF-8):	LZO - biblioteka kompresji danych w czasie rzeczywistym
 Name:		lzo
-Version:	2.06
+Version:	2.07
 Release:	1
 License:	GPL v2+
 Group:		Libraries
 Source0:	http://www.oberhumer.com/opensource/lzo/download/%{name}-%{version}.tar.gz
-# Source0-md5:	95380bd4081f85ef08c5209f4107e9f8
+# Source0-md5:	4011935e95171e78ad4894f7335c982a
+Patch0:		%{name}-includes.patch
 URL:		http://www.oberhumer.com/opensource/lzo/
 BuildRequires:	autoconf >= 2.67
 BuildRequires:	automake >= 1:1.11.1
@@ -75,6 +76,7 @@ Biblioteka statyczna LZO.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__libtoolize}
diff --git a/lzo-includes.patch b/lzo-includes.patch
new file mode 100644
index 0000000..a37add1
--- /dev/null
+++ b/lzo-includes.patch
@@ -0,0 +1,10 @@
+--- lzo-2.07/autoconf/local.m4.orig	2014-06-25 15:47:13.000000000 +0200
++++ lzo-2.07/autoconf/local.m4	2014-06-27 22:53:28.354427428 +0200
+@@ -458,6 +458,7 @@
+ AC_LANG_CONFTEST([AC_LANG_PROGRAM(
+ [[#define LZO_CFG_NO_CONFIG_HEADER 1
+ #define LZO_WANT_ACC_INCD_H 1
++#include <limits.h>
+ #include $2
+ #include $3
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lzo.git/commitdiff/50fc3d86e871e9bc2dc0fc5ef7387c4b561338e2



More information about the pld-cvs-commit mailing list