aboutsummaryrefslogtreecommitdiffstats
path: root/main/bacula/bacula-7.4.0-path-mounted.patch
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-05-17 09:49:57 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-05-17 09:50:02 +0000
commit5eef1ee2b6b7daba33b8a073d713fc9984023511 (patch)
tree0e0f2b34ef16188e861457ee1d3ca37aa756d6d2 /main/bacula/bacula-7.4.0-path-mounted.patch
parent12a71a062a3ac848d457a0acca4347fb0eba7c88 (diff)
downloadaports-5eef1ee2b6b7daba33b8a073d713fc9984023511.tar.bz2
aports-5eef1ee2b6b7daba33b8a073d713fc9984023511.tar.xz
main/bacula: upgrade to 7.4.0
Diffstat (limited to 'main/bacula/bacula-7.4.0-path-mounted.patch')
-rw-r--r--main/bacula/bacula-7.4.0-path-mounted.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/main/bacula/bacula-7.4.0-path-mounted.patch b/main/bacula/bacula-7.4.0-path-mounted.patch
new file mode 100644
index 0000000000..659cd502b4
--- /dev/null
+++ b/main/bacula/bacula-7.4.0-path-mounted.patch
@@ -0,0 +1,15 @@
+diff --git a/src/findlib/fstype.c b/src/findlib/fstype.c
+index ab3b206..21f5754 100644
+--- a/src/findlib/fstype.c
++++ b/src/findlib/fstype.c
+@@ -46,6 +46,10 @@
+
+ #define is_rootfs(x) bstrcmp("rootfs", x)
+
++#ifndef _PATH_MOUNTED
++#define _PATH_MOUNTED "/proc/mounts"
++#endif /* _PATH_MOUNTED */
++
+ #if defined(HAVE_GETMNTINFO) || defined(HAVE_GETMNTENT)
+ static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
+ #endif