SOURCES: octave-gcc.patch (NEW) - fix g++ paranoia
baggins
baggins at pld-linux.org
Thu Feb 26 01:59:00 CET 2009
Author: baggins Date: Thu Feb 26 00:59:00 2009 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix g++ paranoia
---- Files affected:
SOURCES:
octave-gcc.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/octave-gcc.patch
diff -u /dev/null SOURCES/octave-gcc.patch:1.1
--- /dev/null Thu Feb 26 01:59:01 2009
+++ SOURCES/octave-gcc.patch Thu Feb 26 01:58:54 2009
@@ -0,0 +1,22 @@
+--- octave-3.0.3/liboctave/sparse-util.h~ 2008-09-24 09:13:47.000000000 +0200
++++ octave-3.0.3/liboctave/sparse-util.h 2009-02-26 01:57:30.000000000 +0100
+@@ -24,7 +24,7 @@
+ #if !defined (octave_sparse_util_h)
+ #define octave_sparse_util_h 1
+
+-extern OCTAVE_API void SparseCholError (int status, char *file, int line, char *message);
++extern OCTAVE_API void SparseCholError (int status, const char *file, int line, const char *message);
+ extern OCTAVE_API int SparseCholPrint (const char *fmt, ...);
+
+ #endif
+--- octave-3.0.3/liboctave/sparse-util.cc~ 2008-09-24 09:13:47.000000000 +0200
++++ octave-3.0.3/liboctave/sparse-util.cc 2009-02-26 01:57:08.000000000 +0100
+@@ -31,7 +31,7 @@
+ #include "sparse-util.h"
+
+ void
+-SparseCholError (int status, char *file, int line, char *message)
++SparseCholError (int status, const char *file, int line, const char *message)
+ {
+ (*current_liboctave_warning_handler)("warning %i, at line %i in file %s",
+ status, line, file);
================================================================
More information about the pld-cvs-commit
mailing list