aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joel Stanley <joel@jms.id.au>2020-07-13 14:33:59 +0930
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2020-07-13 23:24:19 +0200
commit2efeec8eaffc9382bcf71186378de2cc9a38c7b7 (patch)
treeff354a76841b44ff5c1f7d87695f913abc074c92
parent0a4b1801e7c5fd0a178c43bf0ec0e339d15ef2dd (diff)
downloadbuildroot-2efeec8eaffc9382bcf71186378de2cc9a38c7b7.tar.gz
buildroot-2efeec8eaffc9382bcf71186378de2cc9a38c7b7.tar.bz2
package/pdbg: bump version to v3.0
This includes a patch to fix building with uclibc, where pdbg was missing a header for ssize_t. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/pdbg/0001-Fix-building-with-uclibc.patch32
-rw-r--r--package/pdbg/pdbg.hash2
-rw-r--r--package/pdbg/pdbg.mk2
3 files changed, 34 insertions, 2 deletions
diff --git a/package/pdbg/0001-Fix-building-with-uclibc.patch b/package/pdbg/0001-Fix-building-with-uclibc.patch
new file mode 100644
index 0000000000..90fe67b51f
--- /dev/null
+++ b/package/pdbg/0001-Fix-building-with-uclibc.patch
@@ -0,0 +1,32 @@
+From 7ad1193f705563dc984b738b9af3c7461caeef37 Mon Sep 17 00:00:00 2001
+From: Joel Stanley <joel@jms.id.au>
+Date: Mon, 13 Jul 2020 14:57:31 +1000
+Subject: [PATCH] Fix building with uclibc
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+libpdbg/target.h:66:2: error: unknown type name ‘ssize_t’
+ 66 | ssize_t len;
+ | ^~~~~~~
+
+Signed-off-by: Joel Stanley <joel@jms.id.au>
+---
+ libpdbg/target.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/libpdbg/target.h b/libpdbg/target.h
+index 522a4dc..a12cce8 100644
+--- a/libpdbg/target.h
++++ b/libpdbg/target.h
+@@ -17,6 +17,7 @@
+ #define __TARGET_H
+
+ #include <stdint.h>
++#include <unistd.h>
+ #include <ccan/list/list.h>
+ #include <ccan/str/str.h>
+ #include <ccan/container_of/container_of.h>
+--
+2.17.1
+
diff --git a/package/pdbg/pdbg.hash b/package/pdbg/pdbg.hash
index 486dff240d..f2aa145cb1 100644
--- a/package/pdbg/pdbg.hash
+++ b/package/pdbg/pdbg.hash
@@ -1,3 +1,3 @@
# Locally calculated
-sha256 10f701c4bb8557a35de166c4322d77fa64ddbdd1146141a88a3d530144545820 pdbg-2.4.tar.gz
+sha256 1a2736a010d21a2e5b735212a35cd214d6ab90aab0cad5c0260b975398f19dc8 pdbg-3.0.tar.gz
sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 COPYING
diff --git a/package/pdbg/pdbg.mk b/package/pdbg/pdbg.mk
index 9977a126fb..17d65be7fd 100644
--- a/package/pdbg/pdbg.mk
+++ b/package/pdbg/pdbg.mk
@@ -4,7 +4,7 @@
#
################################################################################
-PDBG_VERSION = 2.4
+PDBG_VERSION = 3.0
PDBG_SITE = $(call github,open-power,pdbg,v$(PDBG_VERSION))
PDBG_LICENSE = Apache-2.0
PDBG_LICENSE_FILES = COPYING