File LabPlot-1.6.0.2.patch of Package LabPlot
--- netcdf/ncx.h
+++ netcdf/ncx.h
@@ -30,7 +30,7 @@
/* Define uchar if it is not defined on this system. */
#ifndef HAVE_UCHAR
-//typedef unsigned char uchar;
+/*typedef unsigned char uchar;*/
#endif
#if defined(_CRAY) && !defined(_CRAYIEEE) && !defined(__crayx1)
--- qhull/global.c
+++ qhull/global.c
@@ -545,7 +545,7 @@
if (command != &qh qhull_command[0]) {
*qh qhull_command= '\0';
- strncat( qh qhull_command, command, sizeof( qh qhull_command));
+ strncat( qh qhull_command, command, sizeof( qh qhull_command) - 1);
}
while (*s && !isspace(*s)) /* skip program name */
s++;
--- src/RInterface.cc.orig 2008-05-06 10:00:13.000000000 +0200
+++ src/RInterface.cc 2008-05-06 10:00:35.000000000 +0200
@@ -55,6 +55,7 @@ double RInterface::evalCommand(char *cmd
UNPROTECT(3);
#endif
+ return 0;
}
// eval command and putting results into data
@@ -100,6 +101,7 @@ double RInterface::evalCommandValue(char
UNPROTECT(3);
#endif
+ return 0;
}
// convert SEXP val to a char* and put it into buf
--- src/ImportDialog.cc.orig 2008-05-06 09:59:52.000000000 +0200
+++ src/ImportDialog.cc 2008-05-06 10:00:05.000000000 +0200
@@ -282,6 +282,7 @@ int ImportDialog::importHDF5(QString fil
return 0;
#else
kdDebug()<<"hdf5 file format not supported!"<<endl;
+ return 0;
#endif
}