diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/perl-gtk2-mozembed/missing-pixbuf.patch |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/perl-gtk2-mozembed/missing-pixbuf.patch')
-rw-r--r-- | community/perl-gtk2-mozembed/missing-pixbuf.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/community/perl-gtk2-mozembed/missing-pixbuf.patch b/community/perl-gtk2-mozembed/missing-pixbuf.patch new file mode 100644 index 000000000..f78a683e3 --- /dev/null +++ b/community/perl-gtk2-mozembed/missing-pixbuf.patch @@ -0,0 +1,23 @@ +diff -up Gtk2-MozEmbed-0.08/Makefile.PL.pixbuf Gtk2-MozEmbed-0.08/Makefile.PL +--- Gtk2-MozEmbed-0.08/Makefile.PL.pixbuf 2010-08-11 13:34:16.000000000 +0200 ++++ Gtk2-MozEmbed-0.08/Makefile.PL 2010-08-11 13:35:36.000000000 +0200 +@@ -54,6 +54,8 @@ my %pkgcfg = ExtUtils::PkgConfig->find( + "firefox-gtkmozembed >= $build_reqs{'Firefox'}", + "mozilla-firefox-gtkmozembed >= $build_reqs{'Firefox'}"); + ++my %pkgcfg_pixbuf = ExtUtils::PkgConfig->find("gdk-pixbuf-2.0"); ++ + mkdir 'build', 0777; + + our @xs_files = <xs/*.xs>; +@@ -73,8 +75,8 @@ ExtUtils::PkgConfig->write_version_macro + $pkg => "GTK_MOZ_EMBED", + ); + +-my $inc = $pkgcfg{cflags}; +-my $libs = $pkgcfg{libs}; ++my $inc = $pkgcfg{cflags} ." ". $pkgcfg_pixbuf{cflags}; ++my $libs = $pkgcfg{libs} . " ". $pkgcfg_pixbuf{libs}; + + if ($libs =~ m#(lib|lib64)/xulrunner-(devel|sdk)-([^/]+)#) { + $inc .= qq( -DGTK_MOZ_EMBED_PERL_XULRUNNER_PATH=) |