dev-util/edb-debugger: add missing climits header, bug #701112
authorSergei Trofimovich <slyfox@gentoo.org>
Sat, 7 Dec 2019 18:07:25 +0000 (18:07 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Sat, 7 Dec 2019 18:07:36 +0000 (18:07 +0000)
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@gentoo.org>
dev-util/edb-debugger/edb-debugger-1.0.0-r3.ebuild
dev-util/edb-debugger/files/edb-debugger-1.0.0-climits.patch [new file with mode: 0644]

index 97f78c594beeb6f01075c351464ef0455c606974..c5dadbd7bf7f7fa499544f4fd7af20b031c72b37 100644 (file)
@@ -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 (file)
index 0000000..929492a
--- /dev/null
@@ -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
+