Hello community, here is the log from the commit of package perl-Tk for openSUSE:Factory checked in at 2014-07-21 10:35:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Tk (Old) and /work/SRC/openSUSE:Factory/.perl-Tk.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Tk" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Tk/perl-Tk.changes 2013-07-08 22:25:26.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Tk.new/perl-Tk.changes 2014-07-21 10:35:41.000000000 +0200 @@ -1,0 +2,18 @@ +Sat Jul 19 20:11:27 UTC 2014 - sch...@linux-m68k.org + +- Update to 804.032 + * RT# 88210: fix compilation for perl 5.19.0+ ("undef bool") + * RT# 90077: floating number issue with -textvariable variables + * RT# 89621: avoid segfaults during global destruction (by Gisle Aas) + * RT# 87016: compatibility for libpng 1.6.x + * RT# 86988: use cflags/libs information from pkg-config zlib + * RT# 89261: split Tk/ColorEditor.pm into three .pm files + * RT# 71718: fix compilation issue with 64bit Strawberry Perl (Tk_Cursor) + * Fail gracefully if no font could be allocated +- Tk-804.032-tkglue.diff: no segfaults if Tk::MainWindow::Create was + called without args +- Tk-804.032-freetype.diff: look also for /usr/include/freetype2/freetype.h +- Tk-804.029-lib64.diff, Tk-804.029-xorg.diff, Tk-804.030-libpng16.diff: + remove upstreamed patches + +------------------------------------------------------------------- Old: ---- Tk-804.029-lib64.diff Tk-804.029-xorg.diff Tk-804.030-libpng16.diff Tk-804.031.tar.gz New: ---- Tk-804.032-freetype.diff Tk-804.032-tkglue.diff Tk-804.032.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Tk.spec ++++++ --- /var/tmp/diff_new_pack.4HlS6u/_old 2014-07-21 10:35:42.000000000 +0200 +++ /var/tmp/diff_new_pack.4HlS6u/_new 2014-07-21 10:35:42.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Tk # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -29,23 +29,21 @@ %ifnarch s390 s390x BuildRequires: xorg-x11-server %endif -Version: 804.031 +Version: 804.032 Release: 0 Summary: Perl Tk License: (GPL-1.0+ or Artistic-1.0) and Zlib Group: Development/Libraries/Perl Url: http://cpan.org/modules/by-module/Tk/ Source: Tk-%{version}.tar.gz -Patch0: Tk-804.029-lib64.diff Patch1: Tk-804.029-macro.diff Patch2: Tk-804.029-null.diff Patch3: Tk-804.029-refcnt.diff Patch4: Tk-804.029-event.diff -# PATCH-FIX-UPSTREAM compile with recent Xorg versions too - co...@novell.com -Patch5: Tk-804.029-xorg.diff -# PATCH-FIX-UPSTREAM Tk-804.030-libpng16.diff fix t/photo.t while building against libpng16: move setting gamma before png_read_update_info() -- pgaj...@suse.com -# Slaven is notified, but didn't reply sofar. See correspondence in the patch preamble. -Patch6: Tk-804.030-libpng16.diff +# PATCH-FIX-UPSTREAM no segfaults if Tk::MainWindow::Create was called without args +Patch5: Tk-804.032-tkglue.diff +# PATCH-FIX-UPSTREAM look also for /usr/include/freetype2/freetype.h +Patch6: Tk-804.032-freetype.diff BuildRequires: perl BuildRequires: perl-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -67,15 +65,12 @@ %prep %setup -q -n Tk-%{version} -if test "%{_lib}" = "lib64" ; then -%patch0 -fi %patch1 %patch2 %patch3 %patch4 -%patch5 -%patch6 +%patch5 -p1 +%patch6 -p1 %build find -name "*.orig" -exec rm {} \; ++++++ Tk-804.032-freetype.diff ++++++ >From 1ca4589ef5a87999ec564081900bc8fdaed83c74 Mon Sep 17 00:00:00 2001 From: Slaven Rezic <sla...@rezic.de> Date: Sun, 2 Mar 2014 12:10:31 +0100 Subject: [PATCH] look also for /usr/include/freetype2/freetype.h In some freetype installations (e.g. Debian/jessie) the intermediate "freetype" directory may be missing in the include path. This should fix https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740207 --- myConfig | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/myConfig b/myConfig index 02d2ee5..3ca8144 100755 --- a/myConfig +++ b/myConfig @@ -147,7 +147,12 @@ sub Ift { foreach (map { "$_/freetype2" } @_) { - if (-d $_ && -d "$_/freetype" && -r "$_/freetype/freetype.h") + if (-r "$_/freetype.h") # location in Debian (since jessie) + { + print "Using -I$_ to find $_/freetype/freetype.h\n"; + return "-I$_"; + } + if (-r "$_/freetype/freetype.h") # location in FreeBSD (up to version 10.0) and Debian (up to wheezy) { print "Using -I$_ to find $_/freetype/freetype.h\n"; return "-I$_"; -- 2.0.2 ++++++ Tk-804.032-tkglue.diff ++++++ >From ba3a92a779f7adcf655b7e45b40ee5b0cb79bc8b Mon Sep 17 00:00:00 2001 From: Slaven Rezic <sla...@rezic.de> Date: Fri, 14 Mar 2014 16:00:05 +0100 Subject: [PATCH] no segfaults if Tk::MainWindow::Create was called without args However, this case never happened in real life, as this function was not supposed to be used directly anyway. --- tkGlue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tkGlue.c b/tkGlue.c index 57f0bca..ae595bf 100644 --- a/tkGlue.c +++ b/tkGlue.c @@ -2370,7 +2370,7 @@ XS(XS_Tk__MainWindow_Create) STRLEN na; Tcl_Interp *interp = Tcl_CreateInterp(); SV **args = &ST(0); - char *appName = SvPV(ST(1),na); + char *appName = items >= 1 ? SvPV(ST(1),na) : ""; int offset = args - sp; int code; if (!initialized) -- 2.0.2 ++++++ Tk-804.031.tar.gz -> Tk-804.032.tar.gz ++++++ /work/SRC/openSUSE:Factory/perl-Tk/Tk-804.031.tar.gz /work/SRC/openSUSE:Factory/.perl-Tk.new/Tk-804.032.tar.gz differ: char 5, line 1 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org