summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/edb-debugger')
-rw-r--r--dev-util/edb-debugger/edb-debugger-1.0.0-r3.ebuild5
-rw-r--r--dev-util/edb-debugger/files/edb-debugger-1.0.0-climits.patch24
2 files changed, 28 insertions, 1 deletions
diff --git a/dev-util/edb-debugger/edb-debugger-1.0.0-r3.ebuild b/dev-util/edb-debugger/edb-debugger-1.0.0-r3.ebuild
index 97f78c594bee..c5dadbd7bf7f 100644
--- a/dev-util/edb-debugger/edb-debugger-1.0.0-r3.ebuild
+++ b/dev-util/edb-debugger/edb-debugger-1.0.0-r3.ebuild
@@ -33,7 +33,10 @@ DEPEND="
${RDEPEND}
"
-PATCHES=("${FILESDIR}"/${P}-man1.patch)
+PATCHES=(
+ "${FILESDIR}"/${P}-man1.patch
+ "${FILESDIR}"/${P}-climits.patch
+)
src_prepare() {
#Make the desktop's entries somewhat better
diff --git a/dev-util/edb-debugger/files/edb-debugger-1.0.0-climits.patch b/dev-util/edb-debugger/files/edb-debugger-1.0.0-climits.patch
new file mode 100644
index 000000000000..929492ae670f
--- /dev/null
+++ b/dev-util/edb-debugger/files/edb-debugger-1.0.0-climits.patch
@@ -0,0 +1,24 @@
+https://bugs.gentoo.org/701112
+
+From f5e0bce1c1d33e11062fd61a3bbad52ee18e8a8b Mon Sep 17 00:00:00 2001
+From: Evan Teran <evan.teran@gmail.com>
+Date: Mon, 15 Jul 2019 14:44:25 -0400
+Subject: [PATCH] fix for issue #719
+
+---
+ src/ByteShiftArray.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/src/ByteShiftArray.cpp
++++ b/src/ByteShiftArray.cpp
+@@ -17,6 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+ #include "ByteShiftArray.h"
++#include <climits>
+
+ //------------------------------------------------------------------------------
+ // Name: ByteShiftArray
+--
+2.24.0
+