From e51201af111da3a7b18946f90d62cfc32651ab05 Mon Sep 17 00:00:00 2001 From: Samuli Suominen Date: Fri, 26 Mar 2010 09:19:56 +0000 Subject: Fix building with libpng14. (Portage version: 2.2_rc67/cvs/Linux x86_64) --- xfce-extra/thunar-vfs/ChangeLog | 6 +++++- xfce-extra/thunar-vfs/files/thunar-vfs-libpng14.patch | 11 +++++++++++ xfce-extra/thunar-vfs/thunar-vfs-0_p20100324.ebuild | 4 +++- 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 xfce-extra/thunar-vfs/files/thunar-vfs-libpng14.patch (limited to 'xfce-extra') diff --git a/xfce-extra/thunar-vfs/ChangeLog b/xfce-extra/thunar-vfs/ChangeLog index 39611ea54a74..a00cdfb80893 100644 --- a/xfce-extra/thunar-vfs/ChangeLog +++ b/xfce-extra/thunar-vfs/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for xfce-extra/thunar-vfs # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/xfce-extra/thunar-vfs/ChangeLog,v 1.2 2010/03/25 11:31:34 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/xfce-extra/thunar-vfs/ChangeLog,v 1.3 2010/03/26 09:19:56 ssuominen Exp $ + + 26 Mar 2010; Samuli Suominen + +files/thunar-vfs-libpng14.patch, thunar-vfs-0_p20100324.ebuild: + Fix building with libpng14. *thunar-vfs-0_p20100324 (24 Mar 2010) diff --git a/xfce-extra/thunar-vfs/files/thunar-vfs-libpng14.patch b/xfce-extra/thunar-vfs/files/thunar-vfs-libpng14.patch new file mode 100644 index 000000000000..63a6659ca7ae --- /dev/null +++ b/xfce-extra/thunar-vfs/files/thunar-vfs-libpng14.patch @@ -0,0 +1,11 @@ +--- thunar-vfs/thunar-vfs-thumb.c ++++ thunar-vfs/thunar-vfs-thumb.c +@@ -1169,7 +1169,7 @@ + goto done0; + + /* verify the png signature */ +- if (G_LIKELY (png_check_sig ((png_bytep) signature, sizeof (signature)))) ++ if (G_LIKELY (!png_sig_cmp ((png_bytep) signature, 0, sizeof (signature)))) + rewind (fp); + else + goto done0; diff --git a/xfce-extra/thunar-vfs/thunar-vfs-0_p20100324.ebuild b/xfce-extra/thunar-vfs/thunar-vfs-0_p20100324.ebuild index 022c2ed3d383..e6f0ebbe0b3a 100644 --- a/xfce-extra/thunar-vfs/thunar-vfs-0_p20100324.ebuild +++ b/xfce-extra/thunar-vfs/thunar-vfs-0_p20100324.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/xfce-extra/thunar-vfs/thunar-vfs-0_p20100324.ebuild,v 1.3 2010/03/25 11:32:47 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/xfce-extra/thunar-vfs/thunar-vfs-0_p20100324.ebuild,v 1.4 2010/03/26 09:19:56 ssuominen Exp $ EAPI=2 EAUTORECONF=yes @@ -53,6 +53,8 @@ pkg_setup() { else XFCONF="${XFCONF} --with-volume-manager=none" fi + + PATCHES=( "${FILESDIR}/${PN}-libpng14.patch" ) } src_prepare() { -- cgit v1.2.3-65-gdbad