diff options
author | gdt <gdt> | 2008-06-06 19:51:14 +0000 |
---|---|---|
committer | gdt <gdt> | 2008-06-06 19:51:14 +0000 |
commit | 4020bfd13cb72a1fcdf26282dff43603e28ff068 (patch) | |
tree | 93d31192918d801cc64e8e45e54c384fbdf8c80f /textproc | |
parent | 2d9b14a858781f5ad97e44777a0d8f82bf025f18 (diff) | |
download | pkgsrc-4020bfd13cb72a1fcdf26282dff43603e28ff068.tar.gz |
Add patch to remove -u argument from cp; -u is not specified by POSIX
and fails on NetBSD.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/asciidoc/Makefile | 4 | ||||
-rw-r--r-- | textproc/asciidoc/distinfo | 3 | ||||
-rw-r--r-- | textproc/asciidoc/patches/patch-aa | 25 |
3 files changed, 29 insertions, 3 deletions
diff --git a/textproc/asciidoc/Makefile b/textproc/asciidoc/Makefile index 46ec911d15a..80d311c890b 100644 --- a/textproc/asciidoc/Makefile +++ b/textproc/asciidoc/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.11 2008/05/26 02:13:24 joerg Exp $ +# $NetBSD: Makefile,v 1.12 2008/06/06 19:51:14 gdt Exp $ # DISTNAME= asciidoc-8.2.5 -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= textproc MASTER_SITES= ${HOMEPAGE} \ ${MASTER_SITE_SOURCEFORGE:=asciidoc/} diff --git a/textproc/asciidoc/distinfo b/textproc/asciidoc/distinfo index 51ab7accdff..54b77357283 100644 --- a/textproc/asciidoc/distinfo +++ b/textproc/asciidoc/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.3 2007/11/29 22:20:29 wiz Exp $ +$NetBSD: distinfo,v 1.4 2008/06/06 19:51:14 gdt Exp $ SHA1 (asciidoc-8.2.5.tar.gz) = 792bc45a17a0b54f8744214251fb08989e178d25 RMD160 (asciidoc-8.2.5.tar.gz) = 966ee7af72a3c53916e7bf6a1670f23ce739adfc Size (asciidoc-8.2.5.tar.gz) = 722902 bytes +SHA1 (patch-aa) = e10d700a0206bada293ab71f64edbe50dcf4a000 diff --git a/textproc/asciidoc/patches/patch-aa b/textproc/asciidoc/patches/patch-aa new file mode 100644 index 00000000000..7d1dd2be8e5 --- /dev/null +++ b/textproc/asciidoc/patches/patch-aa @@ -0,0 +1,25 @@ +$NetBSD: patch-aa,v 1.1 2008/06/06 19:51:14 gdt Exp $ + +a2x uses the '-u' argument to cp, which POSIX does not specify: + http://www.opengroup.org/onlinepubs/009695399/utilities/cp.html + +--- a2x.orig 2007-10-28 23:50:53.000000000 -0400 ++++ a2x +@@ -379,7 +379,7 @@ function copy_stylesheet() + if [[ "$src" -ef "$dst" ]]; then + return + fi +- execute_command_2 "cp -u \"$src\" \"$dst\"" ++ execute_command_2 "cp \"$src\" \"$dst\"" + } + + # Copy distribution admonition and navigation icons to destination directory +@@ -405,7 +405,7 @@ function copy_icons() + else + execute_command_2 "mkdir -p \"$dst\"" + fi +- execute_command_2 "cp -rfu \"$src/\"* \"$dst\"" ++ execute_command_2 "cp -rf \"$src/\"* \"$dst\"" + } + + #-------------------------------------------------------------------- |