From 9619f817c70c4d70627f99adfdfc055a9d5dc266 Mon Sep 17 00:00:00 2001 From: fbrosson Date: Sun, 8 Jul 2018 16:02:16 +0000 Subject: [PATCH] dtc: bump to 1.4.6, add debuginfo, switch to tar.xz. (#2782) FWIW, this release passes all tests on all available arches: ********** TEST SUMMARY * Total testcases: 1676 * PASS: 1676 * FAIL: 0 * Bad configuration: 0 * Strange test result: 0 ********** --- sys-apps/dtc/{dtc-1.4.5.recipe => dtc-1.4.6.recipe} | 13 +++++++++++-- .../{dtc-1.4.5.patchset => dtc-1.4.6.patchset} | 2 +- 2 files changed, 12 insertions(+), 3 deletions(-) rename sys-apps/dtc/{dtc-1.4.5.recipe => dtc-1.4.6.recipe} (83%) rename sys-apps/dtc/patches/{dtc-1.4.5.patchset => dtc-1.4.6.patchset} (98%) diff --git a/sys-apps/dtc/dtc-1.4.5.recipe b/sys-apps/dtc/dtc-1.4.6.recipe similarity index 83% rename from sys-apps/dtc/dtc-1.4.5.recipe rename to sys-apps/dtc/dtc-1.4.6.recipe index 231a9c16d..3126dd17d 100644 --- a/sys-apps/dtc/dtc-1.4.5.recipe +++ b/sys-apps/dtc/dtc-1.4.6.recipe @@ -5,8 +5,8 @@ HOMEPAGE="https://git.kernel.org/cgit/utils/dtc/dtc.git" 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.gz" -CHECKSUM_SHA256="a5dee36ac9ddd000e18ffecdbd5e6d83c5d552af21a644fe4e820480daa9f36b" +SOURCE_URI="https://www.kernel.org/pub/software/utils/dtc/dtc-$portVersion.tar.xz" +CHECKSUM_SHA256="382302bfcc3c40734be80ac620983971d911ec4cde798f551873f3eb008c7b7e" PATCHES="dtc-$portVersion.patchset" ARCHITECTURES="!x86_gcc2 x86 x86_64" @@ -51,6 +51,15 @@ BUILD_PREREQUIRES=" cmd:make " +defineDebugInfoPackage dtc$secondaryArchSuffix \ + "$commandBinDir"/convert-dtsv0 \ + "$commandBinDir"/dtc \ + "$commandBinDir"/fdtdump \ + "$commandBinDir"/fdtget \ + "$commandBinDir"/fdtoverlay \ + "$commandBinDir"/fdtput \ + "$libDir"/libfdt-$portVersion.so + BUILD() { make PREFIX=$prefix $jobArgs NO_PYTHON=TRUE diff --git a/sys-apps/dtc/patches/dtc-1.4.5.patchset b/sys-apps/dtc/patches/dtc-1.4.6.patchset similarity index 98% rename from sys-apps/dtc/patches/dtc-1.4.5.patchset rename to sys-apps/dtc/patches/dtc-1.4.6.patchset index 983a6fe2a..bbfb238b0 100644 --- a/sys-apps/dtc/patches/dtc-1.4.5.patchset +++ b/sys-apps/dtc/patches/dtc-1.4.6.patchset @@ -5,7 +5,7 @@ Subject: Apply patch from 1.3.0. diff --git a/Makefile b/Makefile -index e1e138a..aafda0a 100644 +index 9ba8121..7364de3 100644 --- a/Makefile +++ b/Makefile @@ -49,6 +49,15 @@ SHAREDLIB_CFLAGS = -fPIC