dtc: bump version. (#3160)

This commit is contained in:
Jérôme Duval
2018-09-29 19:15:33 +02:00
committed by waddlesplash
parent 7fe92cc6e8
commit 6c577b9134
2 changed files with 8 additions and 21 deletions

View File

@@ -6,7 +6,7 @@ COPYRIGHT="2005 David Gibson, IBM Corporation"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://www.kernel.org/pub/software/utils/dtc/dtc-$portVersion.tar.xz"
CHECKSUM_SHA256="382302bfcc3c40734be80ac620983971d911ec4cde798f551873f3eb008c7b7e"
CHECKSUM_SHA256="6643e8f00ff86350f465bb54b2185058b5b1b7bac01a0842c81a52b86589cde7"
PATCHES="dtc-$portVersion.patchset"
ARCHITECTURES="!x86_gcc2 x86 x86_64"

View File

@@ -1,14 +1,14 @@
From 655b2c6626425fa89ef0ecf39f9e588f678aca40 Mon Sep 17 00:00:00 2001
From b7dcc2d3e058c0aa9e84ce94177c2e86a69d5ce6 Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Thu, 12 Oct 2017 21:07:34 +0200
Subject: Apply patch from 1.3.0.
diff --git a/Makefile b/Makefile
index 9ba8121..7364de3 100644
index d8ebc4f..4333411 100644
--- a/Makefile
+++ b/Makefile
@@ -49,6 +49,15 @@ SHAREDLIB_CFLAGS = -fPIC
@@ -53,6 +53,15 @@ SHAREDLIB_CFLAGS = -fPIC
SHAREDLIB_LDFLAGS = -fPIC -shared -Wl,--version-script=$(LIBFDT_version) -Wl,-soname,
endif
@@ -24,24 +24,11 @@ index 9ba8121..7364de3 100644
#
# Overall rules
#
diff --git a/tests/Makefile.tests b/tests/Makefile.tests
index 2258135..b97970f 100644
--- a/tests/Makefile.tests
+++ b/tests/Makefile.tests
@@ -56,7 +56,7 @@ $(LIB_TESTS): %: $(TESTS_PREFIX)testutils.o util.o $(LIBFDT_archive)
$(DL_LIB_TESTS): %: %.o $(TESTS_PREFIX)testutils.o util.o $(LIBFDT_archive)
@$(VECHO) LD [libdl] $@
- $(LINK.c) -o $@ $^ -ldl
+ $(LINK.c) -o $@ $^ $(LIBDL)
$(LIBTREE_TESTS): %: $(TESTS_PREFIX)testutils.o $(TESTS_PREFIX)trees.o \
util.o $(LIBFDT_archive)
diff --git a/tests/testutils.c b/tests/testutils.c
index 521f4f1..5fa757f 100644
index 75e3e20..bc2b539 100644
--- a/tests/testutils.c
+++ b/tests/testutils.c
@@ -45,16 +45,15 @@ static void sigint_handler(int signum, siginfo_t *si, void *uc)
@@ -50,16 +50,15 @@ static void sigint_handler(int signum, siginfo_t *si, void *uc)
{
cleanup();
fprintf(stderr, "%s: %s (pid=%d)\n", test_name,
@@ -61,7 +48,7 @@ index 521f4f1..5fa757f 100644
test_name = argv[0];
@@ -66,7 +65,7 @@ void test_init(int argc, char *argv[])
@@ -71,7 +70,7 @@ void test_init(int argc, char *argv[])
verbose_test = 0;
verbose_printf("Starting testcase \"%s\", pid %d\n",
@@ -71,5 +58,5 @@ index 521f4f1..5fa757f 100644
void check_mem_rsv(void *fdt, int n, uint64_t addr, uint64_t size)
--
2.14.2
2.19.0