From d5f810879630c986933b75d6ae31d920a7cfb2e8 Mon Sep 17 00:00:00 2001 From: "Michael Mair-Keimberger (asterix)" Date: Sun, 29 Jan 2017 09:41:10 +0100 Subject: [PATCH] sci-biology/muscle: remove unused patch Closes: https://github.com/gentoo/gentoo/pull/3708 --- .../muscle/files/3.7-bufferoverflow.patch | 26 ------------------- 1 file changed, 26 deletions(-) delete mode 100644 sci-biology/muscle/files/3.7-bufferoverflow.patch 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; - -- 2.26.2