[alevt] add patch to build against newer zlib

Lucian Langa lucilanga at fedoraproject.org
Wed Jul 25 22:40:02 UTC 2012


commit bebf27482efef4404a597f43792a91cf43e45903
Author: Lucian Langa <lucilanga at gnome.org>
Date:   Thu Jul 26 00:26:20 2012 +0200

    add patch to build against newer zlib

 alevt-1.6.2-zlib.patch |   11 +++++++++++
 alevt.spec             |    7 ++++++-
 2 files changed, 17 insertions(+), 1 deletions(-)
---
diff --git a/alevt-1.6.2-zlib.patch b/alevt-1.6.2-zlib.patch
new file mode 100644
index 0000000..442c215
--- /dev/null
+++ b/alevt-1.6.2-zlib.patch
@@ -0,0 +1,11 @@
+diff -Naur alevt-1.6.2/exp-gfx.c alevt-1.6.2-mod/exp-gfx.c
+--- alevt-1.6.2/exp-gfx.c	2007-12-03 03:56:06.000000000 +0100
++++ alevt-1.6.2-mod/exp-gfx.c	2012-07-26 00:21:05.518604118 +0200
+@@ -3,6 +3,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <zlib.h>
+ 
+ #include "lang.h"
+ #include "export.h"
diff --git a/alevt.spec b/alevt.spec
index aab7fbd..0ac694c 100644
--- a/alevt.spec
+++ b/alevt.spec
@@ -1,6 +1,6 @@
 Name: alevt
 Version: 1.6.2
-Release: 19%{?dist}
+Release: 20%{?dist}
 Summary: Teletext decoder/browser
 Group: Applications/Multimedia
 License: GPLv2
@@ -11,6 +11,7 @@ Patch0: alevt-1.6.2-pixmap.patch
 Patch1: alevt-1.6.2-manpath.patch
 Patch2: alevt-1.6.2-rus-greek.patch
 Patch3: alevt-1.6.2-doublefont.patch
+Patch4: alevt-1.6.2-zlib.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: libX11-devel
 BuildRequires: libpng-devel
@@ -31,6 +32,7 @@ one to capture teletext pages from scripts.
 %patch1 -p1 -b .manpath
 %patch2 -p1 -b .rusgreek
 %patch3 -p1 -b .double
+%patch4 -p1 -b .zlib
 
 %build
 # alevt does not have standard build system, so we populate OPT, 
@@ -63,6 +65,9 @@ rm -rf %{buildroot}
 %doc README CHANGELOG COPYRIGHT
 
 %changelog
+* Wed Jul 25 2012 Lucian Langa <cooly at gnome.eu.org> - 1.6.2-20
+- add patch to build against newer zlib (fixes #843204)
+
 * Wed Jul 18 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.6.2-19
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list