Commit f8ec2d2e authored by prspkt's avatar prspkt Committed by Natanael Copa

main/libnfs: upgrade to 3.0.0, clarify license

The fix-includes.patch explicitly includes <sys/time.h> in order to resolve
incomplete type {a,c,m}time definitions.
parent 37caadb3
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libnfs
pkgver=2.0.0
pkgrel=1
pkgver=3.0.0
pkgrel=0
pkgdesc="Client library for accessing NFS shares"
url="https://github.com/sahlberg/libnfs"
arch="all"
options="!check" # No test suite.
license="LGPL-2.1+, BSD-2-Clause-FreeBSD, GPL-3.0+"
license="LGPL-2.1-or-later"
depends_dev=""
makedepends="$depends_dev autoconf automake m4 libtool"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/sahlberg/libnfs/archive/libnfs-$pkgver.tar.gz"
source="https://github.com/sahlberg/libnfs/archive/libnfs-$pkgver.tar.gz
fix-includes.patch"
builddir="$srcdir"/libnfs-libnfs-$pkgver
......@@ -34,4 +35,5 @@ package() {
make DESTDIR="$pkgdir" install
}
sha512sums="701dd5317b0395523be89123d473f4da5c3ff53c2e30004a922f649f0dbbd97546ee39ab34fce06278a8148c13200ca383726a0822d09846fad6e308f29e42c7 libnfs-2.0.0.tar.gz"
sha512sums="9af31f8824431e9d28267c468dafc7cfc4062b1a280ca141036bc28a2ba544c4470a67955b5e5fbcc6c175435812381013b4c5d3d3d1a175d5efc7b802ae9b3b libnfs-3.0.0.tar.gz
14219122c6decf7e0e292a2962a7dbf9b2e408b87d8e22cf1761b742834e817652f3e4919dded00f645ccf79e035e03712e7072ec1cb23bfd24ad012e9183824 fix-includes.patch"
--- a/include/nfsc/libnfs.h
+++ b/include/nfsc/libnfs.h
@@ -24,6 +24,7 @@
#define _LIBNFS_H_
#include <stdint.h>
+#include <sys/time.h>
#if defined(__ANDROID__) || defined(AROS) \
|| ( defined(__APPLE__) && defined(__MACH__) )
#include <sys/time.h>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment