pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/coreutils



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Wed Sep 23 20:12:50 UTC 2020

Modified Files:
        pkgsrc/sysutils/coreutils: Makefile distinfo
Added Files:
        pkgsrc/sysutils/coreutils/patches: patch-src_ln.c

Log Message:
coreutils: Backport SunOS "ln <x> ." fix.

Full update to latest release can come after the freeze.  Bump
PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 pkgsrc/sysutils/coreutils/Makefile
cvs rdiff -u -r1.36 -r1.37 pkgsrc/sysutils/coreutils/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/coreutils/patches/patch-src_ln.c

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

Modified files:

Index: pkgsrc/sysutils/coreutils/Makefile
diff -u pkgsrc/sysutils/coreutils/Makefile:1.77 pkgsrc/sysutils/coreutils/Makefile:1.78
--- pkgsrc/sysutils/coreutils/Makefile:1.77     Mon Aug 31 18:11:26 2020
+++ pkgsrc/sysutils/coreutils/Makefile  Wed Sep 23 20:12:50 2020
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.77 2020/08/31 18:11:26 wiz Exp $
+# $NetBSD: Makefile,v 1.78 2020/09/23 20:12:50 jperkin Exp $
 
-PKGREVISION= 1
+PKGREVISION= 2
 .include "../../sysutils/coreutils/Makefile.common"
 
 CONFIGURE_ARGS+=       --without-gmp

Index: pkgsrc/sysutils/coreutils/distinfo
diff -u pkgsrc/sysutils/coreutils/distinfo:1.36 pkgsrc/sysutils/coreutils/distinfo:1.37
--- pkgsrc/sysutils/coreutils/distinfo:1.36     Sun Dec 15 11:49:28 2019
+++ pkgsrc/sysutils/coreutils/distinfo  Wed Sep 23 20:12:50 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.36 2019/12/15 11:49:28 mef Exp $
+$NetBSD: distinfo,v 1.37 2020/09/23 20:12:50 jperkin Exp $
 
 SHA1 (coreutils-8.31.tar.xz) = c62b5034a5b65daca33c50a60df87ebc44159faf
 RMD160 (coreutils-8.31.tar.xz) = f672a6e3212d906555ba262edefb785c48badc70
@@ -7,3 +7,4 @@ Size (coreutils-8.31.tar.xz) = 5410140 b
 SHA1 (patch-Makefile.in) = e012814dded9691c2269661e64fc02f8f12d2039
 SHA1 (patch-lib_fflush.c) = 856ad3e8d301d65ca3db23347a88651e5c7a75d7
 SHA1 (patch-lib_string.in.h) = 4fcd9c511eed2bb476db0d7bb8cceba03c1da180
+SHA1 (patch-src_ln.c) = 5f7fd7567de9fe7ec2d212098debde3d1aa90333

Added files:

Index: pkgsrc/sysutils/coreutils/patches/patch-src_ln.c
diff -u /dev/null pkgsrc/sysutils/coreutils/patches/patch-src_ln.c:1.1
--- /dev/null   Wed Sep 23 20:12:50 2020
+++ pkgsrc/sysutils/coreutils/patches/patch-src_ln.c    Wed Sep 23 20:12:50 2020
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_ln.c,v 1.1 2020/09/23 20:12:50 jperkin Exp $
+
+Backport https://github.com/coreutils/coreutils/commit/3e0dff3925b5e521cae468087950e85b60002d1c
+
+--- src/ln.c.orig      2019-01-05 10:36:22.000000000 +0000
++++ src/ln.c
+@@ -603,7 +603,7 @@ main (int argc, char **argv)
+     {
+       if (n_files == 2 && !target_directory)
+         link_errno = atomic_link (file[0], AT_FDCWD, file[1]);
+-      if (link_errno < 0 || link_errno == EEXIST || link_errno == ENOTDIR)
++      if (link_errno < 0 || link_errno == EEXIST || link_errno == ENOTDIR || link_errno == EINVAL)
+         {
+           char const *d
+             = target_directory ? target_directory : file[n_files - 1];



Home | Main Index | Thread Index | Old Index