aboutsummaryrefslogtreecommitdiff
path: root/misc/amanda26-server/patch-sendbackup-dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/amanda26-server/patch-sendbackup-dump.c')
-rw-r--r--misc/amanda26-server/patch-sendbackup-dump.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/misc/amanda26-server/patch-sendbackup-dump.c b/misc/amanda26-server/patch-sendbackup-dump.c
new file mode 100644
index 000000000000..a11c4d68f6c1
--- /dev/null
+++ b/misc/amanda26-server/patch-sendbackup-dump.c
@@ -0,0 +1,24 @@
+--- client-src/sendbackup-dump.c.orig Fri Sep 8 13:56:23 2006
++++ client-src/sendbackup-dump.c Fri Sep 8 13:58:27 2006
+@@ -370,6 +370,9 @@
+
+ dumpkeys = vstralloc(level_str,
+ options->no_record ? "" : "u",
++#ifdef __FreeBSD__
++ "b",
++#endif
+ "s",
+ #ifdef HAVE_HONOR_NODUMP
+ "h",
+@@ -391,8 +394,10 @@
+ dumppid = pipespawn(cmd, STDIN_PIPE,
+ &dumpin, &dumpout, &mesgf,
+ cmd, config,
+- "dump",
+ dumpkeys,
++#ifdef __FreeBSD__
++ "64",
++#endif
+ "1048576",
+ #ifdef HAVE_HONOR_NODUMP
+ "0",