diff options
-rw-r--r-- | sci-chemistry/molden/files/molden-4.8-ambfor.patch | 12 | ||||
-rw-r--r-- | sci-chemistry/molden/files/molden-4.8-overflow.patch | 38 |
2 files changed, 0 insertions, 50 deletions
diff --git a/sci-chemistry/molden/files/molden-4.8-ambfor.patch b/sci-chemistry/molden/files/molden-4.8-ambfor.patch deleted file mode 100644 index 1ececa7f57e9..000000000000 --- a/sci-chemistry/molden/files/molden-4.8-ambfor.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur molden4.8/ambfor/makefile molden4.8.new/ambfor/makefile ---- molden4.8/ambfor/makefile 2009-12-19 06:14:32.000000000 -0500 -+++ molden4.8.new/ambfor/makefile 2010-02-25 22:33:41.000000000 -0500 -@@ -32,7 +32,7 @@ - $(LDR) -o ambmd md.o verlet.o allocmd.o $(OBJS) $(LIBS) - - ambfor.o: ambfor.f -- ${FC} -c -g -ffast-math -funroll-loops -m32 -o ambfor.o ambfor.f -+ ${FC} $(FFLAGS) -c ambfor.f -o ambfor.o - - allocmd.o: alloc.c - $(CC) $(CFLAGS) -DMD -c alloc.c -o allocmd.o diff --git a/sci-chemistry/molden/files/molden-4.8-overflow.patch b/sci-chemistry/molden/files/molden-4.8-overflow.patch deleted file mode 100644 index 7cbd7f436f57..000000000000 --- a/sci-chemistry/molden/files/molden-4.8-overflow.patch +++ /dev/null @@ -1,38 +0,0 @@ - xwin.c | 10 ++++++---- - 1 files changed, 6 insertions(+), 4 deletions(-) - -diff --git a/xwin.c b/xwin.c -index f395909..092edff 100644 ---- a/xwin.c -+++ b/xwin.c -@@ -13552,7 +13552,7 @@ void NewActiveStruct() - #ifdef CRAY - _fcd ztr; - #else -- char ztr; -+ char ztr[4]; - #endif - #endif - -@@ -13650,8 +13650,10 @@ void NewActiveStruct() - */ - clfpstr->ihashz = 0; - #else -- strncpy(&ztr,HetAtm[j],3); -- parhet_(&j1,&ztr); -+ if (HetAtm[j] != NULL) { -+ strncpy(ztr,HetAtm[j],3); -+ parhet_(&j1,ztr); -+ } - #endif - #endif - } -@@ -27353,7 +27355,7 @@ char *errstr; - UpdateZME(); - RedrawScroll(&zscroll); - } -- strcpy(ZMEerr,errstr); -+ strncpy(ZMEerr,errstr,MAXZMEERR); - RedrawStatus(); - } - |