aboutsummaryrefslogtreecommitdiffstats
path: root/misc/amanda-server
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2002-09-16 08:30:40 +0800
committerjoe <joe@FreeBSD.org>2002-09-16 08:30:40 +0800
commitc766235e40e78b1a4c084954c8fee94fa16d7199 (patch)
treed63073ebaf23c92839235f6b56c40ca40cf02d2a /misc/amanda-server
parentd331f87c8fa189fc1ef915b5041e38410bd7eee6 (diff)
downloadfreebsd-ports-gnome-c766235e40e78b1a4c084954c8fee94fa16d7199.tar.gz
freebsd-ports-gnome-c766235e40e78b1a4c084954c8fee94fa16d7199.tar.zst
freebsd-ports-gnome-c766235e40e78b1a4c084954c8fee94fa16d7199.zip
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.)
Diffstat (limited to 'misc/amanda-server')
-rw-r--r--misc/amanda-server/files/patch-ad11
1 files changed, 11 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