pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/dtc



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Dec  5 09:54:18 UTC 2017

Modified Files:
        pkgsrc/sysutils/dtc: DESCR Makefile PLIST distinfo
Added Files:
        pkgsrc/sysutils/dtc/patches: patch-Makefile patch-fdtoverlay.c
            patch-libfdt_Makefile.libfdt

Log Message:
dtc: updated to 1.4.5

1.4.5:
Bug fixes.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/dtc/DESCR pkgsrc/sysutils/dtc/PLIST
cvs rdiff -u -r1.6 -r1.7 pkgsrc/sysutils/dtc/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/sysutils/dtc/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/dtc/patches/patch-Makefile \
    pkgsrc/sysutils/dtc/patches/patch-fdtoverlay.c \
    pkgsrc/sysutils/dtc/patches/patch-libfdt_Makefile.libfdt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/dtc/DESCR
diff -u pkgsrc/sysutils/dtc/DESCR:1.1 pkgsrc/sysutils/dtc/DESCR:1.2
--- pkgsrc/sysutils/dtc/DESCR:1.1       Mon Sep 19 18:11:16 2016
+++ pkgsrc/sysutils/dtc/DESCR   Tue Dec  5 09:54:18 2017
@@ -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.
 
Index: pkgsrc/sysutils/dtc/PLIST
diff -u pkgsrc/sysutils/dtc/PLIST:1.1 pkgsrc/sysutils/dtc/PLIST:1.2
--- pkgsrc/sysutils/dtc/PLIST:1.1       Mon Sep 19 18:11:16 2016
+++ pkgsrc/sysutils/dtc/PLIST   Tue Dec  5 09:54:18 2017
@@ -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

Index: pkgsrc/sysutils/dtc/Makefile
diff -u pkgsrc/sysutils/dtc/Makefile:1.6 pkgsrc/sysutils/dtc/Makefile:1.7
--- pkgsrc/sysutils/dtc/Makefile:1.6    Sat Sep 16 08:40:46 2017
+++ pkgsrc/sysutils/dtc/Makefile        Tue Dec  5 09:54:18 2017
@@ -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
 

Index: pkgsrc/sysutils/dtc/distinfo
diff -u pkgsrc/sysutils/dtc/distinfo:1.2 pkgsrc/sysutils/dtc/distinfo:1.3
--- pkgsrc/sysutils/dtc/distinfo:1.2    Mon Sep 19 18:21:52 2016
+++ pkgsrc/sysutils/dtc/distinfo        Tue Dec  5 09:54:18 2017
@@ -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

Added files:

Index: pkgsrc/sysutils/dtc/patches/patch-Makefile
diff -u /dev/null pkgsrc/sysutils/dtc/patches/patch-Makefile:1.1
--- /dev/null   Tue Dec  5 09:54:18 2017
+++ pkgsrc/sysutils/dtc/patches/patch-Makefile  Tue Dec  5 09:54:18 2017
@@ -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
Index: pkgsrc/sysutils/dtc/patches/patch-fdtoverlay.c
diff -u /dev/null pkgsrc/sysutils/dtc/patches/patch-fdtoverlay.c:1.1
--- /dev/null   Tue Dec  5 09:54:18 2017
+++ pkgsrc/sysutils/dtc/patches/patch-fdtoverlay.c      Tue Dec  5 09:54:18 2017
@@ -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>
Index: pkgsrc/sysutils/dtc/patches/patch-libfdt_Makefile.libfdt
diff -u /dev/null pkgsrc/sysutils/dtc/patches/patch-libfdt_Makefile.libfdt:1.1
--- /dev/null   Tue Dec  5 09:54:18 2017
+++ pkgsrc/sysutils/dtc/patches/patch-libfdt_Makefile.libfdt    Tue Dec  5 09:54:18 2017
@@ -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