pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/asciidoc Add patch to remove -u argument from...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d92adf808b5f
branches: trunk
changeset: 543159:d92adf808b5f
user: gdt <gdt%pkgsrc.org@localhost>
date: Fri Jun 06 19:51:14 2008 +0000
description:
Add patch to remove -u argument from cp; -u is not specified by POSIX
and fails on NetBSD.
diffstat:
textproc/asciidoc/Makefile | 4 ++--
textproc/asciidoc/distinfo | 3 ++-
textproc/asciidoc/patches/patch-aa | 25 +++++++++++++++++++++++++
3 files changed, 29 insertions(+), 3 deletions(-)
diffs (54 lines):
diff -r 21a29cbb6e44 -r d92adf808b5f textproc/asciidoc/Makefile
--- a/textproc/asciidoc/Makefile Fri Jun 06 17:14:01 2008 +0000
+++ b/textproc/asciidoc/Makefile Fri Jun 06 19:51:14 2008 +0000
@@ -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 -r 21a29cbb6e44 -r d92adf808b5f textproc/asciidoc/distinfo
--- a/textproc/asciidoc/distinfo Fri Jun 06 17:14:01 2008 +0000
+++ b/textproc/asciidoc/distinfo Fri Jun 06 19:51:14 2008 +0000
@@ -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 -r 21a29cbb6e44 -r d92adf808b5f textproc/asciidoc/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/asciidoc/patches/patch-aa Fri Jun 06 19:51:14 2008 +0000
@@ -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\""
+ }
+
+ #--------------------------------------------------------------------
Home |
Main Index |
Thread Index |
Old Index