Buildroot 2018-11 (#258)
* Update to buildroot 2018.11 * containerd update * runc update * runc docker engine * runc docker proxy * update rpi firmware * update network manager * update dhcpd * update wait on network * update rpi wifi * revert glibc
This commit is contained in:
41
buildroot/package/libnfs/0001-Fix-include-sys-time.h.patch
Normal file
41
buildroot/package/libnfs/0001-Fix-include-sys-time.h.patch
Normal file
@@ -0,0 +1,41 @@
|
||||
From 9df082012cba1dc32d83e5e8b0bdc0892f250058 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?J=C3=B6rg=20Krause?= <joerg.krause@embedded.rocks>
|
||||
Date: Mon, 5 Nov 2018 00:43:07 +0100
|
||||
Subject: [PATCH] Fix include sys/time.h
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
POSIX says `struct timeval` is defined if <sys/time.h> is included.
|
||||
|
||||
Instead of the mess that is currently done based on the system on which
|
||||
the stuff is being compiled, include it unconditionally.
|
||||
|
||||
Reported upstream:
|
||||
https://github.com/sahlberg/libnfs/issues/272
|
||||
|
||||
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
|
||||
---
|
||||
include/nfsc/libnfs.h | 5 -----
|
||||
1 file changed, 5 deletions(-)
|
||||
|
||||
diff --git a/include/nfsc/libnfs.h b/include/nfsc/libnfs.h
|
||||
index 09dcf1c..b6db58c 100755
|
||||
--- a/include/nfsc/libnfs.h
|
||||
+++ b/include/nfsc/libnfs.h
|
||||
@@ -24,12 +24,7 @@
|
||||
#define _LIBNFS_H_
|
||||
|
||||
#include <stdint.h>
|
||||
-#if defined(__ANDROID__) || defined(AROS) \
|
||||
- || ( defined(__APPLE__) && defined(__MACH__) )
|
||||
#include <sys/time.h>
|
||||
-#else
|
||||
-#include <time.h>
|
||||
-#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
--
|
||||
2.19.1
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
# Locally calculated
|
||||
sha256 7ea6cd8fa6c461d01091e584d424d28e137d23ff4b65b95d01a3fd0ef95d120e libnfs-libnfs-2.0.0.tar.gz
|
||||
sha256 2d152e3a2f31ef0fe14d4908377277f8215fb5c82ec9329d1eed081c845fc85f COPYING
|
||||
sha256 d9406ced95457941032aa11d04623b8ab71f2827a3395ebef137aec475be35b1 LICENCE-BSD.txt
|
||||
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENCE-LGPL-2.1.txt
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENCE-GPL-3.txt
|
||||
|
||||
@@ -8,8 +8,8 @@ LIBNFS_VERSION = libnfs-2.0.0
|
||||
LIBNFS_SITE = $(call github,sahlberg,libnfs,$(LIBNFS_VERSION))
|
||||
LIBNFS_INSTALL_STAGING = YES
|
||||
LIBNFS_AUTORECONF = YES
|
||||
LIBNFS_LICENSE = LGPL-2.1+
|
||||
LIBNFS_LICENSE_FILES = LICENCE-LGPL-2.1.txt
|
||||
LIBNFS_LICENSE = LGPL-2.1+ (library), BSD-2-Clause (protocol, .x files), GPL-3.0+ (examples)
|
||||
LIBNFS_LICENSE_FILES = COPYING LICENCE-BSD.txt LICENCE-LGPL-2.1.txt LICENCE-GPL-3.txt
|
||||
LIBNFS_DEPENDENCIES = host-pkgconf
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
|
||||
|
||||
Reference in New Issue
Block a user