summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2018-07-24 06:06:08 +0000
committeradam <adam@pkgsrc.org>2018-07-24 06:06:08 +0000
commitdf62a40d6ac2af3748b15389284946832ad5fe9f (patch)
tree2412879a47f95c5826a5610e1ff486fdedde7a34 /sysutils
parentff22e84fd17096723aadb58a90e87178dec2605b (diff)
downloadpkgsrc-df62a40d6ac2af3748b15389284946832ad5fe9f.tar.gz
dtc: updated to 1.4.7
1.4.7: Bug fixes.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/dtc/Makefile4
-rw-r--r--sysutils/dtc/distinfo12
-rw-r--r--sysutils/dtc/patches/patch-Makefile30
3 files changed, 36 insertions, 10 deletions
diff --git a/sysutils/dtc/Makefile b/sysutils/dtc/Makefile
index c949a7450d9..7edf06fbdf1 100644
--- a/sysutils/dtc/Makefile
+++ b/sysutils/dtc/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2018/01/06 08:55:46 adam Exp $
+# $NetBSD: Makefile,v 1.9 2018/07/24 06:06:08 adam Exp $
-DISTNAME= dtc-1.4.6
+DISTNAME= dtc-1.4.7
CATEGORIES= sysutils devel
MASTER_SITES= https://www.kernel.org/pub/software/utils/dtc/
EXTRACT_SUFX= .tar.xz
diff --git a/sysutils/dtc/distinfo b/sysutils/dtc/distinfo
index bdbf9cd03e5..fec25b7e60e 100644
--- a/sysutils/dtc/distinfo
+++ b/sysutils/dtc/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.4 2018/01/06 08:55:46 adam Exp $
+$NetBSD: distinfo,v 1.5 2018/07/24 06:06:08 adam Exp $
-SHA1 (dtc-1.4.6.tar.xz) = 1dcf865f51de9714647fb25e18b8af229fa2b6bc
-RMD160 (dtc-1.4.6.tar.xz) = 135c6083908380d676db5bd3d00801a5d5502eea
-SHA512 (dtc-1.4.6.tar.xz) = b52862159cbf9e6e8e1ecb5844e16c81a0b9c4df255366f8a48b15cb7e080754c142da7432de2542485fce70bb2a4fa76df6d1f93cbf0118e8dbe677153b9da8
-Size (dtc-1.4.6.tar.xz) = 137868 bytes
-SHA1 (patch-Makefile) = 8ee930fd378cd1874ec8078ed2a0a7b9631f9696
+SHA1 (dtc-1.4.7.tar.xz) = f9724c51caae4fef4da0c8a5d52e9d4d9fc7e8af
+RMD160 (dtc-1.4.7.tar.xz) = 93e3d3c18dd10ad8a61168f4135601ea50d18e40
+SHA512 (dtc-1.4.7.tar.xz) = 01e0c88aee154d8ce8a5b84a299c98d12df9698e5eff572409e5e912236028532309fd21ca6a146dffef859c665d476bbbe13c371c621c1dee4abe546e5e6ebf
+Size (dtc-1.4.7.tar.xz) = 148940 bytes
+SHA1 (patch-Makefile) = b8f69c696c751148b8ca4552e104c47e9df98a53
SHA1 (patch-libfdt_Makefile.libfdt) = 10dec8b55b54641c26d4947cc9b7219b5a61efb7
diff --git a/sysutils/dtc/patches/patch-Makefile b/sysutils/dtc/patches/patch-Makefile
index 9179ecf7975..0a1e2f3877f 100644
--- a/sysutils/dtc/patches/patch-Makefile
+++ b/sysutils/dtc/patches/patch-Makefile
@@ -1,8 +1,10 @@
-$NetBSD: patch-Makefile,v 1.1 2017/12/05 09:54:18 adam Exp $
+$NetBSD: patch-Makefile,v 1.2 2018/07/24 06:06:08 adam Exp $
Use custom CFLAGS; do not fail on warnings.
+Fix install_name on Darwin.
+Link against shared library.
---- Makefile.orig 2017-12-05 09:03:49.000000000 +0000
+--- Makefile.orig 2018-07-23 03:00:50.000000000 +0000
+++ Makefile
@@ -18,7 +18,7 @@ CONFIG_LOCALVERSION =
CPPFLAGS = -I libfdt -I .
@@ -13,3 +15,27 @@ Use custom CFLAGS; do not fail on warnings.
BISON = bison
LEX = flex
+@@ -42,7 +42,7 @@ HOSTOS := $(shell uname -s | tr '[:upper
+ ifeq ($(HOSTOS),darwin)
+ SHAREDLIB_EXT = dylib
+ SHAREDLIB_CFLAGS = -fPIC
+-SHAREDLIB_LDFLAGS = -fPIC -dynamiclib -Wl,-install_name -Wl,
++SHAREDLIB_LDFLAGS = -fPIC -dynamiclib -Wl,-install_name -Wl,$(LIBDIR)/
+ else ifeq ($(HOSTOS),$(filter $(HOSTOS),msys cygwin))
+ SHAREDLIB_EXT = so
+ SHAREDLIB_CFLAGS =
+@@ -237,11 +237,11 @@ convert-dtsv0: $(CONVERT_OBJS)
+
+ fdtdump: $(FDTDUMP_OBJS)
+
+-fdtget: $(FDTGET_OBJS) $(LIBFDT_archive)
++fdtget: $(FDTGET_OBJS) $(LIBFDT_lib)
+
+-fdtput: $(FDTPUT_OBJS) $(LIBFDT_archive)
++fdtput: $(FDTPUT_OBJS) $(LIBFDT_lib)
+
+-fdtoverlay: $(FDTOVERLAY_OBJS) $(LIBFDT_archive)
++fdtoverlay: $(FDTOVERLAY_OBJS) $(LIBFDT_lib)
+
+ dist:
+ git archive --format=tar --prefix=dtc-$(dtc_version)/ HEAD \