diff options
author | Zac Medico <zmedico@gentoo.org> | 2012-03-06 00:17:38 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2012-03-06 00:17:38 +0000 |
commit | 0c9bcaa9bddbcdcd4faa9e1a27ba57f495c3a79e (patch) | |
tree | dcdfdb6479b6853d9162a49d395393d76e0c1c2b /app-text/podofo | |
parent | Use system linux header files rather than those in /usr/src/linux (diff) | |
download | gentoo-2-0c9bcaa9bddbcdcd4faa9e1a27ba57f495c3a79e.tar.gz gentoo-2-0c9bcaa9bddbcdcd4faa9e1a27ba57f495c3a79e.tar.bz2 gentoo-2-0c9bcaa9bddbcdcd4faa9e1a27ba57f495c3a79e.zip |
Bug #407015: fix to compile with Lua 5.2
(Portage version: 2.2.0_alpha90/cvs/Linux i686)
Diffstat (limited to 'app-text/podofo')
-rw-r--r-- | app-text/podofo/ChangeLog | 7 | ||||
-rw-r--r-- | app-text/podofo/podofo-0.9.1.ebuild | 12 |
2 files changed, 15 insertions, 4 deletions
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 <zmedico@gentoo.org> podofo-0.9.1.ebuild: + Bug #407015: fix to compile with Lua 5.2 13 Nov 2011; Justin Lecher <jlec@gentoo.org> podofo-0.9.1.ebuild: Corrected Slotting of media-libs/tiff and media-libs/libpng 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() { |