diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-04-17 07:44:52 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-04-17 07:44:52 +0000 |
commit | 22c847b08c5a1e8bc5d2441f749619db2c117e61 (patch) | |
tree | 9a37324fa9cfc22b90ece87116fffa6ef0140d2d /app-pda | |
parent | [bump] virtual/perl-XSLoader-0.140.0 (diff) | |
download | gentoo-2-22c847b08c5a1e8bc5d2441f749619db2c117e61.tar.gz gentoo-2-22c847b08c5a1e8bc5d2441f749619db2c117e61.tar.bz2 gentoo-2-22c847b08c5a1e8bc5d2441f749619db2c117e61.zip |
Fix building with recent toolchain wrt #363109 by Andrew John Hughes.
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
Diffstat (limited to 'app-pda')
-rw-r--r-- | app-pda/libplist/ChangeLog | 6 | ||||
-rw-r--r-- | app-pda/libplist/files/libplist-1.4-gcc46.patch | 12 | ||||
-rw-r--r-- | app-pda/libplist/libplist-1.4.ebuild | 5 |
3 files changed, 20 insertions, 3 deletions
diff --git a/app-pda/libplist/ChangeLog b/app-pda/libplist/ChangeLog index ee0845d1f13d..37532401fa01 100644 --- a/app-pda/libplist/ChangeLog +++ b/app-pda/libplist/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-pda/libplist # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-pda/libplist/ChangeLog,v 1.12 2011/03/29 02:30:44 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-pda/libplist/ChangeLog,v 1.13 2011/04/17 07:44:51 ssuominen Exp $ + + 17 Apr 2011; Samuli Suominen <ssuominen@gentoo.org> libplist-1.4.ebuild, + +files/libplist-1.4-gcc46.patch: + Fix building with recent toolchain wrt #363109 by Andrew John Hughes. *libplist-1.4 (29 Mar 2011) diff --git a/app-pda/libplist/files/libplist-1.4-gcc46.patch b/app-pda/libplist/files/libplist-1.4-gcc46.patch new file mode 100644 index 000000000000..54aef1a6022a --- /dev/null +++ b/app-pda/libplist/files/libplist-1.4-gcc46.patch @@ -0,0 +1,12 @@ +Fix building with GCC 4.6 and above wrt http://bugs.gentoo.org/363109 + +--- swig/plist.i ++++ swig/plist.i +@@ -24,6 +24,7 @@ + #if SWIGPYTHON + //for datetime in python + %{ ++#include <cstddef> + #include <ctime> + #include <datetime.h> + %} diff --git a/app-pda/libplist/libplist-1.4.ebuild b/app-pda/libplist/libplist-1.4.ebuild index af78cf6dd055..56b551480d8a 100644 --- a/app-pda/libplist/libplist-1.4.ebuild +++ b/app-pda/libplist/libplist-1.4.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-pda/libplist/libplist-1.4.ebuild,v 1.1 2011/03/29 02:30:44 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-pda/libplist/libplist-1.4.ebuild,v 1.2 2011/04/17 07:44:51 ssuominen Exp $ EAPI=3 PYTHON_DEPEND="python? 2:2.6" -inherit cmake-utils multilib python +inherit cmake-utils eutils multilib python DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)" HOMEPAGE="http://www.libimobiledevice.org/" @@ -33,6 +33,7 @@ pkg_setup() { src_prepare() { sed -i -e 's:-Werror::' swig/CMakeLists.txt || die + epatch "${FILESDIR}"/${P}-gcc46.patch } src_configure() { |