File mopac7-1.14-random_data.patch of Package mopac7

Index: mopac7-1.15/fortran/etime.c
===================================================================
--- mopac7-1.15.orig/fortran/etime.c
+++ mopac7-1.15/fortran/etime.c
@@ -28,4 +28,5 @@ float etime_(float *a)
    a[0] = a[0] + (double)(t.ru_utime.tv_usec) / CLOCKS_PER_SEC;
    a[1] = (double)(t.ru_stime.tv_sec);
    a[1] = a[1] + (double)(t.ru_stime.tv_usec) / CLOCKS_PER_SEC;
+   return a[1];
 }
openSUSE Build Service is sponsored by