--- xmds-doc-0~svn.1884/debian/changelog
+++ xmds-doc-0~svn.1884/debian/changelog
@@ -1,3 +1,12 @@
+xmds-doc (0~svn.1884-3.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/patches/ifpdf.patch: Since we're renaming \ifpdf to
+    \ifmakepdf, we also need to change \pdftrue to \makepdftrue and
+    \pdffalse to \makepdffalse.  Closes: #666586.
+
+ -- Matej Vela <vela@debian.org>  Sun, 27 May 2012 11:20:20 +0100
+
 xmds-doc (0~svn.1884-3) unstable; urgency=low
 
   * debian/control:
--- xmds-doc-0~svn.1884/debian/patches/ifpdf.patch
+++ xmds-doc-0~svn.1884/debian/patches/ifpdf.patch
@@ -1,18 +1,20 @@
 Index: xmds-doc-0~svn.1884/latex/xmds_defs.tex
 ===================================================================
---- xmds-doc-0~svn.1884.orig/latex/xmds_defs.tex	2010-02-23 23:41:57.000000000 +0100
-+++ xmds-doc-0~svn.1884/latex/xmds_defs.tex	2010-02-23 23:42:20.000000000 +0100
-@@ -33,23 +33,22 @@
+--- xmds-doc-0~svn.1884.orig/latex/xmds_defs.tex
++++ xmds-doc-0~svn.1884/latex/xmds_defs.tex
+@@ -33,23 +33,23 @@
  %%%% helps latex2html *not* see the stuff inbetween
  
  % this code hacked from that of R Chandrasekhar from UWA
 -\newif\ifpdf
 +\newif\ifmakepdf
  \ifx\pdfoutput\undefined
- 	\pdffalse    % we are not running pdfLaTeX
+-	\pdffalse    % we are not running pdfLaTeX
++	\makepdffalse    % we are not running pdfLaTeX
  \else
  	\pdfoutput=1 % we are running pdfLaTeX
 -	\pdftrue
++	\makepdftrue
  \fi
  
  % add the color package
@@ -29,7 +31,7 @@
  \usepackage[pdftex]{hyperref}
  \else
  \usepackage[hypertex]{hyperref}
-@@ -62,7 +61,7 @@
+@@ -62,7 +62,7 @@
  \usepackage{ccaption}
  \usepackage{fancyhdr}   
  
