diff options
author | Alexis Ballier <aballier@gentoo.org> | 2009-05-23 10:11:09 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2009-05-23 10:11:09 +0000 |
commit | bf65219c1e8f0ee11b8ddccbf06a3c1c5c7c9e2a (patch) | |
tree | 2e9e3a2a1c6e602396e6c80457e77a7290f665ef /dev-tex | |
parent | version bump (diff) | |
download | gentoo-2-bf65219c1e8f0ee11b8ddccbf06a3c1c5c7c9e2a.tar.gz gentoo-2-bf65219c1e8f0ee11b8ddccbf06a3c1c5c7c9e2a.tar.bz2 gentoo-2-bf65219c1e8f0ee11b8ddccbf06a3c1c5c7c9e2a.zip |
fix build with glibc 2.10, bug #270779, ported from tl-core
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-tex')
-rw-r--r-- | dev-tex/pdftex/ChangeLog | 6 | ||||
-rw-r--r-- | dev-tex/pdftex/files/pdftex-1.40.9-getline.patch | 15 | ||||
-rw-r--r-- | dev-tex/pdftex/pdftex-1.40.9.ebuild | 3 |
3 files changed, 22 insertions, 2 deletions
diff --git a/dev-tex/pdftex/ChangeLog b/dev-tex/pdftex/ChangeLog index f8ae808a6f96..59c3fd5c6424 100644 --- a/dev-tex/pdftex/ChangeLog +++ b/dev-tex/pdftex/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-tex/pdftex # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/pdftex/ChangeLog,v 1.16 2009/05/14 17:20:34 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tex/pdftex/ChangeLog,v 1.17 2009/05/23 10:11:08 aballier Exp $ + + 23 May 2009; Alexis Ballier <aballier@gentoo.org> pdftex-1.40.9.ebuild, + +files/pdftex-1.40.9-getline.patch: + fix build with glibc 2.10, bug #270779, ported from tl-core 14 May 2009; Alexis Ballier <aballier@gentoo.org> pdftex-1.40.9.ebuild, +files/pdftex-1.40.9-poppler-0.11.patch: diff --git a/dev-tex/pdftex/files/pdftex-1.40.9-getline.patch b/dev-tex/pdftex/files/pdftex-1.40.9-getline.patch new file mode 100644 index 000000000000..8b40619acc10 --- /dev/null +++ b/dev-tex/pdftex/files/pdftex-1.40.9-getline.patch @@ -0,0 +1,15 @@ +https://bugs.gentoo.org/show_bug.cgi?id=270779 +Ported from the texlive-core patch. + +Index: src/texk/web2c/cpascal.h +=================================================================== +--- src.orig/texk/web2c/cpascal.h ++++ src/texk/web2c/cpascal.h +@@ -14,6 +14,7 @@ + + /* We must include this first, to resolve many C issues. */ + #include "config.h" ++#define getline pdftex_getline + + /* We only use getopt in the applications, not in web2c itself. */ + #include <kpathsea/getopt.h> diff --git a/dev-tex/pdftex/pdftex-1.40.9.ebuild b/dev-tex/pdftex/pdftex-1.40.9.ebuild index c44f0e9743f7..37d3a6ecb047 100644 --- a/dev-tex/pdftex/pdftex-1.40.9.ebuild +++ b/dev-tex/pdftex/pdftex-1.40.9.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/pdftex/pdftex-1.40.9.ebuild,v 1.16 2009/05/14 17:20:34 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tex/pdftex/pdftex-1.40.9.ebuild,v 1.17 2009/05/23 10:11:08 aballier Exp $ inherit libtool toolchain-funcs eutils multilib @@ -28,6 +28,7 @@ src_unpack() { epatch "${FILESDIR}/${P}-poppler.patch" epatch "${FILESDIR}/${P}-xpdfversion.patch" epatch "${FILESDIR}/${P}-poppler-0.11.patch" + epatch "${FILESDIR}/${P}-getline.patch" elibtoolize } |