]> git.pld-linux.org Git - packages/TORCS.git/commitdiff
- fixes compilation
authorgrzegol <grzegol@pld-linux.org>
Thu, 10 Jul 2003 14:58:43 +0000 (14:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    TORCS-compile_fix.patch -> 1.1

TORCS-compile_fix.patch [new file with mode: 0644]

diff --git a/TORCS-compile_fix.patch b/TORCS-compile_fix.patch
new file mode 100644 (file)
index 0000000..3f5723e
--- /dev/null
@@ -0,0 +1,21 @@
+diff -urN aaa/torcs-1.2.1/src/drivers/K1999/K1999.cpp torcs-1.2.1/src/drivers/K1999/K1999.cpp
+--- aaa/torcs-1.2.1/src/drivers/K1999/K1999.cpp        2003-04-19 11:48:14.000000000 +0200
++++ torcs-1.2.1/src/drivers/K1999/K1999.cpp    2003-07-10 16:32:13.000000000 +0200
+@@ -14,7 +14,7 @@
+ ////////////////////////////////////////////////////////////////////////////
+ #include <iostream.h>
+ #ifndef WIN32
+-#include <strstream.h>
++#include <strstream>
+ #endif
+ #include <iomanip.h>
+ #include <math.h>
+@@ -515,7 +515,7 @@
+  OUTPUT("initTrack(" << index << ")");
+  char szSettings[100];
+ #ifndef WIN32
+- ostrstream os(szSettings, sizeof(szSettings));
++ std::ostrstream os(szSettings, sizeof(szSettings));
+  os << "drivers/K1999/" << index << "/settings.xml" << ends;
+ #else
+  sprintf(szSettings, "drivers/K1999/%d/settings.xml", index);
This page took 0.079781 seconds and 4 git commands to generate.