pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/scmcvs cvs: Disable custom getcwd() implementati...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3cb3587314fe
branches:  trunk
changeset: 415644:3cb3587314fe
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Fri Oct 11 09:08:35 2019 +0000

description:
cvs: Disable custom getcwd() implementation on Darwin.

It completely breaks on Catalina for some reason, so just use the native
version which works fine.  This commit brought to you by a patched binary
running on Catalina.  Bump PKGREVISION.

diffstat:

 devel/scmcvs/Makefile         |   7 ++++---
 devel/scmcvs/distinfo         |   4 ++--
 devel/scmcvs/patches/patch-bb |  16 +++++++++++-----
 3 files changed, 17 insertions(+), 10 deletions(-)

diffs (73 lines):

diff -r 75b517cbaee0 -r 3cb3587314fe devel/scmcvs/Makefile
--- a/devel/scmcvs/Makefile     Fri Oct 11 02:02:58 2019 +0000
+++ b/devel/scmcvs/Makefile     Fri Oct 11 09:08:35 2019 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.18 2017/08/21 22:57:45 tez Exp $
+# $NetBSD: Makefile,v 1.19 2019/10/11 09:08:35 jperkin Exp $
 
 DISTNAME=      cvs-1.12.13
-PKGREVISION=   6
+PKGREVISION=   7
 CATEGORIES=    devel scm
 MASTER_SITES=  http://ftp.gnu.org/non-gnu/cvs/source/feature/${PKGVERSION_NOREV}/
 EXTRACT_SUFX=  .tar.bz2
@@ -15,7 +15,8 @@
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --with-external-zlib
 CONFIGURE_ARGS+=       --with-rsh=ssh
-CONFIGURE_ENV+=                PERL=${TOOLS_PERL5} gl_cv_func_getcwd_null=yes
+CONFIGURE_ENV+=                PERL=${TOOLS_PERL5}
+CONFIGURE_ENV+=                gl_cv_func_getcwd_null=yes
 
 CHECK_INTERPRETER_SKIP=        share/cvs/contrib/*
 INFO_FILES=            yes
diff -r 75b517cbaee0 -r 3cb3587314fe devel/scmcvs/distinfo
--- a/devel/scmcvs/distinfo     Fri Oct 11 02:02:58 2019 +0000
+++ b/devel/scmcvs/distinfo     Fri Oct 11 09:08:35 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.21 2017/12/18 08:51:48 adam Exp $
+$NetBSD: distinfo,v 1.22 2019/10/11 09:08:35 jperkin Exp $
 
 SHA1 (cvs-1.12.13.tar.bz2) = 93a8dacc6ff0e723a130835713235863f1f5ada9
 RMD160 (cvs-1.12.13.tar.bz2) = ba3048e3e2d99ae78f6a759889b615acf65dd487
@@ -25,7 +25,7 @@
 SHA1 (patch-ay) = 6ce1c3c21dbc478248068f8b8850c21b0cb48c42
 SHA1 (patch-az) = 9dfd460ae6617f1492e0e6861387ff80080a7d5d
 SHA1 (patch-ba) = 7153e12e5da86effd4285e147f9f534011982e07
-SHA1 (patch-bb) = 09a607426b672f44c1882b82812e6ca81efdcf8e
+SHA1 (patch-bb) = 54cb5ebb1f4ec9e3f8f514914958d8a3cce59dab
 SHA1 (patch-lib_mktime.c) = 526a0e24c6399d527ae6a463ea91e993f9f7e920
 SHA1 (patch-lib_vasnprintf.c) = fbba4d923d3c61ebcf79e82779919dc1f8a570c0
 SHA1 (patch-m4_fpending.m4) = 6b7c96d8f092e179d2cfdf036bcbfd3855292e0f
diff -r 75b517cbaee0 -r 3cb3587314fe devel/scmcvs/patches/patch-bb
--- a/devel/scmcvs/patches/patch-bb     Fri Oct 11 02:02:58 2019 +0000
+++ b/devel/scmcvs/patches/patch-bb     Fri Oct 11 09:08:35 2019 +0000
@@ -1,17 +1,23 @@
-$NetBSD: patch-bb,v 1.1 2014/08/13 18:30:03 cheusov Exp $
+$NetBSD: patch-bb,v 1.2 2019/10/11 09:08:35 jperkin Exp $
 
 Do use non-standard getcwd(NULL, 0); This unbreaks cvs on Interix.
---- lib/xgetcwd.c.orig Mon Sep 19 21:12:25 2005
-+++ lib/xgetcwd.c      Wed Aug 13 17:58:42 2014
-@@ -25,6 +25,7 @@
+Disable broken custom getcwd() on Apple, it breaks on Catalina.
+
+--- lib/xgetcwd.c.orig 2005-09-19 21:12:25.000000000 +0000
++++ lib/xgetcwd.c
+@@ -25,8 +25,11 @@
  #include "xgetcwd.h"
  
  #include <errno.h>
 +#include <limits.h>
  
++#ifndef __APPLE__
  #include "getcwd.h"
++#endif
  #include "xalloc.h"
-@@ -36,8 +37,8 @@
+ 
+ /* Return the current directory, newly allocated.
+@@ -36,8 +39,8 @@
  char *
  xgetcwd (void)
  {



Home | Main Index | Thread Index | Old Index