Package: rdiff-backup-fs / 1.0.0-5

kfreebsd-support.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Index: rdiff-backup-fs-1.0.0/configure.ac
===================================================================
--- rdiff-backup-fs-1.0.0.orig/configure.ac	2011-02-08 11:20:26.000000000 +0100
+++ rdiff-backup-fs-1.0.0/configure.ac	2011-04-27 13:58:55.455155268 +0200
@@ -46,7 +46,7 @@
 dnl checking type of system to provide proper compile and linking flags
 
 case ${host} in
-    *-*-linux-*)	AC_SUBST(CFLAGS, ["-Wall -O3 `pkg-config --cflags fuse`"])
+    *-*-linux-*|*-*-k*bsd*-*)	AC_SUBST(CFLAGS, ["-Wall -O3 `pkg-config --cflags fuse`"])
 			AC_SUBST(LDFLAGS, ["`pkg-config --cflags --libs fuse` -lz"]);;
     *-*-bsd-*)		AC_SUBST(CFLAGS, ["-Wall -O3 `pkg-config --cflags fuse`"])
 			AC_SUBST(LDFLAGS, ["`pkg-config --cflags --libs fuse` -lz"]);;
Index: rdiff-backup-fs-1.0.0/operations.c
===================================================================
--- rdiff-backup-fs-1.0.0.orig/operations.c	2011-04-27 13:59:28.443636259 +0200
+++ rdiff-backup-fs-1.0.0/operations.c	2011-04-27 14:00:35.528748767 +0200
@@ -1,4 +1,4 @@
-#include "fuse.h"
+#include "operations.h" // This header includes the fuse.h header.
 #include "headers.h"
 #include "support/gutils.h"
 #include "support/gstring.h"