summaryrefslogtreecommitdiff
path: root/sysutils/amanda-common/patches
diff options
context:
space:
mode:
authormjl <mjl>2001-03-15 20:08:46 +0000
committermjl <mjl>2001-03-15 20:08:46 +0000
commitba1eccb5b4e48d05b8ba8dbbcc5d89fbfb7de5e5 (patch)
treea394ae956d520001686347fdd641cdc94f60e1bf /sysutils/amanda-common/patches
parente9f6ae01c19c84198bea2f14e607b7ffb5e2b64f (diff)
downloadpkgsrc-ba1eccb5b4e48d05b8ba8dbbcc5d89fbfb7de5e5.tar.gz
Make this compile under -current, amanda has a function called shquote()...
Diffstat (limited to 'sysutils/amanda-common/patches')
-rw-r--r--sysutils/amanda-common/patches/patch-ba13
-rw-r--r--sysutils/amanda-common/patches/patch-bb13
2 files changed, 26 insertions, 0 deletions
diff --git a/sysutils/amanda-common/patches/patch-ba b/sysutils/amanda-common/patches/patch-ba
new file mode 100644
index 00000000000..9cd5764a8de
--- /dev/null
+++ b/sysutils/amanda-common/patches/patch-ba
@@ -0,0 +1,13 @@
+$NetBSD: patch-ba,v 1.1 2001/03/15 20:08:46 mjl Exp $
+
+--- common-src/token.h.orig Thu Mar 15 20:30:31 2001
++++ common-src/token.h Thu Mar 15 20:30:43 2001
+@@ -42,7 +42,7 @@
+ extern char *quotef P((char *sep, char *format, ...));
+ extern char *quote P((char *sep, char *str));
+ extern char *rxquote P((char *str));
+-extern char *shquote P((char *str));
++extern char *am_shquote P((char *str));
+ extern int table_lookup P((table_t *table, char *str));
+ extern char *table_lookup_r P((table_t *table, int val));
+
diff --git a/sysutils/amanda-common/patches/patch-bb b/sysutils/amanda-common/patches/patch-bb
new file mode 100644
index 00000000000..51635532dd7
--- /dev/null
+++ b/sysutils/amanda-common/patches/patch-bb
@@ -0,0 +1,13 @@
+$NetBSD: patch-bb,v 1.1 2001/03/15 20:08:46 mjl Exp $
+
+--- common-src/token.c.orig Thu Mar 15 20:30:23 2001
++++ common-src/token.c Thu Mar 15 20:30:56 2001
+@@ -295,7 +295,7 @@
+ }
+
+ /* Quote a string so that it can be safely passed to a shell */
+-char *shquote(str)
++char *am_shquote(str)
+ char *str; /* the string to quote */
+ {
+ char *pi, *po;