summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2019-12-07 18:07:25 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2019-12-07 18:07:36 +0000
commit719a5c644cd901c387139cb6bf9bb110f27bbb3c (patch)
tree7574455f33752a24a436bff602bcb922da89e3bc /dev-util/edb-debugger
parentdev-util/edb-debugger: drop old 0.9.21 (diff)
downloadgentoo-719a5c644cd901c387139cb6bf9bb110f27bbb3c.tar.gz
gentoo-719a5c644cd901c387139cb6bf9bb110f27bbb3c.tar.bz2
gentoo-719a5c644cd901c387139cb6bf9bb110f27bbb3c.zip
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@gentoo.org>
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
+