70208ce99f
Fixed the rpmlint warning for the license. Changed from BSD to BSD-3-Clause. OBS-URL: https://build.opensuse.org/request/show/107061 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hdf5?expand=0&rev=1
51 lines
1.9 KiB
Diff
51 lines
1.9 KiB
Diff
Index: hl/src/H5LTanalyze.l
|
||
===================================================================
|
||
--- hl/src/H5LTanalyze.l.orig 2011-11-27 14:19:17.000000000 +0100
|
||
+++ hl/src/H5LTanalyze.l 2011-11-27 14:20:12.619164660 +0100
|
||
@@ -184,6 +184,7 @@ int my_yyinput(char *buf, int max_size)
|
||
int H5LTyyerror(char *msg)
|
||
{
|
||
printf("ERROR: %s before \"%s\".\n", msg, yytext);
|
||
+ return (0); // return from non void fix
|
||
}
|
||
|
||
int yywrap()
|
||
Index: test/dt_arith.c
|
||
===================================================================
|
||
--- test/dt_arith.c.orig 2011-11-27 14:22:13.000000000 +0100
|
||
+++ test/dt_arith.c 2011-11-27 14:22:21.908435252 +0100
|
||
@@ -3470,6 +3470,7 @@ error:
|
||
else if(run_test==TEST_DENORM || run_test==TEST_SPECIAL)
|
||
return 1;
|
||
#endif
|
||
+ return 1; // return from non void fix
|
||
}
|
||
|
||
|
||
Index: tools/h5diff/h5diff_common.c
|
||
===================================================================
|
||
--- tools/h5diff/h5diff_common.c.orig 2011-11-07 23:11:35.000000000 +0100
|
||
+++ tools/h5diff/h5diff_common.c 2011-11-27 14:23:49.105943847 +0100
|
||
@@ -69,6 +69,7 @@ static check_options(diff_opt_t* options
|
||
printf("Try '-h' or '--help' option for more information or see the %s entry in the 'HDF5 Reference Manual'.\n", PROGRAMNAME);
|
||
h5diff_exit(EXIT_FAILURE);
|
||
}
|
||
+ return (0); // no return in non void function fix
|
||
}
|
||
|
||
|
||
Index: hl/src/H5LTanalyze.c
|
||
===================================================================
|
||
--- hl/src/H5LTanalyze.c.orig 2011-11-07 23:11:38.000000000 +0100
|
||
+++ hl/src/H5LTanalyze.c 2011-11-27 21:59:27.188216404 +0100
|
||
@@ -2332,6 +2332,9 @@ int my_yyinput(char *buf, int max_size)
|
||
int H5LTyyerror(char *msg)
|
||
{
|
||
printf("ERROR: %s before \"%s\".\n", msg, yytext);
|
||
+ return (0); // return from non void fix. Fix is already applied at lexer
|
||
+ // file but i will not re-generate this file as it looks it is changed
|
||
+ // by hand ...
|
||
}
|
||
|
||
int yywrap()
|