C++ fixes for gcc3; based on work by Jack J. Woehr <jwoehr@attglobal.net>.
This commit is contained in:
parent
1a7e60770d
commit
3603e8e9dd
12
textproc/lq-sp/patches/patch-include_config_h
Normal file
12
textproc/lq-sp/patches/patch-include_config_h
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-include_config_h,v 1.1 2002/10/16 00:01:11 naddy Exp $
|
||||
--- include/config.h.orig Tue Oct 15 02:49:22 2002
|
||||
+++ include/config.h Tue Oct 15 02:50:07 2002
|
||||
@@ -26,7 +26,7 @@
|
||||
#endif
|
||||
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 8)
|
||||
#define SP_ANSI_LIB
|
||||
-#define SP_NO_STD_NAMESPACE
|
||||
+// #define SP_NO_STD_NAMESPACE
|
||||
#undef SP_NEW_H_MISSING
|
||||
#endif
|
||||
|
11
textproc/lq-sp/patches/patch-lib_URLStorage_cxx
Normal file
11
textproc/lq-sp/patches/patch-lib_URLStorage_cxx
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-lib_URLStorage_cxx,v 1.1 2002/10/16 00:01:11 naddy Exp $
|
||||
--- lib/URLStorage.cxx.orig Tue Oct 15 02:17:58 2002
|
||||
+++ lib/URLStorage.cxx Tue Oct 15 02:18:24 2002
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
// FIXME This implementation won't work on an EBCDIC machine.
|
||||
|
||||
+#include <iostream.h> // ends
|
||||
#include <strstream.h>
|
||||
#include "splib.h"
|
||||
#ifdef WINSOCK
|
Loading…
Reference in New Issue
Block a user