summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosef Karthauser <joe@FreeBSD.org>2002-09-16 00:30:40 +0000
committerJosef Karthauser <joe@FreeBSD.org>2002-09-16 00:30:40 +0000
commit3b1c8fd784fc5494abd800ed803b09470d82bdf4 (patch)
tree2948edb2fc656f0812d640336bb3946d5f3a5586
parentAdd missing file (diff)
Make amanda compile on machines that don't have lpr installed.
(This fix needs to be submitted back to the Amanda team as it's a software bug, not a FreeBSD issue.)
Notes
Notes: svn path=/head/; revision=66400
-rw-r--r--misc/amanda-server/files/patch-ad11
-rw-r--r--misc/amanda25-server/files/patch-ad11
-rw-r--r--misc/amanda26-server/files/patch-ad11
-rw-r--r--misc/amanda32-server/files/patch-ad11
4 files changed, 44 insertions, 0 deletions
diff --git a/misc/amanda-server/files/patch-ad b/misc/amanda-server/files/patch-ad
new file mode 100644
index 000000000000..7cbaa40b5ee2
--- /dev/null
+++ b/misc/amanda-server/files/patch-ad
@@ -0,0 +1,11 @@
+--- server-src/reporter.c.orig Mon Sep 16 01:23:18 2002
++++ server-src/reporter.c Mon Sep 16 01:23:24 2002
+@@ -563,7 +563,7 @@
+ #else
+ curlog = L_ERROR;
+ curprog = P_REPORTER;
+- curstr = stralloc2("no printer command defined");
++ curstr = stralloc2("no printer command defined", "");
+ handle_error();
+ amfree(curstr);
+ #endif
diff --git a/misc/amanda25-server/files/patch-ad b/misc/amanda25-server/files/patch-ad
new file mode 100644
index 000000000000..7cbaa40b5ee2
--- /dev/null
+++ b/misc/amanda25-server/files/patch-ad
@@ -0,0 +1,11 @@
+--- server-src/reporter.c.orig Mon Sep 16 01:23:18 2002
++++ server-src/reporter.c Mon Sep 16 01:23:24 2002
+@@ -563,7 +563,7 @@
+ #else
+ curlog = L_ERROR;
+ curprog = P_REPORTER;
+- curstr = stralloc2("no printer command defined");
++ curstr = stralloc2("no printer command defined", "");
+ handle_error();
+ amfree(curstr);
+ #endif
diff --git a/misc/amanda26-server/files/patch-ad b/misc/amanda26-server/files/patch-ad
new file mode 100644
index 000000000000..7cbaa40b5ee2
--- /dev/null
+++ b/misc/amanda26-server/files/patch-ad
@@ -0,0 +1,11 @@
+--- server-src/reporter.c.orig Mon Sep 16 01:23:18 2002
++++ server-src/reporter.c Mon Sep 16 01:23:24 2002
+@@ -563,7 +563,7 @@
+ #else
+ curlog = L_ERROR;
+ curprog = P_REPORTER;
+- curstr = stralloc2("no printer command defined");
++ curstr = stralloc2("no printer command defined", "");
+ handle_error();
+ amfree(curstr);
+ #endif
diff --git a/misc/amanda32-server/files/patch-ad b/misc/amanda32-server/files/patch-ad
new file mode 100644
index 000000000000..7cbaa40b5ee2
--- /dev/null
+++ b/misc/amanda32-server/files/patch-ad
@@ -0,0 +1,11 @@
+--- server-src/reporter.c.orig Mon Sep 16 01:23:18 2002
++++ server-src/reporter.c Mon Sep 16 01:23:24 2002
+@@ -563,7 +563,7 @@
+ #else
+ curlog = L_ERROR;
+ curprog = P_REPORTER;
+- curstr = stralloc2("no printer command defined");
++ curstr = stralloc2("no printer command defined", "");
+ handle_error();
+ amfree(curstr);
+ #endif