aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bareos/bareos-path-mounted.patch
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-05-18 16:28:14 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-05-18 16:28:20 +0000
commit3f7f468646b60bd49dc0d33533086d15a2348692 (patch)
treec332e7b8850e6247419a49551663ed7b7f064489 /testing/bareos/bareos-path-mounted.patch
parent53e00664fe3d77ee856eacd08f91836319a4745f (diff)
downloadaports-3f7f468646b60bd49dc0d33533086d15a2348692.tar.bz2
aports-3f7f468646b60bd49dc0d33533086d15a2348692.tar.xz
testing/bareos: new aport
Diffstat (limited to 'testing/bareos/bareos-path-mounted.patch')
-rw-r--r--testing/bareos/bareos-path-mounted.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/bareos/bareos-path-mounted.patch b/testing/bareos/bareos-path-mounted.patch
new file mode 100644
index 0000000000..8fb56723f6
--- /dev/null
+++ b/testing/bareos/bareos-path-mounted.patch
@@ -0,0 +1,15 @@
+diff --git a/src/lib/mntent_cache.c b/src/lib/mntent_cache.c
+index 69cc9f9..b14c8a1 100644
+--- a/src/lib/mntent_cache.c
++++ b/src/lib/mntent_cache.c
+@@ -54,6 +54,10 @@
+ * Marco van Wieringen, August 2009
+ */
+
++#ifndef _PATH_MOUNTED
++# define _PATH_MOUNTED "/proc/mounts"
++#endif
++
+ #include "bareos.h"
+ #include "mntent_cache.h"
+