summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2022-04-12 14:24:16 +0000
committernia <nia@pkgsrc.org>2022-04-12 14:24:16 +0000
commit8b2ac4ed7438abd95b737f542aa8e8c450769ba5 (patch)
treeadcab62f4c1b923b26918aba19d61199ac60cf69 /devel
parent7c0f8911bffde3fadaba76dc5c8b17d0672d80e7 (diff)
downloadpkgsrc-8b2ac4ed7438abd95b737f542aa8e8c450769ba5.tar.gz
diffutils: update to 3.8
* Noteworthy changes in release 3.8 (2021-08-01) [stable] ** Incompatible changes diff no longer treats a closed stdin as representing an absent file in usage like 'diff --new-file - foo <&-'. This feature was rarely if ever used and was not portable to POSIX platforms that reopen stdin on exec, such as SELinux if the process underwent an AT_SECURE transition, or HP-UX even if not setuid. ** Bug fixes diff and related programs no longer get confused if stdin, stdout, or stderr are closed. Previously, they sometimes opened files into file descriptors 0, 1, or 2 and then mistakenly did I/O with them that was intended for stdin, stdout, or stderr. cmp, diff and sdiff no longer treat negative command-line option-arguments as if they were large positive numbers.
Diffstat (limited to 'devel')
-rw-r--r--devel/diffutils/Makefile4
-rw-r--r--devel/diffutils/distinfo9
-rw-r--r--devel/diffutils/patches/patch-src_context.c20
3 files changed, 6 insertions, 27 deletions
diff --git a/devel/diffutils/Makefile b/devel/diffutils/Makefile
index c57713330a9..3b0ca9065b8 100644
--- a/devel/diffutils/Makefile
+++ b/devel/diffutils/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.40 2020/01/18 23:30:26 rillig Exp $
+# $NetBSD: Makefile,v 1.41 2022/04/12 14:24:16 nia Exp $
-DISTNAME= diffutils-3.7
+DISTNAME= diffutils-3.8
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=diffutils/}
EXTRACT_SUFX= .tar.xz
diff --git a/devel/diffutils/distinfo b/devel/diffutils/distinfo
index 7d7b59ba71b..33aaa078818 100644
--- a/devel/diffutils/distinfo
+++ b/devel/diffutils/distinfo
@@ -1,8 +1,7 @@
-$NetBSD: distinfo,v 1.18 2021/10/26 10:14:33 nia Exp $
+$NetBSD: distinfo,v 1.19 2022/04/12 14:24:16 nia Exp $
-BLAKE2s (diffutils-3.7.tar.xz) = 55b70f9a50a544c941a6f5a27c63e9dc71f4dcf43fc06037d0a83ddc6bde2d0b
-SHA512 (diffutils-3.7.tar.xz) = 7b12cf8aea1b9844773748f72272d9c6a38adae9c3c3a8c62048f91fb56c60b76035fa5f51665dceaf2cfbf1d1f4a3efdcc24bf47a5a16ff4350543314b12c9c
-Size (diffutils-3.7.tar.xz) = 1448828 bytes
+BLAKE2s (diffutils-3.8.tar.xz) = 3c960c9b1f4164e2f590fbd7227abb58dd18af4e861063bcd6a2a0efa5a86718
+SHA512 (diffutils-3.8.tar.xz) = 279441270987e70d5ecfaf84b6285a4866929c43ec877e50f154a788858d548a8a316f2fc26ad62f7348c8d289cb29a09d06dfadce1806e3d8b4ea88c8b1aa7c
+Size (diffutils-3.8.tar.xz) = 1585120 bytes
SHA1 (patch-po_Makefile.in.in) = 0e7ed6eb85613f272e43a911a35a8b9cfbfb0536
SHA1 (patch-src_Makefile.in) = ad797a73086d177d53207312a7219f78178895e1
-SHA1 (patch-src_context.c) = 8ca9eff9d0233d1952de7b5f8e055a0a90c66c59
diff --git a/devel/diffutils/patches/patch-src_context.c b/devel/diffutils/patches/patch-src_context.c
deleted file mode 100644
index f966b901d60..00000000000
--- a/devel/diffutils/patches/patch-src_context.c
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-src_context.c,v 1.2 2019/07/07 18:02:44 schwarz Exp $
-
-date: 2009-03-10 23:06:06 +0900; author: apb; state: Exp;
-Fix a build failure on platforms where time_t is larger than long, by
-using long long instead. (Not using time_t, because there's no easy and
-portable printf format for time_t.)
-
---- src/context.c.orig 2018-12-31 07:22:10.000000000 +0100
-+++ src/context.c 2019-07-07 00:38:26.000000000 +0200
-@@ -58,8 +58,8 @@
- if (LONG_MIN <= TYPE_MINIMUM (time_t)
- && TYPE_MAXIMUM (time_t) <= LONG_MAX)
- {
-- long int sec = inf->stat.st_mtime;
-- sprintf (buf, "%ld.%.9d", sec, nsec);
-+ long long int sec = inf->stat.st_mtime; /* should really be time_t */
-+ sprintf (buf, "%lld.%.9d", sec, nsec);
- }
- else if (TYPE_MAXIMUM (time_t) <= INTMAX_MAX)
- {