diff options
author | tron <tron@pkgsrc.org> | 2011-07-09 10:32:17 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2011-07-09 10:32:17 +0000 |
commit | d0e41f414b2f170143317a32112627f95e3eb42f (patch) | |
tree | e49236afe0e04640296a7f400a583508deec4583 /devel | |
parent | 327d28b09153f4ab4eefeb0549472dccd418ca65 (diff) | |
download | pkgsrc-d0e41f414b2f170143317a32112627f95e3eb42f.tar.gz |
Update "patch" package to version 2.5.9. Changes since version 2.5.4:
- patch -D now outputs preprocessor lines without comments, as required
by POSIX 1003.1-2001.
- File names in context patches may now contain spaces, so long
as the context patch headers use a tab to separate the file name
from the time stamp.
- Perforce is now supported.
- Patch lines beginning with "#" are comments and are ignored.
- The bug reporting address is now <bug-patch@gnu.org>.
- bug fixes
Diffstat (limited to 'devel')
-rw-r--r-- | devel/patch/Makefile | 10 | ||||
-rw-r--r-- | devel/patch/distinfo | 8 |
2 files changed, 8 insertions, 10 deletions
diff --git a/devel/patch/Makefile b/devel/patch/Makefile index 3581b2d57eb..f74671b94ac 100644 --- a/devel/patch/Makefile +++ b/devel/patch/Makefile @@ -1,8 +1,6 @@ -# $NetBSD: Makefile,v 1.31 2009/11/30 18:32:53 heinz Exp $ -# +# $NetBSD: Makefile,v 1.32 2011/07/09 10:32:17 tron Exp $ -DISTNAME= patch-2.5.4 -PKGREVISION= 2 +DISTNAME= patch-2.5.9 CATEGORIES= devel # We keep an uncompressed tar archive of the sources on # ${MASTER_SITE_LOCAL} so that we won't need gzcat to extract the @@ -43,8 +41,8 @@ INSTALL_MAKE_FLAGS= bindir=${DESTDIR}${PREFIX}/bin \ do-patch: ${MV} ${WRKSRC}/pch.c ${WRKSRC}/pch.c.orig ${AWK} '/#include <pch.h>/{print $$0 "\n#include <sys/param.h>";next;}\ - /^#if HAVE_SETMODE/ \ - {gsub(/^#if HAVE_SETMODE/,"#if defined(HAVE_SETMODE) \\&\\& !(defined(BSD) \\&\\& BSD >= 199306) \\&\\& !defined(__INTERIX)");print $$0; next; } \ + /^#if HAVE_SETMODE_DOS/ \ + {gsub(/^#if HAVE_SETMODE_DOS/,"#if defined(HAVE_SETMODE_DOS) \\&\\& !(defined(BSD) \\&\\& BSD >= 199306) \\&\\& !defined(__INTERIX)");print $$0; next; } \ {print $$0;}' \ < ${WRKSRC}/pch.c.orig \ > ${WRKSRC}/pch.c diff --git a/devel/patch/distinfo b/devel/patch/distinfo index 3c2571a112d..337441a3785 100644 --- a/devel/patch/distinfo +++ b/devel/patch/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.5 2005/05/16 20:04:12 jlam Exp $ +$NetBSD: distinfo,v 1.6 2011/07/09 10:32:17 tron Exp $ -SHA1 (patch-2.5.4.tar) = e8b7b82ee2ebb70624465cc41f9ad1a14d54097e -RMD160 (patch-2.5.4.tar) = 4604e4678e6d40cf7b11133ef3dd06564442521b -Size (patch-2.5.4.tar) = 706560 bytes +SHA1 (patch-2.5.9.tar) = cef413b13e514344bab923f5addb286a574d86a7 +RMD160 (patch-2.5.9.tar) = 47f611840f16a4482af4742e63f24da5cd7ab5ee +Size (patch-2.5.9.tar) = 950784 bytes |