diff options
author | davide <davide@macbook.(none)> | 2009-04-12 19:41:22 +0200 |
---|---|---|
committer | davide <davide@macbook.(none)> | 2009-04-12 19:41:22 +0200 |
commit | 11c7e2400b8649426d0e1f9152a63a1a6596b1ef (patch) | |
tree | 756e0aaa4f643882ff8111da79309e756ab92313 /sci-mathematics/freefem++/files | |
parent | pymol version bump to beta 6 (diff) | |
download | sci-11c7e2400b8649426d0e1f9152a63a1a6596b1ef.tar.gz sci-11c7e2400b8649426d0e1f9152a63a1a6596b1ef.tar.bz2 sci-11c7e2400b8649426d0e1f9152a63a1a6596b1ef.zip |
sci-mathematics/freefem++: fix building the documentation with >=app-text/texlive-2008
app-vim/freefem++-syntax: moved download location to omploader
Diffstat (limited to 'sci-mathematics/freefem++/files')
-rw-r--r-- | sci-mathematics/freefem++/files/freefem++-texlive2008.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/sci-mathematics/freefem++/files/freefem++-texlive2008.patch b/sci-mathematics/freefem++/files/freefem++-texlive2008.patch new file mode 100644 index 000000000..c33ad8cb7 --- /dev/null +++ b/sci-mathematics/freefem++/files/freefem++-texlive2008.patch @@ -0,0 +1,34 @@ +diff -urN freefem++-2.24-2.old/DOC/dessin.sty freefem++-2.24-2.new/DOC/dessin.sty +--- freefem++-2.24-2.old/DOC/dessin.sty 2009-04-12 18:05:17.000000000 +0200 ++++ freefem++-2.24-2.new/DOC/dessin.sty 2009-04-12 18:13:51.000000000 +0200 +@@ -1,10 +1,4 @@ +-\newif\ifpdf +-\ifx\pdfoutput\undefined +-\pdffalse % we are not running PDFLaTeX +-\else +-\pdfoutput=1 % we are running PDFLaTeX +-\pdftrue +-\fi ++\usepackage{ifpdf} + + \ifpdf + \usepackage[pdftex]{graphicx} +diff -urN freefem++-2.24-2.old/DOC/styles.sty freefem++-2.24-2.new/DOC/styles.sty +--- freefem++-2.24-2.old/DOC/styles.sty 2009-04-12 18:05:07.000000000 +0200 ++++ freefem++-2.24-2.new/DOC/styles.sty 2009-04-12 18:13:35.000000000 +0200 +@@ -1,14 +1,6 @@ + + %\RequirePackage{everyshi}% +-\newif\ifpdf +-\pdffalse +-\@ifundefined{pdfoutput}{\message{-- no pdf -- }}{ +- \ifcase\pdfoutput +- \message{-- no pdf -- } +- \else +- \pdftrue +- \message{-- ++ pdf -- } +- \fi} ++\usepackage{ifpdf} + + \ifpdf + \usepackage{pdfsync} |