[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SVN texlive (2007) commit: r3792 - in texlive-new/trunk: all/debian texlive-bin/debian texlive-bin/debian/patches



On 11.03.09 Norbert Preining (preining@alioth.debian.org) wrote:

Hi,

> * [bin] fix build errors with gcc-4.4 (patch thanks to Martin Michlmayr)
>   (Closes: #505693)
> 
That patch is partially needed in TL2008 too. Attached a manually
edited patch. Please test it and put it into SVN if it works.

Thanks,
  Hilmar
-- 
http://www.hilmar-preusse.de.vu/
Patch by Martin Michlmayr <tbm@cyrius.com>

from his email in bug report #505693

Your package fails to build with the upcoming GCC 4.4.  Version 4.4
has not been released yet but I'm building with a snapshot in order
to find errors and give people an advance warning.

Problem 1) GCC 4.4 cleaned up some more C++ headers.  You always have
to #include headers directly and cannot rely for things to be included
indirectly.

---
 build/source/libs/teckit/source/Compiler.cpp             |    1 +
 1 files changed, 1 insertions(+)

Index: texlive-bin-2008.svn12198.orig/build/source/texlive-20080816-source/libs/teckit/source/Compiler.cpp
===================================================================
--- texlive-bin-2008.svn12198.orig/build/source/texlive-20080816-source/libs/teckit/source/Compiler.cpp	2009-03-11 14:36:55.000000000 +0100
+++ texlive-bin-2008.svn12198.orig/build/source/texlive-20080816-source/libs/teckit/source/Compiler.cpp	2009-03-11 14:37:10.000000000 +0100
@@ -29,6 +29,7 @@
 
 #include "Compiler.h"
 
+#include <cstdio>
 #include <iostream>
 #include <iomanip>
 #include <algorithm>

Reply to: