commit:     777e9a47c90e8fcf7ee301c446a32a22cb407b15
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Thu Dec  5 13:55:56 2019 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Fri Dec  6 15:38:51 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=777e9a47

sci-chemistry/molden: remove unused patches

Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/13882
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>

 sci-chemistry/molden/files/molden-4.8-ambfor.patch | 12 -------
 .../molden/files/molden-4.8-overflow.patch         | 38 ----------------------
 2 files changed, 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 1ececa7f57e..00000000000
--- 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 7cbd7f436f5..00000000000
--- 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();
- }
- 

Reply via email to