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:   ryoon
Date:           Thu Mar 30 13:50:20 UTC 2023

Modified Files:
        pkgsrc/sysutils/dtc: Makefile distinfo
        pkgsrc/sysutils/dtc/patches: patch-Makefile
Added Files:
        pkgsrc/sysutils/dtc: buildlink3.mk

Log Message:
dtc: Update to 1.7.0

* Required by upcoming emulators/qemu-7.2.0nb3. Add buildlink3.mk.

Changelog:
No concise changelog available.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/sysutils/dtc/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/dtc/buildlink3.mk
cvs rdiff -u -r1.7 -r1.8 pkgsrc/sysutils/dtc/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/sysutils/dtc/patches/patch-Makefile

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/Makefile
diff -u pkgsrc/sysutils/dtc/Makefile:1.9 pkgsrc/sysutils/dtc/Makefile:1.10
--- pkgsrc/sysutils/dtc/Makefile:1.9    Tue Jul 24 06:06:08 2018
+++ pkgsrc/sysutils/dtc/Makefile        Thu Mar 30 13:50:20 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2018/07/24 06:06:08 adam Exp $
+# $NetBSD: Makefile,v 1.10 2023/03/30 13:50:20 ryoon Exp $
 
-DISTNAME=      dtc-1.4.7
+DISTNAME=      dtc-1.7.0
 CATEGORIES=    sysutils devel
 MASTER_SITES=  https://www.kernel.org/pub/software/utils/dtc/
 EXTRACT_SUFX=  .tar.xz

Index: pkgsrc/sysutils/dtc/distinfo
diff -u pkgsrc/sysutils/dtc/distinfo:1.7 pkgsrc/sysutils/dtc/distinfo:1.8
--- pkgsrc/sysutils/dtc/distinfo:1.7    Tue Oct 26 11:19:32 2021
+++ pkgsrc/sysutils/dtc/distinfo        Thu Mar 30 13:50:20 2023
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.7 2021/10/26 11:19:32 nia Exp $
+$NetBSD: distinfo,v 1.8 2023/03/30 13:50:20 ryoon Exp $
 
-BLAKE2s (dtc-1.4.7.tar.xz) = 41632cc16b912697fc05c18f6ea16279ab7a11ea6bf9d967848ddf84a4b4c311
-SHA512 (dtc-1.4.7.tar.xz) = 01e0c88aee154d8ce8a5b84a299c98d12df9698e5eff572409e5e912236028532309fd21ca6a146dffef859c665d476bbbe13c371c621c1dee4abe546e5e6ebf
-Size (dtc-1.4.7.tar.xz) = 148940 bytes
-SHA1 (patch-Makefile) = b8f69c696c751148b8ca4552e104c47e9df98a53
+BLAKE2s (dtc-1.7.0.tar.xz) = 8da8174d935430a1de82a148a9c325f269ae2f7328c888488910f21fef5f6447
+SHA512 (dtc-1.7.0.tar.xz) = d3ba6902a9a2f2cdbaff55f12fca3cfe4a1ec5779074a38e3d8b88097c7abc981835957e8ce72971e10c131e05fde0b1b961768e888ff96d89e42c75edb53afb
+Size (dtc-1.7.0.tar.xz) = 165548 bytes
+SHA1 (patch-Makefile) = b8267b5894aff8943bc3411f90268eb17e5344b9
 SHA1 (patch-libfdt_Makefile.libfdt) = 10dec8b55b54641c26d4947cc9b7219b5a61efb7

Index: pkgsrc/sysutils/dtc/patches/patch-Makefile
diff -u pkgsrc/sysutils/dtc/patches/patch-Makefile:1.2 pkgsrc/sysutils/dtc/patches/patch-Makefile:1.3
--- pkgsrc/sysutils/dtc/patches/patch-Makefile:1.2      Tue Jul 24 06:06:08 2018
+++ pkgsrc/sysutils/dtc/patches/patch-Makefile  Thu Mar 30 13:50:20 2023
@@ -1,21 +1,21 @@
-$NetBSD: patch-Makefile,v 1.2 2018/07/24 06:06:08 adam Exp $
+$NetBSD: patch-Makefile,v 1.3 2023/03/30 13:50:20 ryoon Exp $
 
 Use custom CFLAGS; do not fail on warnings.
 Fix install_name on Darwin.
 Link against shared library.
 
---- Makefile.orig      2018-07-23 03:00:50.000000000 +0000
+--- Makefile.orig      2023-02-09 10:01:35.000000000 +0000
 +++ Makefile
-@@ -18,7 +18,7 @@ CONFIG_LOCALVERSION =
- CPPFLAGS = -I libfdt -I .
- WARNINGS = -Wall -Wpointer-arith -Wcast-qual -Wnested-externs \
+@@ -23,7 +23,7 @@ ASSUME_MASK ?= 0
+ CPPFLAGS = -I libfdt -I . -DFDT_ASSUME_MASK=$(ASSUME_MASK)
+ WARNINGS = -Wall -Wpointer-arith -Wcast-qual -Wnested-externs -Wsign-compare \
        -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wshadow
--CFLAGS = -g -Os $(SHAREDLIB_CFLAGS) -Werror $(WARNINGS)
-+CFLAGS += $(SHAREDLIB_CFLAGS) $(WARNINGS)
+-CFLAGS = -g -Os $(SHAREDLIB_CFLAGS) -Werror $(WARNINGS) $(EXTRA_CFLAGS)
++CFLAGS = $(SHAREDLIB_CFLAGS) $(WARNINGS) $(EXTRA_CFLAGS)
  
  BISON = bison
  LEX = flex
-@@ -42,7 +42,7 @@ HOSTOS := $(shell uname -s | tr '[:upper
+@@ -65,7 +65,7 @@ endif
  ifeq ($(HOSTOS),darwin)
  SHAREDLIB_EXT     = dylib
  SHAREDLIB_CFLAGS  = -fPIC
@@ -24,18 +24,3 @@ Link against shared library.
  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 \

Added files:

Index: pkgsrc/sysutils/dtc/buildlink3.mk
diff -u /dev/null pkgsrc/sysutils/dtc/buildlink3.mk:1.1
--- /dev/null   Thu Mar 30 13:50:20 2023
+++ pkgsrc/sysutils/dtc/buildlink3.mk   Thu Mar 30 13:50:20 2023
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2023/03/30 13:50:20 ryoon Exp $
+
+BUILDLINK_TREE+=       dtc
+
+.if !defined(DTC_BUILDLINK3_MK)
+DTC_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.dtc+=    dtc>=1.7.0
+BUILDLINK_PKGSRCDIR.dtc?=      ../../sysutils/dtc
+.endif # DTC_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -dtc



Home | Main Index | Thread Index | Old Index