diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2019-12-05 14:55:56 +0100 |
---|---|---|
committer | Aaron Bauman <bman@gentoo.org> | 2019-12-06 10:38:51 -0500 |
commit | 777e9a47c90e8fcf7ee301c446a32a22cb407b15 (patch) | |
tree | d0cf1bb758579522ceac1d960893c39c80d67933 /sci-chemistry/molden | |
parent | dev-lang/jsonnet: remove unused patches (diff) | |
download | gentoo-777e9a47c90e8fcf7ee301c446a32a22cb407b15.tar.gz gentoo-777e9a47c90e8fcf7ee301c446a32a22cb407b15.tar.bz2 gentoo-777e9a47c90e8fcf7ee301c446a32a22cb407b15.zip |
sci-chemistry/molden: remove unused patches
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/13882
Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'sci-chemistry/molden')
-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(); - } - |