summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-04-17 07:44:52 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-04-17 07:44:52 +0000
commit30eb2ddb042447c237b892304a3fca7910d8d5c8 (patch)
treea9f28702b566852d04bc368a456c97f15e241e5a /app-pda
parent[bump] virtual/perl-XSLoader-0.140.0 (diff)
downloadhistorical-30eb2ddb042447c237b892304a3fca7910d8d5c8.tar.gz
historical-30eb2ddb042447c237b892304a3fca7910d8d5c8.tar.bz2
historical-30eb2ddb042447c237b892304a3fca7910d8d5c8.zip
Fix building with recent toolchain wrt #363109 by Andrew John Hughes.
Package-Manager: portage-2.2.0_alpha30/cvs/Linux x86_64
Diffstat (limited to 'app-pda')
-rw-r--r--app-pda/libplist/ChangeLog6
-rw-r--r--app-pda/libplist/Manifest15
-rw-r--r--app-pda/libplist/files/libplist-1.4-gcc46.patch12
-rw-r--r--app-pda/libplist/libplist-1.4.ebuild5
4 files changed, 33 insertions, 5 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/Manifest b/app-pda/libplist/Manifest
index 25847c603bb4..d87422d19cb5 100644
--- a/app-pda/libplist/Manifest
+++ b/app-pda/libplist/Manifest
@@ -1,6 +1,17 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX libplist-1.4-gcc46.patch 234 RMD160 014354676a5925f1c884ff21740a7afac36fa8cd SHA1 f4f795d9212076f0a4739a906e3a79b3256ddc66 SHA256 ebfc5ab31a2bdc02c59540d4fc9177cdf5797828d98dbb299b2a79e1885047a8
DIST libplist-1.3.tar.bz2 67642 RMD160 ad93e5a0530adf804340462de509304dbf74cc92 SHA1 068980142aede5f7adb208246e035dfe4994ea8c SHA256 982c8aac59cdc3fafc925a407a29b6cf367c5ec9bad6ad509fe5ea25d3e5b6b0
DIST libplist-1.4.tar.bz2 68176 RMD160 a00366f0fe164d7bd5d516092e2731b3233ac075 SHA1 82e98d13cdff1a62ad1184d515d71e8898866ee4 SHA256 2ad226abe1131a72e7ecbb2b921ad92f54b8e787c2281c89b00145b519479a71
EBUILD libplist-1.3.ebuild 1031 RMD160 dc0855cc7cb48c4f619f109a0f2f0ea836a70263 SHA1 828eb7876e3117c7c6fe3a92b51efd163167fb83 SHA256 90f1346c1bc0ddd1d3bcc2886e52e8906b4fee395bfd14a47214242013b12a39
-EBUILD libplist-1.4.ebuild 1114 RMD160 582fa382b8d0cf92e856dff5b39e56576e8f384c SHA1 a73f088b949acb1bf188bb64a367fd8833249dd9 SHA256 39905c95cbd3455849ab5c4a87d34d5dac2d8088d4ff8132cf0be4601bddfea7
-MISC ChangeLog 2023 RMD160 d03778d28f99b0e516f5a68d86d12e744980dd48 SHA1 db3a7b06b2805771469ac81a0748312841af0068 SHA256 20f4367e7ee3f23cf2e0947369db0e384bf40a6b176ea66b5769b5783501df8e
+EBUILD libplist-1.4.ebuild 1160 RMD160 f9e0a6b3802945bdda2c0e0a93b0a7f6e7c2befa SHA1 618bec6f62792b384b390387396b383ae10d43a0 SHA256 bb3d1be5feb68fa9806a5ef8aeec80995a0a7ec7e4ff6612d66bef206a00a443
+MISC ChangeLog 2206 RMD160 b2365a13e859b496e9480e71936a1375ea048a5c SHA1 ddff9332684c8b6bf96d037ea299402bf27ac7ea SHA256 7d35b4d5cbe4198115c037d313c3bcd1427d71716406b8ac6e662ed4fd7a696b
MISC metadata.xml 250 RMD160 9b84b76c4212b2007d665eb817954438bc119f02 SHA1 3f69a31fb93ce89476bce6d689586f611017d8b4 SHA256 771f2b9efd3e845ceaef0f34ed1b40c268916e590445b2ef3dc90f7766d9aa7b
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iF4EAREIAAYFAk2qmpUACgkQXkR9YqOcLPE/kAD+IXcJizTWLdOD/bceWb7tGBNl
+YNSwkm3VGEFDtrXWtgIA/0oHfL1XSm9l+FsQ+TsdOZj0Wme+i/9xACR7+QVLGS0E
+=Z9ds
+-----END PGP SIGNATURE-----
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() {