pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/dtc dtc: updated to 1.4.5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fb49a10e94cb
branches:  trunk
changeset: 372390:fb49a10e94cb
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Dec 05 09:54:18 2017 +0000

description:
dtc: updated to 1.4.5

1.4.5:
Bug fixes.

diffstat:

 sysutils/dtc/DESCR                                |   2 +-
 sysutils/dtc/Makefile                             |  15 +++++++++------
 sysutils/dtc/PLIST                                |   3 ++-
 sysutils/dtc/distinfo                             |  13 ++++++++-----
 sysutils/dtc/patches/patch-Makefile               |  15 +++++++++++++++
 sysutils/dtc/patches/patch-fdtoverlay.c           |  16 ++++++++++++++++
 sysutils/dtc/patches/patch-libfdt_Makefile.libfdt |  18 ++++++++++++++++++
 7 files changed, 69 insertions(+), 13 deletions(-)

diffs (138 lines):

diff -r 3c032300cd19 -r fb49a10e94cb sysutils/dtc/DESCR
--- a/sysutils/dtc/DESCR        Tue Dec 05 09:29:55 2017 +0000
+++ b/sysutils/dtc/DESCR        Tue Dec 05 09:54:18 2017 +0000
@@ -1,4 +1,4 @@
-Device Tree Compiler (dtc) toolchain for working with device tree source and 
+Device Tree Compiler (dtc) toolchain for working with device tree source and
 binary files and libfdt, a utility library for reading and manipulating the
 binary format.
 
diff -r 3c032300cd19 -r fb49a10e94cb sysutils/dtc/Makefile
--- a/sysutils/dtc/Makefile     Tue Dec 05 09:29:55 2017 +0000
+++ b/sysutils/dtc/Makefile     Tue Dec 05 09:54:18 2017 +0000
@@ -1,22 +1,25 @@
-# $NetBSD: Makefile,v 1.6 2017/09/16 08:40:46 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2017/12/05 09:54:18 adam Exp $
 
-DISTNAME=      dtc-1.4.2
-PKGREVISION=   1
+DISTNAME=      dtc-1.4.5
 CATEGORIES=    sysutils devel
-MASTER_SITES=  ftp://ftp.kernel.org/pub/software/utils/dtc/
+MASTER_SITES=  https://www.kernel.org/pub/software/utils/dtc/
+EXTRACT_SUFX=  .tar.xz
 
 MAINTAINER=    joe.davis512%gmail.com@localhost
 HOMEPAGE=      https://devicetree.org/
 COMMENT=       Device Tree Compiler (dtc)
 LICENSE=       gnu-gpl-v2
 
-USE_TOOLS+=    gmake bison flex bash:run
+USE_TOOLS+=    bash:run bison flex gmake
 
 REPLACE_BASH+= dtdiff
 
 MAKE_FLAGS+=   PREFIX=${PREFIX}
 MAKE_FLAGS+=   DESTDIR=${DESTDIR}
-MAKE_FLAGS+=   INSTALL=${INSTALL}
+MAKE_FLAGS+=   INSTALL=${INSTALL:Q}
+MAKE_FLAGS+=   NO_PYTHON=1
+
+TEST_TARGET=   check
 
 BUILDLINK_TRANSFORM.SunOS+=    rm:-Wl,--version-script=libfdt/version.lds
 
diff -r 3c032300cd19 -r fb49a10e94cb sysutils/dtc/PLIST
--- a/sysutils/dtc/PLIST        Tue Dec 05 09:29:55 2017 +0000
+++ b/sysutils/dtc/PLIST        Tue Dec 05 09:54:18 2017 +0000
@@ -1,9 +1,10 @@
-@comment $NetBSD: PLIST,v 1.1 2016/09/19 18:11:16 jakllsch Exp $
+@comment $NetBSD: PLIST,v 1.2 2017/12/05 09:54:18 adam Exp $
 bin/convert-dtsv0
 bin/dtc
 bin/dtdiff
 bin/fdtdump
 bin/fdtget
+bin/fdtoverlay
 bin/fdtput
 include/fdt.h
 include/libfdt.h
diff -r 3c032300cd19 -r fb49a10e94cb sysutils/dtc/distinfo
--- a/sysutils/dtc/distinfo     Tue Dec 05 09:29:55 2017 +0000
+++ b/sysutils/dtc/distinfo     Tue Dec 05 09:54:18 2017 +0000
@@ -1,6 +1,9 @@
-$NetBSD: distinfo,v 1.2 2016/09/19 18:21:52 jakllsch Exp $
+$NetBSD: distinfo,v 1.3 2017/12/05 09:54:18 adam Exp $
 
-SHA1 (dtc-1.4.2.tar.gz) = cd59f17fb88f537571eb1555da6ad0d670ea2eeb
-RMD160 (dtc-1.4.2.tar.gz) = e4dd9d40892f1b6e2c8d7baffe5da4d9861f753f
-SHA512 (dtc-1.4.2.tar.gz) = fff1d0d939be54c8a73294f4075d93d38b09112fa66ffcd4f395cbe74ffeb4ece1829a47e017fb984a100ded5fb4e54f91bfaa4bcdcc1283f794e13d8181e087
-Size (dtc-1.4.2.tar.gz) = 141943 bytes
+SHA1 (dtc-1.4.5.tar.xz) = 641f7dcea517564cbf96d892e5aad5b4d1f661f6
+RMD160 (dtc-1.4.5.tar.xz) = 0124385df7ccdeb773f33eb035807a77be0de670
+SHA512 (dtc-1.4.5.tar.xz) = fb51f1bfe624cbfc95ad1ab22f4f8c9f6c5ec02be6798e81161d89f444c86c9538a96b3122b53eef6c0288a5790a817e7913d59c78fa5af3876b85137acf9a93
+Size (dtc-1.4.5.tar.xz) = 136336 bytes
+SHA1 (patch-Makefile) = 8ee930fd378cd1874ec8078ed2a0a7b9631f9696
+SHA1 (patch-fdtoverlay.c) = d84230b391ca23e1d9c731986de7021f418c2e14
+SHA1 (patch-libfdt_Makefile.libfdt) = 10dec8b55b54641c26d4947cc9b7219b5a61efb7
diff -r 3c032300cd19 -r fb49a10e94cb sysutils/dtc/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dtc/patches/patch-Makefile       Tue Dec 05 09:54:18 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile,v 1.1 2017/12/05 09:54:18 adam Exp $
+
+Use custom CFLAGS; do not fail on warnings.
+
+--- Makefile.orig      2017-12-05 09:03:49.000000000 +0000
++++ Makefile
+@@ -18,7 +18,7 @@ CONFIG_LOCALVERSION =
+ CPPFLAGS = -I libfdt -I .
+ WARNINGS = -Wall -Wpointer-arith -Wcast-qual -Wnested-externs \
+       -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wshadow
+-CFLAGS = -g -Os $(SHAREDLIB_CFLAGS) -Werror $(WARNINGS)
++CFLAGS += $(SHAREDLIB_CFLAGS) $(WARNINGS)
+ 
+ BISON = bison
+ LEX = flex
diff -r 3c032300cd19 -r fb49a10e94cb sysutils/dtc/patches/patch-fdtoverlay.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dtc/patches/patch-fdtoverlay.c   Tue Dec 05 09:54:18 2017 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-fdtoverlay.c,v 1.1 2017/12/05 09:54:18 adam Exp $
+
+alloca.h is not portable.
+
+--- fdtoverlay.c.orig  2017-12-05 08:56:30.828684391 +0000
++++ fdtoverlay.c
+@@ -26,7 +26,9 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#ifdef __linux__
+ #include <alloca.h>
++#endif
+ #include <inttypes.h>
+ 
+ #include <libfdt.h>
diff -r 3c032300cd19 -r fb49a10e94cb sysutils/dtc/patches/patch-libfdt_Makefile.libfdt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dtc/patches/patch-libfdt_Makefile.libfdt Tue Dec 05 09:54:18 2017 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-libfdt_Makefile.libfdt,v 1.1 2017/12/05 09:54:18 adam Exp $
+
+On Darwin, shared libraries have different naming.
+
+--- libfdt/Makefile.libfdt.orig        2017-12-05 08:44:44.000000000 +0000
++++ libfdt/Makefile.libfdt
+@@ -3,7 +3,11 @@
+ # This is not a complete Makefile of itself.  Instead, it is designed to
+ # be easily embeddable into other systems of Makefiles.
+ #
++ifeq ($(HOSTOS),darwin)
++LIBFDT_soname = libfdt.1.$(SHAREDLIB_EXT)
++else
+ LIBFDT_soname = libfdt.$(SHAREDLIB_EXT).1
++endif
+ LIBFDT_INCLUDES = fdt.h libfdt.h libfdt_env.h
+ LIBFDT_VERSION = version.lds
+ LIBFDT_SRCS = fdt.c fdt_ro.c fdt_wip.c fdt_sw.c fdt_rw.c fdt_strerror.c fdt_empty_tree.c \



Home | Main Index | Thread Index | Old Index