public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-libs/libcaca/files: libcaca-0.99_beta18-latex_hacks.patch
@ 2013-08-13 15:12 Alexis Ballier (aballier)
  0 siblings, 0 replies; only message in thread
From: Alexis Ballier (aballier) @ 2013-08-13 15:12 UTC (permalink / raw
  To: gentoo-commits

aballier    13/08/13 15:12:18

  Added:                libcaca-0.99_beta18-latex_hacks.patch
  Log:
  Fix building documentation with texlive 2013, bug #480862
  
  (Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key 160F534A)

Revision  Changes    Path
1.1                  media-libs/libcaca/files/libcaca-0.99_beta18-latex_hacks.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libcaca/files/libcaca-0.99_beta18-latex_hacks.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libcaca/files/libcaca-0.99_beta18-latex_hacks.patch?rev=1.1&content-type=text/plain

Index: libcaca-0.99_beta18-latex_hacks.patch
===================================================================
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





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-08-13 15:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-13 15:12 [gentoo-commits] gentoo-x86 commit in media-libs/libcaca/files: libcaca-0.99_beta18-latex_hacks.patch Alexis Ballier (aballier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox