ports/misc/amanda26-server/files/extra-patch-sendbackup-dump.c
Jun Kuriyama 128a9e1430 - Upgrade to 2.6.1.
- Turn on SSH auth by default.
- Sorry, previous default path of $AMANDA_DATES was typo.  Fixed here
  it should be.  Please take care when upgrading.

PR:	ports/131193 (partially merged to my update modifications) [1]
Submitted by:	Goran Lowkrantz <glz@hidden-powers.com> [1]
2009-02-04 22:55:46 +00:00

23 lines
600 B
C

--- client-src/sendbackup-dump.c.orig 2008-12-13 04:18:11.000000000 +0900
+++ client-src/sendbackup-dump.c 2009-01-27 07:30:40.000000000 +0900
@@ -35,6 +35,10 @@
#include "clock.h"
#include "version.h"
+#ifdef __FreeBSD__
+#include <sys/param.h>
+#endif
+
#define LEAF_AND_DIRS "sed -e \'\ns/^leaf[ \t]*[0-9]*[ \t]*\\.//\nt\n/^dir[ \t]/ {\ns/^dir[ \t]*[0-9]*[ \t]*\\.//\ns%$%/%\nt\n}\nd\n\'"
static amregex_t re_table[] = {
@@ -310,6 +314,9 @@
cmdX, config,
"vxdump",
dumpkeys,
+#ifdef __FreeBSD__
+ "64",
+#endif
"1048576",
"-",
device,