Add include_paths.h_for__PATH_MOUNTED.patch

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/cifs-utils?expand=0&rev=130
This commit is contained in:
Lars Müller 2015-07-06 14:29:58 +00:00 committed by Git OBS Bridge
parent dfc5d528d3
commit 180dd299cc
3 changed files with 27 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jul 6 14:23:59 UTC 2015 - lmuelle@suse.com
- Add include_paths.h_for__PATH_MOUNTED.patch
-------------------------------------------------------------------
Wed Dec 3 13:37:48 UTC 2014 - bwiedemann@suse.com

View File

@ -28,6 +28,7 @@ Source5: http://ftp.samba.org/pub/linux-cifs/%{name}/%{name}-%{version}.t
# http://ftp.samba.org/pub/linux-cifs/cifs-utils/cifs-utils-pubkey_70F3B981.asc
Source6: cifs-utils.keyring
Source100: README.cifstab.migration
Patch: include_paths.h_for__PATH_MOUNTED.patch
%if "%{_vendor}" == "suse"
%define NET_CFGDIR network
%else
@ -111,6 +112,7 @@ provide these credentials to the kernel automatically at login.
%prep
%setup -q
%patch -p1
cp -a ${RPM_SOURCE_DIR}/README.cifstab.migration .
%build

View File

@ -0,0 +1,20 @@
commit 6603cef0f06c450196a1bca06bb143d8fcda5651
Author: Felix Janda <felix.janda@posteo.de>
Date: Fri Dec 5 23:19:29 2014 +0100
mtab.c: include <paths.h> for _PATH_MOUNTED
Signed-off-by: Felix Janda <felix.janda@posteo.de>
diff --git a/mtab.c b/mtab.c
index 7b365b3..a662a3c 100644
--- a/mtab.c
+++ b/mtab.c
@@ -38,6 +38,7 @@
#include <mntent.h>
#include <stdlib.h>
#include <signal.h>
+#include <paths.h>
#include "mount.h"
#include "config.h"