diff options
Diffstat (limited to 'meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/010-realpath.patch')
-rw-r--r-- | meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/010-realpath.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/010-realpath.patch b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/010-realpath.patch deleted file mode 100644 index 2e53b37e46..0000000000 --- a/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/010-realpath.patch +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | Upstream-Status: Inappropriate [other] | ||
2 | Upstream is not making further releases of this software. | ||
3 | |||
4 | Signed-off-by: Scott Garman <scott.a.garman@intel.com> | ||
5 | |||
6 | # Patch origin: nfs-server source RPM from openSUSE 10.3 | ||
7 | |||
8 | --- nfs-server/configure.in | ||
9 | +++ nfs-server/configure.in | ||
10 | @@ -81,7 +81,7 @@ | ||
11 | AC_CHECK_LIB(rpc, main) | ||
12 | AC_CHECK_LIB(crypt, main) | ||
13 | AC_CHECK_LIB(nys, main) | ||
14 | -AC_HAVE_FUNCS(getcwd seteuid setreuid getdtablesize setgroups lchown setsid setfsuid setfsgid innetgr quotactl authdes_getucred) | ||
15 | +AC_HAVE_FUNCS(getcwd seteuid setreuid getdtablesize setgroups lchown setsid setfsuid setfsgid innetgr quotactl authdes_getucred realpath) | ||
16 | AC_AUTHDES_GETUCRED | ||
17 | AC_BROKEN_SETFSUID | ||
18 | AC_MOUNTLIST | ||
19 | --- nfs-server/realpath.c | ||
20 | +++ nfs-server/realpath.c | ||
21 | @@ -53,6 +53,8 @@ | ||
22 | |||
23 | #define MAX_READLINKS 32 | ||
24 | |||
25 | +#ifndef HAVE_REALPATH | ||
26 | + | ||
27 | #ifdef __STDC__ | ||
28 | char *realpath(const char *path, char resolved_path []) | ||
29 | #else | ||
30 | @@ -173,3 +175,5 @@ | ||
31 | strcpy (resolved_path, got_path); | ||
32 | return resolved_path; | ||
33 | } | ||
34 | + | ||
35 | +#endif /* HAVE_REALPATH */ | ||