Hello community, here is the log from the commit of package perl-Pango for openSUSE:Factory checked in at 2016-01-15 10:42:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Pango (Old) and /work/SRC/openSUSE:Factory/.perl-Pango.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Pango" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Pango/perl-Pango.changes 2014-02-28 19:15:57.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Pango.new/perl-Pango.changes 2016-01-15 10:42:25.000000000 +0100 @@ -1,0 +2,5 @@ +Tue Jan 12 08:40:50 UTC 2016 - bwiedem...@suse.com + +- Add fix-pangocairo_libs.patch to fix compilation on Tumbleweed-2016-01 + +------------------------------------------------------------------- New: ---- fix-pangocairo_libs.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Pango.spec ++++++ --- /var/tmp/diff_new_pack.KCtA0X/_old 2016-01-15 10:42:26.000000000 +0100 +++ /var/tmp/diff_new_pack.KCtA0X/_new 2016-01-15 10:42:26.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Pango # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,6 +27,8 @@ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Pango/ Source: http://www.cpan.org/authors/id/X/XA/XAOC/%{cpan_name}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM fix-pangocairo_libs.patch https://rt.cpan.org/Public/Bug/Display.html?id=111117 +Patch0: fix-pangocairo_libs.patch # BuildRequires: perl BuildRequires: perl-macros @@ -74,6 +76,7 @@ %prep %setup -q -n %{cpan_name}-%{version} +%patch0 %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" ++++++ fix-pangocairo_libs.patch ++++++ >From >https://raw.githubusercontent.com/voidlinux/void-packages/087cebfbb367f0f20ab32a6b8cdd2653698240d7/srcpkgs/perl-Pango/patches/fix-pangocairo_libs.patch Upstream: https://rt.cpan.org/Public/Bug/Display.html?id=111117 When constructing the $libs variable, there is a blank missing before the -lpangocairo-1.0 coming from the pangocairo.pc through pkg-config. Inserting an extra blank before the pkg-config result fixes the issue. --- Makefile.PL 2014-02-19 05:13:50.000000000 +0100 +++ Makefile.PL 2015-10-08 00:47:59.777157391 +0200 @@ -161,6 +161,7 @@ if ($have_cairo) { push @deps, qw/Cairo/; $inc .= $pangocairo_pkgcfg{cflags}; + $libs .= ' '; $libs .= $pangocairo_pkgcfg{libs}; }