diff options
author | Alexis Ballier <aballier@gentoo.org> | 2013-08-13 15:12:17 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2013-08-13 15:12:17 +0000 |
commit | 7157944b7f91553eebf2f93f0648599930b7ad8d (patch) | |
tree | 1f60e1c861d287ce5b9db0d7429a31b78a9e02ff /media-libs/libcaca | |
parent | Version bump. (diff) | |
download | gentoo-2-7157944b7f91553eebf2f93f0648599930b7ad8d.tar.gz gentoo-2-7157944b7f91553eebf2f93f0648599930b7ad8d.tar.bz2 gentoo-2-7157944b7f91553eebf2f93f0648599930b7ad8d.zip |
Fix building documentation with texlive 2013, bug #480862
(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'media-libs/libcaca')
-rw-r--r-- | media-libs/libcaca/ChangeLog | 6 | ||||
-rw-r--r-- | media-libs/libcaca/files/libcaca-0.99_beta18-latex_hacks.patch | 16 | ||||
-rw-r--r-- | media-libs/libcaca/libcaca-0.99_beta18-r1.ebuild | 4 |
3 files changed, 24 insertions, 2 deletions
diff --git a/media-libs/libcaca/ChangeLog b/media-libs/libcaca/ChangeLog index f536654232b0..ae3adbaa9149 100644 --- a/media-libs/libcaca/ChangeLog +++ b/media-libs/libcaca/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/libcaca # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaca/ChangeLog,v 1.109 2013/08/13 10:15:26 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaca/ChangeLog,v 1.110 2013/08/13 15:12:17 aballier Exp $ + + 13 Aug 2013; Alexis Ballier <aballier@gentoo.org> + libcaca-0.99_beta18-r1.ebuild, +files/libcaca-0.99_beta18-latex_hacks.patch: + Fix building documentation with texlive 2013, bug #480862 13 Aug 2013; Samuli Suominen <ssuominen@gentoo.org> libcaca-0.99_beta18-r1.ebuild: diff --git a/media-libs/libcaca/files/libcaca-0.99_beta18-latex_hacks.patch b/media-libs/libcaca/files/libcaca-0.99_beta18-latex_hacks.patch new file mode 100644 index 000000000000..70cb34f88bf5 --- /dev/null +++ b/media-libs/libcaca/files/libcaca-0.99_beta18-latex_hacks.patch @@ -0,0 +1,16 @@ +Hack it a bit differently so that it works with texlive 2013. +https://bugs.gentoo.org/show_bug.cgi?id=480862 + +Index: libcaca-0.99.beta18/doc/Makefile.am +=================================================================== +--- libcaca-0.99.beta18.orig/doc/Makefile.am ++++ libcaca-0.99.beta18/doc/Makefile.am +@@ -29,7 +29,7 @@ if BUILD_DOCUMENTATION + if USE_LATEX + rm -f latex/libcaca.tex latex/libcaca.pdf + mv latex/refman.tex latex/libcaca.tex +- sed 's/setlength{/renewcommand{/' latex/libcaca.tex \ ++ sed 's/\\setlength{/%\0/' latex/libcaca.tex \ + | sed 's/.*usepackage.*times.*//' > latex/refman.tex + cd latex && $(MAKE) $(AM_CFLAGS) refman.pdf || (cat refman.log; exit 1) + mv latex/refman.pdf latex/libcaca.pdf diff --git a/media-libs/libcaca/libcaca-0.99_beta18-r1.ebuild b/media-libs/libcaca/libcaca-0.99_beta18-r1.ebuild index 629fbd41ecaa..15ec1759e932 100644 --- a/media-libs/libcaca/libcaca-0.99_beta18-r1.ebuild +++ b/media-libs/libcaca/libcaca-0.99_beta18-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaca/libcaca-0.99_beta18-r1.ebuild,v 1.2 2013/08/13 10:15:26 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaca/libcaca-0.99_beta18-r1.ebuild,v 1.3 2013/08/13 15:12:17 aballier Exp $ EAPI=5 PYTHON_COMPAT=( python{2_6,2_7} ) @@ -73,6 +73,8 @@ src_prepare() { append-cflags -DX_DISPLAY_MISSING fi + epatch "${FILESDIR}/${P}-latex_hacks.patch" + eautoreconf java-pkg-opt-2_src_prepare |