diff options
Diffstat (limited to 'sys-apps/dtc')
-rw-r--r-- | sys-apps/dtc/Manifest | 15 | ||||
-rw-r--r-- | sys-apps/dtc/dtc-1.4.1-r1.ebuild | 46 | ||||
-rw-r--r-- | sys-apps/dtc/dtc-1.4.1.ebuild | 48 | ||||
-rw-r--r-- | sys-apps/dtc/dtc-1.4.2.ebuild | 50 | ||||
-rw-r--r-- | sys-apps/dtc/dtc-1.4.3.ebuild | 52 | ||||
-rw-r--r-- | sys-apps/dtc/dtc-1.4.4.ebuild | 52 | ||||
-rw-r--r-- | sys-apps/dtc/dtc-9999.ebuild | 50 | ||||
-rw-r--r-- | sys-apps/dtc/files/dtc-1.4.1-echo-n.patch | 95 | ||||
-rw-r--r-- | sys-apps/dtc/files/dtc-1.4.1-missing-syms.patch | 30 | ||||
-rw-r--r-- | sys-apps/dtc/metadata.xml | 11 |
10 files changed, 449 insertions, 0 deletions
diff --git a/sys-apps/dtc/Manifest b/sys-apps/dtc/Manifest new file mode 100644 index 000000000000..af4f77946b46 --- /dev/null +++ b/sys-apps/dtc/Manifest @@ -0,0 +1,15 @@ +AUX dtc-1.4.1-echo-n.patch 2169 SHA256 0577e72f0d9ad18bb3699a1033cd19824948146d625db4637cf6b3a0a29b32f3 SHA512 e481ed5489557dccbb31274bae2afc7798da79db63052db7e490b3428f04d01cf5661e8ce9794886a4669f5fbc783b8f5ac1993e34e9ae351a6e6207b10e4b2f WHIRLPOOL dfff36f3ef90ad8d03c33e86c25328646d935065ee24c6f473d4586aa8cd6dc64060ea92b038dbfe0ca9ec5f1f73b07cc48381436f1d9ed76d3b97fd97682f2f +AUX dtc-1.4.1-missing-syms.patch 851 SHA256 668fccb537b1b26a51c85b6e6959f638abd3c0c68bc37bda5d2f05b608f71c94 SHA512 8217b73ea88f5e48ab4192074f6ce6dc21eebd1cef362fabee32fdd7a50951a2c55ea8d738e43d140763b93821b8f84dbe35c8871c6018a4d56191bb3f3e9ecb WHIRLPOOL 321ee4881411a787aa1cbcddaeb732e17d80b63394a5bf9dc0f2783ea975396b0114c9d1ccb0cee3918d9c7bebf64ed50f31a6f0b6f2294dc9bd842bfe6a142f +DIST dtc-1.4.1.tar.xz 107920 SHA256 77992ad8eac7b68f553d0ba58e5b51604ac803d126196c99e3ae38aaae28bb94 SHA512 63df730e65f62b8c9648cfee5461809188f4198cbf98de25fbe5cb7f2f43c405266abb740501740f59847dc6faf0588bcbc734d08ae5430b05c2601e070d6d05 WHIRLPOOL 93e9ed26024e4650bb2de6323ea639a3e52622aa3891a9f9404959b600d2c1cbc633d18e30d3629ac54ae662e8c58a7d0ca7910a9b323cd8dd4ff6e43a3fdf67 +DIST dtc-1.4.2.tar.xz 112480 SHA256 13456ee9840abbbcb956d0711c580d28524e2ee17840e556e744311f2d8afaac SHA512 af536fda543a2516e10c45b80bd1b5797a33ab43e08fab6953ec861fc98a73ee232cdd3f5053e889f6e760d238a5a221c2716b8a6fd22b627cd01efac99915b2 WHIRLPOOL 0cbb2d696aec8017d609073ceab110ded29688d68b91588e5e2d3e3fcf23aa4636a1d92c1fce58b39e848689d0408692871c2cc6de5997e66278e1d030a46f8e +DIST dtc-1.4.3.tar.xz 122732 SHA256 0c3fbff85e85b980740c7b9c6f3cd1c5354aa318bfcadb5005776fdcf3ac5ec8 SHA512 ce9f39cef11f3e7048e8491f01844071bf54911ec36a0d2f2e1ed6c736b7e1a67be83cd2527895a686882d895142db020bf5131a282e0d68d1f4d32dc772db42 WHIRLPOOL cbf9c7eccbf1e69d59a2978496e25be3bf283d373e091e33d0c6b66e5708a15f69be6a7cf85b7fcfe448f74e2987c1c725abaa9eab2e3805773fcb552cf7e604 +DIST dtc-1.4.4.tar.xz 122748 SHA256 470731d5c015b160d26a96645dbb1c7337d6e7b8c98244612002b66bedf6cffb SHA512 20689f7b0489fa945c4df4e27084dfd46fd5512a8dff9b28d60e0cd0e9e79bbd9944e4d70a1aba86a026481b35bb5441ed6b63d306a4a8f7581517f7359fa9bf WHIRLPOOL 65bb6082e0c1be7d704fc42253a11ca7e0b835805cc4c4c60074c6d168856313f7b2c8bf5b4ba571b5825d39ce057ec6a4a64f729afd1bbcdad4c044a2fd4b09 +EBUILD dtc-1.4.1-r1.ebuild 1126 SHA256 1a5aae1924431adfc3cf7a081ab8aa8ae956603543bdd0f78169a441041c4889 SHA512 6daeb7a14955c341a914e4ed37f26ca9c5670c8a70f9927c234f8ce8e6c9c44c07b403536677ff6bba91f42aaf0f02ab4a6887debae5c4d6ead81abfa6ed05a1 WHIRLPOOL 7a47add68c210618a0e4bc35bea586e3687782e3505a1648d74a5a7a052ad1e3ef05c50b39aea4985d4e7b1c7356e6a5751e6b27c7e07da87ea6ed0c0aec433e +EBUILD dtc-1.4.1.ebuild 1030 SHA256 76c4ccc00299c2d024cb3f30295d1d9633436b2cfc0a4091c19fa465625ee4d0 SHA512 763ae7ca11d522cbdeee7ea5675805ddf7d17d0cf773091bf0978b30bf7fec1ebef64904a8e0b291eb3139e4295cb1dc1d833a8afc5d6aa09760fb0ebe5fa72b WHIRLPOOL 64962ff16878b2d87345b4380f09ce8c7b38e98dafd4680a03d443cf5582e2778fdb4e81b93360ab2a014ca85182e2843b9d2200a0c0e4a6b64e1ab07ceb1323 +EBUILD dtc-1.4.2.ebuild 1055 SHA256 d3d0e0629ccf3b6672df8d38d27cc28714c34b7d30e12c5f4446ef641fd6de90 SHA512 caa47d8d9a68a473712aac7cbbd6cea0d6bbd3cce9e598236be8d13f7d64013516ed9aa1a91099117f204bd9a12e91e7d907a04fb490c0c2895ff1391b0ab9dc WHIRLPOOL 60441be91d18fb9d873867a8db128208d5641904838b69c1e9c6b506565b42d87350896d8744951dba0bfd833b77c81aa6fb53c7e0e29d092ebe160bcbe38aed +EBUILD dtc-1.4.3.ebuild 1123 SHA256 9195730cda86521c27fcc1509e55ceb61e02f0451bb540a61b2ba3f1958e64df SHA512 a22759aaa334a1276e2f7793787f357f4b9e72e04df87ed21debb904d713415574673832e8fc87ca60d45eb7bb3e69b549463a610c63ec0a471b5010c3603930 WHIRLPOOL a9d4644e900a0fac520d9ecf1b8c3433fb09f2a35740e1d0ab030b9339792c0090aa64cf3eba16acf766d38d75d1fd14fa1bba10e71926c98c590145bbf600bc +EBUILD dtc-1.4.4.ebuild 1123 SHA256 9195730cda86521c27fcc1509e55ceb61e02f0451bb540a61b2ba3f1958e64df SHA512 a22759aaa334a1276e2f7793787f357f4b9e72e04df87ed21debb904d713415574673832e8fc87ca60d45eb7bb3e69b549463a610c63ec0a471b5010c3603930 WHIRLPOOL a9d4644e900a0fac520d9ecf1b8c3433fb09f2a35740e1d0ab030b9339792c0090aa64cf3eba16acf766d38d75d1fd14fa1bba10e71926c98c590145bbf600bc +EBUILD dtc-9999.ebuild 1055 SHA256 d3d0e0629ccf3b6672df8d38d27cc28714c34b7d30e12c5f4446ef641fd6de90 SHA512 caa47d8d9a68a473712aac7cbbd6cea0d6bbd3cce9e598236be8d13f7d64013516ed9aa1a91099117f204bd9a12e91e7d907a04fb490c0c2895ff1391b0ab9dc WHIRLPOOL 60441be91d18fb9d873867a8db128208d5641904838b69c1e9c6b506565b42d87350896d8744951dba0bfd833b77c81aa6fb53c7e0e29d092ebe160bcbe38aed +MISC ChangeLog 3317 SHA256 b6271b61e3ab2252e380f48aacb7db226f455db3a875aced5800760d6427d5a6 SHA512 513e3b2997d8b251fd5261972828bb072d18bbe8b35e2424bbf0b3b47362119b8e6ab317c48d77f823d9cd0065a82b7a3cd98331b005bbcd0e14e0aa4dfc5718 WHIRLPOOL aeec21f5f7d2773474335bbbe0c93a962fa6fddb2720679be367ddd6b828e19b8ac73e274a4d5d051c0ce12082cec76d4162d67a4c4eafab59bdb202714d1558 +MISC ChangeLog-2015 3669 SHA256 63f2f5d518f84cede19667cc44f18fdd0bfd72ecb26e3e5bc223d36e3b957dc3 SHA512 d58a0f2d8f2e5ff69679244bb1856ef52ef7f2092698d5cb436af65ffbe52bd2d7e01c43e02e1d7ca98d13eb910afaedb05318fe2c69d8b34992d5ea9940b953 WHIRLPOOL 884380f8a8168521e8fc36d606f139f2df274346eecba1431e64d7fdf6fad8c39d8d3da32e8dc53fcff1e9945309e0e26d5c616cb4ac76a0f8ab668e65366dd9 +MISC metadata.xml 335 SHA256 982be48c26686325ea6411d8ffb76bbcc60bdafad00ffe0e4aa12e196046b50f SHA512 757b9539f0dd59ff4c25127df262c6f030c3e4ddf4a4044a77bb7e2ee126001adff606a683b3af24f11d23604919366fa42cb496941ed232a5169ed2eac7c631 WHIRLPOOL b35338cfb772461fc3729c6b36963b0f18a69af00fb6e817d535b0af60aed2eff1dc92664eb17c64624019e3ba1c18f7ae38d1cc125e0f7e8f4e026c818d18e9 diff --git a/sys-apps/dtc/dtc-1.4.1-r1.ebuild b/sys-apps/dtc/dtc-1.4.1-r1.ebuild new file mode 100644 index 000000000000..1714ca0cb240 --- /dev/null +++ b/sys-apps/dtc/dtc-1.4.1-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit multilib toolchain-funcs eutils +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/dtc/dtc.git" + inherit git-2 +else + SRC_URI="mirror://kernel/software/utils/${PN}/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +fi + +DESCRIPTION="Open Firmware device tree compiler" +HOMEPAGE="http://devicetree.org/Device_Tree_Compiler" + +LICENSE="GPL-2" +SLOT="0" +IUSE="static-libs" + +RDEPEND="" +DEPEND="app-arch/xz-utils + sys-devel/flex + sys-devel/bison" + +src_prepare() { + epatch "${FILESDIR}"/${P}-missing-syms.patch + epatch "${FILESDIR}"/${P}-echo-n.patch + sed -i \ + -e '/^CFLAGS =/s:=:+=:' \ + -e '/^CPPFLAGS =/s:=:+=:' \ + -e 's:-Werror::' \ + -e 's:-g -Os::' \ + -e "/^PREFIX =/s:=.*:= ${EPREFIX}/usr:" \ + -e "/^LIBDIR =/s:=.*:= \$(PREFIX)/$(get_libdir):" \ + Makefile || die + tc-export AR CC + export V=1 +} + +src_install() { + default + use static-libs || find "${ED}" -name '*.a' -delete + dodoc Documentation/manual.txt +} diff --git a/sys-apps/dtc/dtc-1.4.1.ebuild b/sys-apps/dtc/dtc-1.4.1.ebuild new file mode 100644 index 000000000000..02891c229018 --- /dev/null +++ b/sys-apps/dtc/dtc-1.4.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit multilib toolchain-funcs +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/dtc/dtc.git" + inherit git-2 +else + SRC_URI="mirror://kernel/software/utils/${PN}/${P}.tar.xz" + KEYWORDS="amd64 arm ~arm64 ppc ppc64 x86" +fi + +DESCRIPTION="Open Firmware device tree compiler" +HOMEPAGE="http://devicetree.org/Device_Tree_Compiler" + +LICENSE="GPL-2" +SLOT="0" +IUSE="static-libs" + +RDEPEND="" +DEPEND="app-arch/xz-utils + sys-devel/flex + sys-devel/bison" + +src_prepare() { + sed -i \ + -e '/^CFLAGS =/s:=:+=:' \ + -e '/^CPPFLAGS =/s:=:+=:' \ + -e 's:-Werror::' \ + -e 's:-g -Os::' \ + -e "/^PREFIX =/s:=.*:= ${EPREFIX}/usr:" \ + -e "/^LIBDIR =/s:=.*:= \$(PREFIX)/$(get_libdir):" \ + Makefile || die + tc-export AR CC + export V=1 +} + +src_test() { + emake check +} + +src_install() { + emake DESTDIR="${D}" install + use static-libs || find "${ED}" -name '*.a' -delete + dodoc Documentation/manual.txt +} diff --git a/sys-apps/dtc/dtc-1.4.2.ebuild b/sys-apps/dtc/dtc-1.4.2.ebuild new file mode 100644 index 000000000000..1dc3915445fb --- /dev/null +++ b/sys-apps/dtc/dtc-1.4.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit multilib toolchain-funcs eutils + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/dtc/dtc.git" + inherit git-r3 +else + SRC_URI="mirror://kernel/software/utils/${PN}/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +fi + +DESCRIPTION="Open Firmware device tree compiler" +HOMEPAGE="https://devicetree.org/ https://git.kernel.org/cgit/utils/dtc/dtc.git/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="static-libs" + +DEPEND=" + sys-devel/bison + sys-devel/flex +" +DOCS=" + Documentation/manual.txt +" + +src_prepare() { + default + + sed -i \ + -e '/^CFLAGS =/s:=:+=:' \ + -e '/^CPPFLAGS =/s:=:+=:' \ + -e 's:-Werror::' \ + -e 's:-g -Os::' \ + -e "/^PREFIX =/s:=.*:= ${EPREFIX}/usr:" \ + -e "/^LIBDIR =/s:=.*:= \$(PREFIX)/$(get_libdir):" \ + Makefile || die + + tc-export AR CC + export V=1 +} + +src_install() { + default + + use static-libs || find "${ED}" -name '*.a' -delete +} diff --git a/sys-apps/dtc/dtc-1.4.3.ebuild b/sys-apps/dtc/dtc-1.4.3.ebuild new file mode 100644 index 000000000000..d5288e84280a --- /dev/null +++ b/sys-apps/dtc/dtc-1.4.3.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit multilib toolchain-funcs eutils + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/dtc/dtc.git" + inherit git-r3 +else + SRC_URI="mirror://kernel/software/utils/${PN}/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +fi + +DESCRIPTION="Open Firmware device tree compiler" +HOMEPAGE="https://devicetree.org/ https://git.kernel.org/cgit/utils/dtc/dtc.git/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="static-libs" + +DEPEND=" + sys-devel/bison + sys-devel/flex +" +DOCS=" + Documentation/dt-object-internal.txt + Documentation/dts-format.txt + Documentation/manual.txt +" + +src_prepare() { + default + + sed -i \ + -e '/^CFLAGS =/s:=:+=:' \ + -e '/^CPPFLAGS =/s:=:+=:' \ + -e 's:-Werror::' \ + -e 's:-g -Os::' \ + -e "/^PREFIX =/s:=.*:= ${EPREFIX}/usr:" \ + -e "/^LIBDIR =/s:=.*:= \$(PREFIX)/$(get_libdir):" \ + Makefile || die + + tc-export AR CC + export V=1 +} + +src_install() { + default + + use static-libs || find "${ED}" -name '*.a' -delete +} diff --git a/sys-apps/dtc/dtc-1.4.4.ebuild b/sys-apps/dtc/dtc-1.4.4.ebuild new file mode 100644 index 000000000000..d5288e84280a --- /dev/null +++ b/sys-apps/dtc/dtc-1.4.4.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit multilib toolchain-funcs eutils + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/dtc/dtc.git" + inherit git-r3 +else + SRC_URI="mirror://kernel/software/utils/${PN}/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +fi + +DESCRIPTION="Open Firmware device tree compiler" +HOMEPAGE="https://devicetree.org/ https://git.kernel.org/cgit/utils/dtc/dtc.git/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="static-libs" + +DEPEND=" + sys-devel/bison + sys-devel/flex +" +DOCS=" + Documentation/dt-object-internal.txt + Documentation/dts-format.txt + Documentation/manual.txt +" + +src_prepare() { + default + + sed -i \ + -e '/^CFLAGS =/s:=:+=:' \ + -e '/^CPPFLAGS =/s:=:+=:' \ + -e 's:-Werror::' \ + -e 's:-g -Os::' \ + -e "/^PREFIX =/s:=.*:= ${EPREFIX}/usr:" \ + -e "/^LIBDIR =/s:=.*:= \$(PREFIX)/$(get_libdir):" \ + Makefile || die + + tc-export AR CC + export V=1 +} + +src_install() { + default + + use static-libs || find "${ED}" -name '*.a' -delete +} diff --git a/sys-apps/dtc/dtc-9999.ebuild b/sys-apps/dtc/dtc-9999.ebuild new file mode 100644 index 000000000000..1dc3915445fb --- /dev/null +++ b/sys-apps/dtc/dtc-9999.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit multilib toolchain-funcs eutils + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/dtc/dtc.git" + inherit git-r3 +else + SRC_URI="mirror://kernel/software/utils/${PN}/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +fi + +DESCRIPTION="Open Firmware device tree compiler" +HOMEPAGE="https://devicetree.org/ https://git.kernel.org/cgit/utils/dtc/dtc.git/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="static-libs" + +DEPEND=" + sys-devel/bison + sys-devel/flex +" +DOCS=" + Documentation/manual.txt +" + +src_prepare() { + default + + sed -i \ + -e '/^CFLAGS =/s:=:+=:' \ + -e '/^CPPFLAGS =/s:=:+=:' \ + -e 's:-Werror::' \ + -e 's:-g -Os::' \ + -e "/^PREFIX =/s:=.*:= ${EPREFIX}/usr:" \ + -e "/^LIBDIR =/s:=.*:= \$(PREFIX)/$(get_libdir):" \ + Makefile || die + + tc-export AR CC + export V=1 +} + +src_install() { + default + + use static-libs || find "${ED}" -name '*.a' -delete +} diff --git a/sys-apps/dtc/files/dtc-1.4.1-echo-n.patch b/sys-apps/dtc/files/dtc-1.4.1-echo-n.patch new file mode 100644 index 000000000000..cd45b952a49e --- /dev/null +++ b/sys-apps/dtc/files/dtc-1.4.1-echo-n.patch @@ -0,0 +1,95 @@ +From ed3d76cd1c8f91f5e86424e899448d6221b0f76c Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@chromium.org> +Date: Wed, 6 May 2015 01:53:39 -0400 +Subject: [PATCH] tests: convert `echo -n` to `printf` + +The -n option is not standard in POSIX, so convert to printf which should +work the same in every shell. + +Signed-off-by: Mike Frysinger <vapier@chromium.org> +--- + tests/run_tests.sh | 20 ++++++++++---------- + 1 file changed, 10 insertions(+), 10 deletions(-) + +diff --git a/tests/run_tests.sh b/tests/run_tests.sh +index c870432..0dda54a 100755 +--- a/tests/run_tests.sh ++++ b/tests/run_tests.sh +@@ -42,20 +42,20 @@ base_run_test() { + + shorten_echo () { + limit=32 +- echo -n "$1" ++ printf "$1" + shift + for x; do + if [ ${#x} -le $limit ]; then +- echo -n " $x" ++ printf " $x" + else + short=$(echo "$x" | head -c$limit) +- echo -n " \"$short\"...<${#x} bytes>" ++ printf " \"$short\"...<${#x} bytes>" + fi + done + } + + run_test () { +- echo -n "$@: " ++ printf "$@: " + if [ -n "$VALGRIND" -a -f $1.supp ]; then + VGSUPP="--suppressions=$1.supp" + fi +@@ -63,7 +63,7 @@ run_test () { + } + + run_sh_test () { +- echo -n "$@: " ++ printf "$@: " + base_run_test sh "$@" + } + +@@ -106,12 +106,12 @@ wrap_error () { + + run_wrap_error_test () { + shorten_echo "$@" +- echo -n " {!= 0}: " ++ printf " {!= 0}: " + base_run_test wrap_error "$@" + } + + run_dtc_test () { +- echo -n "dtc $@: " ++ printf "dtc $@: " + base_run_test wrap_test $VALGRIND $DTC "$@" + } + +@@ -126,7 +126,7 @@ asm_to_so_test () { + run_fdtget_test () { + expect="$1" + shift +- echo -n "fdtget-runtest.sh "$expect" $@: " ++ printf "fdtget-runtest.sh "$expect" $@: " + base_run_test sh fdtget-runtest.sh "$expect" "$@" + } + +@@ -134,14 +134,14 @@ run_fdtput_test () { + expect="$1" + shift + shorten_echo fdtput-runtest.sh "$expect" "$@" +- echo -n ": " ++ printf ": " + base_run_test sh fdtput-runtest.sh "$expect" "$@" + } + + run_fdtdump_test() { + file="$1" + shorten_echo fdtdump-runtest.sh "$file" +- echo -n ": " ++ printf ": " + base_run_test sh fdtdump-runtest.sh "$file" + } + +-- +2.4.0 + diff --git a/sys-apps/dtc/files/dtc-1.4.1-missing-syms.patch b/sys-apps/dtc/files/dtc-1.4.1-missing-syms.patch new file mode 100644 index 000000000000..7057be7bd8ac --- /dev/null +++ b/sys-apps/dtc/files/dtc-1.4.1-missing-syms.patch @@ -0,0 +1,30 @@ +From a4b093f7366fdb429ca1781144d3985fa50d0fbb Mon Sep 17 00:00:00 2001 +From: Julien Grall <julien.grall@linaro.org> +Date: Tue, 17 Mar 2015 16:00:34 +0000 +Subject: [PATCH] libfdt: Add missing functions to shared library + +The commit 4e76ec7 "libfdt: Add fdt_next_subnode() to permit easy +subnode iteration" adds new functions (fdt_{first,next}_subnode) but +forgot to mark them as 'global' in the shared library. + +Signed-off-by: Julien Grall <julien.grall@linaro.org> +--- + libfdt/version.lds | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/libfdt/version.lds b/libfdt/version.lds +index 80b322b..941208e 100644 +--- a/libfdt/version.lds ++++ b/libfdt/version.lds +@@ -54,6 +54,8 @@ LIBFDT_1.2 { + fdt_get_property_by_offset; + fdt_getprop_by_offset; + fdt_next_property_offset; ++ fdt_first_subnode; ++ fdt_next_subnode; + + local: + *; +-- +2.4.0 + diff --git a/sys-apps/dtc/metadata.xml b/sys-apps/dtc/metadata.xml new file mode 100644 index 000000000000..bc8ad1abc489 --- /dev/null +++ b/sys-apps/dtc/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>lu_zero@gentoo.org</email> +</maintainer> +<maintainer type="project"> + <email>ppc@gentoo.org</email> + <name>Gentoo Linux PowerPC Development</name> +</maintainer> +</pkgmetadata> |