diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-12-04 03:54:39 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-12-04 03:54:39 +0000 |
commit | 157defd6127de564e269aa20fa583eb380953405 (patch) | |
tree | 9be1163273ea5d42a791607232c5f48c28e830b5 /net-fs/libnfs/files | |
parent | Version bump; update oui and added iab. (diff) | |
download | gentoo-2-157defd6127de564e269aa20fa583eb380953405.tar.gz gentoo-2-157defd6127de564e269aa20fa583eb380953405.tar.bz2 gentoo-2-157defd6127de564e269aa20fa583eb380953405.zip |
Version bump. Disable libtirpc as upstream has deprecated it #442588 by Torsten Kurbad.
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Diffstat (limited to 'net-fs/libnfs/files')
-rw-r--r-- | net-fs/libnfs/files/libnfs-1.5.0-headers.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/net-fs/libnfs/files/libnfs-1.5.0-headers.patch b/net-fs/libnfs/files/libnfs-1.5.0-headers.patch new file mode 100644 index 000000000000..68ec6d3c71c6 --- /dev/null +++ b/net-fs/libnfs/files/libnfs-1.5.0-headers.patch @@ -0,0 +1,42 @@ +From 32bd77c82fe12fbfe0a1d50f64fa1959cf699bea Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@gentoo.org> +Date: Mon, 3 Dec 2012 22:30:04 -0500 +Subject: [PATCH] fix implicit decl warnings + +Include the proper headers to fix these warnings: +libnfs-sync.c:1529:3: warning: implicit declaration of function 'gettimeofday' [-Wimplicit-function-declaration] +libnfs-zdr.c:506:2: warning: implicit declaration of function 'getuid' [-Wimplicit-function-declaration] + +Signed-off-by: Mike Frysinger <vapier@gentoo.org> +--- + lib/libnfs-sync.c | 1 + + lib/libnfs-zdr.c | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/lib/libnfs-sync.c b/lib/libnfs-sync.c +index fd6f796..1fbeb8f 100644 +--- a/lib/libnfs-sync.c ++++ b/lib/libnfs-sync.c +@@ -45,6 +45,7 @@ + #include <stdlib.h> + #include <string.h> + #include <assert.h> ++#include <sys/time.h> + #include <sys/types.h> + #include <sys/stat.h> + #include <fcntl.h> +diff --git a/lib/libnfs-zdr.c b/lib/libnfs-zdr.c +index a243d1d..3d5fd30 100644 +--- a/lib/libnfs-zdr.c ++++ b/lib/libnfs-zdr.c +@@ -29,6 +29,7 @@ + #include <stdlib.h> + #include <string.h> + #include <time.h> ++#include <unistd.h> + #include "libnfs-zdr.h" + + struct opaque_auth _null_auth; +-- +1.7.12.4 + |