From 71411a1ac0f89ed7d65830a553c4cde6cd498fa6 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 6 Mar 2012 00:17:38 +0000 Subject: Bug #407015: fix to compile with Lua 5.2 Package-Manager: portage-2.2.0_alpha90/cvs/Linux i686 --- app-text/podofo/ChangeLog | 7 +++++-- app-text/podofo/Manifest | 12 ++++++------ app-text/podofo/podofo-0.9.1.ebuild | 12 ++++++++++-- 3 files changed, 21 insertions(+), 10 deletions(-) (limited to 'app-text/podofo') diff --git a/app-text/podofo/ChangeLog b/app-text/podofo/ChangeLog index f4a72ad079df..9a2a1846eff4 100644 --- a/app-text/podofo/ChangeLog +++ b/app-text/podofo/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-text/podofo -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/podofo/ChangeLog,v 1.29 2011/11/13 11:43:45 jlec Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/podofo/ChangeLog,v 1.30 2012/03/06 00:17:38 zmedico Exp $ + + 06 Mar 2012; Zac Medico podofo-0.9.1.ebuild: + Bug #407015: fix to compile with Lua 5.2 13 Nov 2011; Justin Lecher podofo-0.9.1.ebuild: Corrected Slotting of media-libs/tiff and media-libs/libpng diff --git a/app-text/podofo/Manifest b/app-text/podofo/Manifest index 8427ada66c5c..d6fd88a82c7f 100644 --- a/app-text/podofo/Manifest +++ b/app-text/podofo/Manifest @@ -1,14 +1,14 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 +Hash: SHA1 DIST podofo-0.9.1.tar.gz 1080079 RMD160 4d65f78cf4929eda44b5f27d518d104380e58160 SHA1 d04c26b93dcf5f82a8dd90e02df6de95fb98ef47 SHA256 7b969de0b6c584358f26fc5de23cff0378f46023e678fe058efbb64003ec9745 -EBUILD podofo-0.9.1.ebuild 2656 RMD160 fe96d784208bb7a4d04019a6a6b717b7e4c7e7c4 SHA1 f34e5300ac7f10f6f5e932b8f4075ccca79631fd SHA256 586c95a91a3bfe25f158f445de618f36b51ea7deb298fcd6452439165d3ae848 -MISC ChangeLog 4093 RMD160 3674585c942b24ee1a73ac8959d0ca1cce969a80 SHA1 ca57ec30cfe4c0af3596c8ec1a751ec9ba01bf28 SHA256 be6ffc244c7deac62dcf09f5a01ea6a72d0cead7e73deb1f351e0cbff97198bf +EBUILD podofo-0.9.1.ebuild 2924 RMD160 3d9d7f2417b3425fda85d4e8d59bff89e07fc16b SHA1 b48676f1a6069490f62e1350038e46e2a424365b SHA256 6a18224bb55eef221350dc88d92f6b013387161c50560b98b708aae47976f0d0 +MISC ChangeLog 4208 RMD160 cd8cb9f16bf94c14a9a71cafc1a8a93b6cbf5930 SHA1 cc6d3723a5c8167d0d3590048017401b60c29e75 SHA256 21ceac32c10c62eb0a7c5ab51d72e3c0b5191ee4c7dc94d7eb5ee20c48871325 MISC metadata.xml 260 RMD160 e3b2a51883781d0478b59185d8f1d28d16d5421a SHA1 202014c37570258aa4d762de30caf24761b39c6e SHA256 8a81d33d3746a4c328ebc474793bdf7dbb0e8c80abf7950df90e8a9c2f85b2fe -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iEYEAREKAAYFAk6/rX4ACgkQgAnW8HDreRZHzwCfQ3PU5HvxVUvVCpPkRX7WUfUD -HGEAn0u3AN+GSfjr0JaNXlNqy5WhGeS6 -=nqEa +iEYEARECAAYFAk9VV6cACgkQ/ejvha5XGaNfoQCfbWc0hfN5XMwn5T67ehMJfGyv +7MgAn27NGhFBJNWz2leYmwKsIg+vHJR1 +=HmVR -----END PGP SIGNATURE----- diff --git a/app-text/podofo/podofo-0.9.1.ebuild b/app-text/podofo/podofo-0.9.1.ebuild index 2cd6c92a4b7c..045976dca63c 100644 --- a/app-text/podofo/podofo-0.9.1.ebuild +++ b/app-text/podofo/podofo-0.9.1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/podofo/podofo-0.9.1.ebuild,v 1.7 2011/11/13 11:43:45 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/podofo/podofo-0.9.1.ebuild,v 1.8 2012/03/06 00:17:38 zmedico Exp $ EAPI=2 inherit cmake-utils flag-o-matic multilib @@ -63,6 +63,14 @@ src_prepare() { # - ePdfError_UnsupportedFontFormat sed -e 's:CPPUNIT_TEST( testFonts ://\0:' \ -i test/unit/FontTest.h || die + + # Bug #407015: fix to compile with Lua 5.2 + if has_version '>=dev-lang/lua-5.2' ; then + sed -e 's: lua_open(: luaL_newstate(:' \ + -e 's: luaL_getn(: lua_rawlen(:' -i \ + tools/podofocolor/luaconverter.cpp \ + tools/podofoimpose/planreader_lua.cpp || die + fi } src_configure() { -- cgit v1.2.3-65-gdbad