Update libnfs to 5.0.2

Removes a patch that is no longer necessary

From Brad Smith
This commit is contained in:
kmos 2022-10-26 03:31:13 +00:00
parent 6e3facec34
commit 78770245bc
3 changed files with 4 additions and 16 deletions

View File

@ -1,10 +1,10 @@
COMMENT= client library for accessing NFS
DISTNAME= libnfs-5.0.1
DISTNAME= libnfs-5.0.2
CATEGORIES= devel net
MASTER_SITES= https://github.com/sahlberg/libnfs/archive/
SHARED_LIBS= nfs 2.1
SHARED_LIBS= nfs 2.2
HOMEPAGE= https://github.com/sahlberg/libnfs

View File

@ -1,2 +1,2 @@
SHA256 (libnfs-5.0.1.tar.gz) = fvRFQQtC82ubrUJmCLU8y5zMpBAeVFw4P1ZMEdtnLKg=
SIZE (libnfs-5.0.1.tar.gz) = 279550
SHA256 (libnfs-5.0.2.tar.gz) = Y35WZDsZ2p+6mPBoR3iMTa0wi3IxVqZHSAQQNdzfm9M=
SIZE (libnfs-5.0.2.tar.gz) = 281154

View File

@ -1,12 +0,0 @@
Index: lib/socket.c
--- lib/socket.c.orig
+++ lib/socket.c
@@ -166,7 +166,7 @@ set_tcp_sockopt(int sockfd, int optname, int value)
{
int level;
- #if defined(__FreeBSD__) || defined(__sun) || (defined(__APPLE__) && defined(__MACH__))
+ #ifndef SOL_TCP
struct protoent *buf;
if ((buf = getprotobyname("tcp")) != NULL)