add patch to build against newer zlib
This commit is contained in:
parent
6af4a96a4d
commit
bebf27482e
2 changed files with 17 additions and 1 deletions
11
alevt-1.6.2-zlib.patch
Normal file
11
alevt-1.6.2-zlib.patch
Normal file
|
|
@ -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"
|
||||
|
|
@ -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@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@lists.fedoraproject.org> - 1.6.2-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Reference in a new issue