sci-chemistry/molden: remove unused patches
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Thu, 5 Dec 2019 13:55:56 +0000 (14:55 +0100)
committerAaron Bauman <bman@gentoo.org>
Fri, 6 Dec 2019 15:38:51 +0000 (10:38 -0500)
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>
sci-chemistry/molden/files/molden-4.8-ambfor.patch [deleted file]
sci-chemistry/molden/files/molden-4.8-overflow.patch [deleted file]

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 (file)
index 1ececa7..0000000
+++ /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 (file)
index 7cbd7f4..0000000
+++ /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();
- }