diff options
author | Michael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com> | 2017-01-29 09:41:10 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-01-29 21:09:13 +0100 |
commit | d5f810879630c986933b75d6ae31d920a7cfb2e8 (patch) | |
tree | abd715ca0595a4d85e671b656624f5a981f6c110 /sci-biology | |
parent | sci-biology/meme: remove unused patches (diff) | |
download | gentoo-d5f810879630c986933b75d6ae31d920a7cfb2e8.tar.gz gentoo-d5f810879630c986933b75d6ae31d920a7cfb2e8.tar.bz2 gentoo-d5f810879630c986933b75d6ae31d920a7cfb2e8.zip |
sci-biology/muscle: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/3708
Diffstat (limited to 'sci-biology')
-rw-r--r-- | sci-biology/muscle/files/3.7-bufferoverflow.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/sci-biology/muscle/files/3.7-bufferoverflow.patch b/sci-biology/muscle/files/3.7-bufferoverflow.patch deleted file mode 100644 index 670ad64959cb..000000000000 --- a/sci-biology/muscle/files/3.7-bufferoverflow.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/globalslinux.cpp b/globalslinux.cpp -index 63baaa1..b1cfcb0 100644 ---- a/globalslinux.cpp -+++ b/globalslinux.cpp -@@ -156,7 +156,7 @@ double GetRAMSizeMB() - } - return DEFAULT_RAM; - } -- int Bytes = atoi(pMem+9)*1000; -+ long Bytes = atol(pMem+9)*1000; - return ((double) Bytes)/1e6; - } - -diff --git a/progress.cpp b/progress.cpp -index a0e91bb..f9b093e 100644 ---- a/progress.cpp -+++ b/progress.cpp -@@ -41,7 +41,7 @@ const char *MemToStr(double MB) - if (MB < 0) - return ""; - -- static char Str[9]; -+ static char Str[16]; - static double MaxMB = 0; - static double RAMMB = 0; - |