commit:     719a5c644cd901c387139cb6bf9bb110f27bbb3c
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  7 18:07:25 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Dec  7 18:07:36 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=719a5c64

dev-util/edb-debugger: add missing climits header, bug #701112

Picked upstream f5e0bce1c1d3 commit ("fix for issue #719").

Reported-by: Toralf Förster
Closes: https://bugs.gentoo.org/701112
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-util/edb-debugger/edb-debugger-1.0.0-r3.ebuild |  5 ++++-
 .../files/edb-debugger-1.0.0-climits.patch         | 24 ++++++++++++++++++++++
 2 files changed, 28 insertions(+), 1 deletion(-)

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 97f78c594be..c5dadbd7bf7 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 00000000000..929492ae670
--- /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 <[email protected]>
+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
+

Reply via email to