[PATCH] Pango: fix linking



Hi

The attached patch fix linking with libpangocairo.so:


See 
http://pkgsubmit.mageia.org/autobuild/cauldron/x86_64/core/2015-10-13/perl-Pango-1.226.0-1.mga6.src.rpm/build.0.20151013150513.log

(...)
xs/PangoCairo.xs: In function 'XS_Pango__Cairo__FontMap_create_context':
xs/PangoCairo.xs:85:2: warning: 'pango_cairo_font_map_create_context'
is deprecated: Use 'pango_font_map_create_context' instead
[-Wdeprecated-declarations]
  context = pango_cairo_font_map_create_context (fontmap);
  ^
In file included from ./pango-perl.h:28:0,
                 from xs/PangoCairo.xs:19:
/usr/include/pango-1.0/pango/pangocairo.h:93:15: note: declared here
 PangoContext *pango_cairo_font_map_create_context (PangoCairoFontMap *fontmap);
               ^
[ CC xs/PangoLayout.c ]
[ CC xs/PangoAttributes.c ]
rm -f blib/arch/auto/Pango/Pango.so
[ LD blib/arch/auto/Pango/Pango.so ]
chmod 755 blib/arch/auto/Pango/Pango.so
"/usr/bin/perl5.22.0" -MExtUtils::Command::MM -e 'cp_nonempty' --
Pango.bs blib/arch/auto/Pango/Pango.bs 644
Generating POD...
/usr/bin/perl5.22.0: symbol lookup error:
blib/arch/auto/Pango/Pango.so: undefined symbol:
pango_cairo_font_map_get_type
Makefile:1408: recipe for target 'build/podindex' failed
make: *** [build/podindex] Error 127
error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.MZ04QX (%build)

Please apply

Attachment: 0001-fix-linking-with-pangocairo.patch
Description: application/binary



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]