804.031 bump
This commit is contained in:
parent
8c8fe1576d
commit
a4a8717b2e
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
Tk-804.028_503.tar.gz
|
||||
/Tk-804.029_500.tar.gz
|
||||
/Tk-804.030.tar.gz
|
||||
/Tk-804.031.tar.gz
|
||||
|
33
Tk-804.031-Link-PNG-test-to-zlib.patch
Normal file
33
Tk-804.031-Link-PNG-test-to-zlib.patch
Normal file
@ -0,0 +1,33 @@
|
||||
From b486af844498013073000808890fb19917f00823 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
|
||||
Date: Wed, 17 Jul 2013 10:43:28 +0200
|
||||
Subject: [PATCH] Link PNG test to zlib
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
<https://rt.cpan.org/Public/Bug/Display.html?id=86988>.
|
||||
|
||||
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
||||
---
|
||||
PNG/Makefile.PL | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/PNG/Makefile.PL b/PNG/Makefile.PL
|
||||
index dfb40d4..fe6c222 100755
|
||||
--- a/PNG/Makefile.PL
|
||||
+++ b/PNG/Makefile.PL
|
||||
@@ -25,8 +25,9 @@ if ($? == 0) {
|
||||
} else {
|
||||
warn "'pkg-config libpng' failed, continue with fallback values for cflags and libs...\n";
|
||||
$libpng_cflags = '-I/usr/local/include';
|
||||
- $libpng_libs = '-lpng -lz -lm';
|
||||
+ $libpng_libs = '-lpng -lm';
|
||||
}
|
||||
+$libpng_libs .= ' -lz';
|
||||
|
||||
if ($Tk::MMtry::VERSION ge '4.007' &&
|
||||
try_run("config/has_png.c",[$libpng_cflags],[$libpng_libs]))
|
||||
--
|
||||
1.8.1.4
|
||||
|
11
perl-Tk.spec
11
perl-Tk.spec
@ -3,8 +3,8 @@
|
||||
|
||||
Name: perl-Tk
|
||||
# devel version fix for perl 5.14:
|
||||
Version: 804.030
|
||||
Release: 5%{?dist}
|
||||
Version: 804.031
|
||||
Release: 1%{?dist}
|
||||
Summary: Perl Graphical User Interface ToolKit
|
||||
|
||||
Group: Development/Libraries
|
||||
@ -16,6 +16,8 @@ Patch0: perl-Tk-widget.patch
|
||||
Patch1: perl-Tk-debian.patch.gz
|
||||
# fix segfaults as in #235666 because of broken cashing code
|
||||
Patch2: perl-Tk-seg.patch
|
||||
# Detect system libpng properly, CPAN RT#86988
|
||||
Patch3: Tk-804.031-Link-PNG-test-to-zlib.patch
|
||||
|
||||
# Versions before this have Unicode issues
|
||||
BuildRequires: perl-devel >= 3:5.8.3
|
||||
@ -73,6 +75,8 @@ chmod -x pod/Popup.pod Tixish/lib/Tk/balArrow.xbm
|
||||
%patch1 -p1
|
||||
# patch to fix #235666 ... seems like caching code is broken
|
||||
%patch2 -p1 -b .seg
|
||||
# CPAN RT #86988
|
||||
%patch3 -p1
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor X11LIB=%{_libdir} XFT=1
|
||||
@ -119,6 +123,9 @@ find __demos/ -type f -exec chmod -x {} \;
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 804.031-1
|
||||
- 804.031 bump
|
||||
|
||||
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 804.030-5
|
||||
- Perl 5.18 rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user