* [gentoo-commits] gentoo-x86 commit in app-doc/doc++/files: doc++-3.4.10-flex.patch doc++-3.4.10-gcc43.patch flex.patch
@ 2008-06-28 23:16 Peter Alfredsen (loki_val)
0 siblings, 0 replies; only message in thread
From: Peter Alfredsen (loki_val) @ 2008-06-28 23:16 UTC (permalink / raw
To: gentoo-commits
loki_val 08/06/28 23:16:13
Added: doc++-3.4.10-flex.patch doc++-3.4.10-gcc43.patch
Removed: flex.patch
Log:
Fix gcc-4.3, bug #227067. Clean old.
(Portage version: 2.2_rc1/cvs/Linux 2.6.25.8 i686)
Revision Changes Path
1.1 app-doc/doc++/files/doc++-3.4.10-flex.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-doc/doc++/files/doc++-3.4.10-flex.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-doc/doc++/files/doc++-3.4.10-flex.patch?rev=1.1&content-type=text/plain
Index: doc++-3.4.10-flex.patch
===================================================================
--- doc++-3.4.10/src/docify.ll 2001-03-08 08:36:20.000000000 +0000
+++ doc++-3.4.10-patched/src/docify.ll 2004-01-13 22:12:27.000000000 +0000
@@ -314,7 +314,7 @@
{
if(argv[1][0] == '-')
{
- fprintf(stderr, "Usage: docify [infile [outfile]]\n");
+ fprintf(stderr, "Usage: docify [ infile [ outfile ] ]\n");
return 0;
}
ain = fopen(argv[1], "r");
1.1 app-doc/doc++/files/doc++-3.4.10-gcc43.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-doc/doc++/files/doc++-3.4.10-gcc43.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-doc/doc++/files/doc++-3.4.10-gcc43.patch?rev=1.1&content-type=text/plain
Index: doc++-3.4.10-gcc43.patch
===================================================================
--- doc++-3.4.10.orig/src/main.cc
+++ doc++-3.4.10/src/main.cc
@@ -25,7 +25,7 @@
#include "config.h"
#include <assert.h>
-#include <fstream.h>
+#include <fstream>
#include <getopt.h>
#include <locale.h>
#include <stdio.h>
@@ -38,6 +38,8 @@
#define GIF_FILE_NAME "gifs.db"
+using namespace std;
+
FILE *out;
char language;
Entry *root;
only in patch2:
unchanged:
--- doc++-3.4.10.orig/src/nametable.h
+++ doc++-3.4.10/src/nametable.h
@@ -25,7 +25,9 @@
#define _NAME_TABLE_H
#include <assert.h>
-#include <iostream.h>
+#include <iostream>
+
+using namespace std;
#include "datahashtable.h"
only in patch2:
unchanged:
--- doc++-3.4.10.orig/src/doc2tex.ll
+++ doc++-3.4.10/src/doc2tex.ll
@@ -23,13 +23,15 @@
%{
#include <assert.h>
-#include <fstream.h>
-#include <iostream.h>
+#include <fstream>
+#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
+using namespace std;
+
#include "classgraph.h"
#include "doc.h"
only in patch2:
unchanged:
--- doc++-3.4.10.orig/src/java.ll
+++ doc++-3.4.10/src/java.ll
@@ -26,7 +26,7 @@
#include <assert.h>
#include <ctype.h>
-#include <iostream.h>
+#include <iostream>
#include <stdio.h>
#include "doc.h"
only in patch2:
unchanged:
--- doc++-3.4.10.orig/src/html.cc
+++ doc++-3.4.10/src/html.cc
@@ -31,7 +31,7 @@
#include <direct.h>
#endif
#include <errno.h>
-#include <iostream.h>
+#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
only in patch2:
unchanged:
--- doc++-3.4.10.orig/src/comment.ll
+++ doc++-3.4.10/src/comment.ll
@@ -24,7 +24,7 @@
#include <assert.h>
#include <ctype.h>
-#include <iostream.h>
+#include <iostream>
#include <stdarg.h>
#include <stdio.h>
only in patch2:
unchanged:
--- doc++-3.4.10.orig/src/tex2gif.cc
+++ doc++-3.4.10/src/tex2gif.cc
@@ -21,8 +21,8 @@
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include <iostream.h>
-#include <fstream.h>
+#include <iostream>
+#include <fstream>
#include <stdio.h>
#include <string.h>
@@ -38,6 +38,8 @@
#include "nametable.h"
#include "tex2gif.h"
+using namespace std;
+
void _system(const char *b)
{
#ifdef DEBUG
only in patch2:
unchanged:
--- doc++-3.4.10.orig/src/cpp.ll
+++ doc++-3.4.10/src/cpp.ll
@@ -26,7 +26,7 @@
#include <assert.h>
#include <ctype.h>
-#include <iostream.h>
+#include <iostream>
#include <stdarg.h>
#include <stdio.h>
only in patch2:
unchanged:
--- doc++-3.4.10.orig/src/doc.ll
+++ doc++-3.4.10/src/doc.ll
@@ -23,8 +23,8 @@
%{
#include <assert.h>
-#include <fstream.h>
-#include <iostream.h>
+#include <fstream>
+#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
only in patch2:
unchanged:
--- doc++-3.4.10.orig/src/nametable.cc
+++ doc++-3.4.10/src/nametable.cc
@@ -22,7 +22,7 @@
*/
#include <assert.h>
-#include <iostream.h>
+#include <iostream>
#include <stdlib.h>
#include <string.h>
only in patch2:
unchanged:
--- doc++-3.4.10.orig/src/datahashtable.h
+++ doc++-3.4.10/src/datahashtable.h
@@ -26,9 +26,11 @@
#define _DATAHASHTABLE_H
#include <assert.h>
-#include <iostream.h>
+#include <iostream>
#include <stdlib.h>
+using namespace std;
+
#include "McDArray.h"
/* This should be a private subclass of #DataHashTable#. However, since cfront
only in patch2:
unchanged:
--- doc++-3.4.10.orig/src/equate.cc
+++ doc++-3.4.10/src/equate.cc
@@ -23,9 +23,9 @@
#include "config.h"
-#include <fstream.h>
+#include <fstream>
#include <getopt.h>
-#include <iostream.h>
+#include <iostream>
#include <stdio.h>
#include <string.h>
only in patch2:
unchanged:
--- doc++-3.4.10.orig/src/doc2dbsgml.ll
+++ doc++-3.4.10/src/doc2dbsgml.ll
@@ -22,12 +22,14 @@
%{
#include <assert.h>
-#include <fstream.h>
-#include <iostream.h>
+#include <fstream>
+#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+using namespace std;
+
#include "classgraph.h"
#include "doc.h"
only in patch2:
unchanged:
--- doc++-3.4.10.orig/src/doc2dbxml.ll
+++ doc++-3.4.10/src/doc2dbxml.ll
@@ -25,12 +25,14 @@
%{
#include <assert.h>
-#include <fstream.h>
-#include <iostream.h>
+#include <fstream>
+#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+using namespace std;
+
#include "classgraph.h"
#include "doc.h"
only in patch2:
unchanged:
--- doc++-3.4.10.orig/src/php.ll
+++ doc++-3.4.10/src/php.ll
@@ -23,7 +23,7 @@
%{
#include <assert.h>
#include <ctype.h>
-#include <iostream.h>
+#include <iostream>
#include <stdio.h>
#include "doc.h"
--
gentoo-commits@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-06-28 23:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-28 23:16 [gentoo-commits] gentoo-x86 commit in app-doc/doc++/files: doc++-3.4.10-flex.patch doc++-3.4.10-gcc43.patch flex.patch Peter Alfredsen (loki_val)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox