aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-mathematics/freefem++/files/freefem++-texlive2008.patch')
-rw-r--r--sci-mathematics/freefem++/files/freefem++-texlive2008.patch34
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}