Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Aug 2020 20:48:57 +0000 (UTC)
From:      Alan Somers <asomers@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r544646 - in head/net/libnfs: . files
Message-ID:  <202008102048.07AKmv2s074982@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: asomers (src committer)
Date: Mon Aug 10 20:48:57 2020
New Revision: 544646
URL: https://svnweb.freebsd.org/changeset/ports/544646

Log:
  net/libnfs: fix build error regarding "redefinition of typedef"
  
  libnfs was redefining u_int, causing programs using libnfs to get
  "error: redefinition of typedef 'u_int' is a C11 feature" errors.
  
  Upstream PR: https://github.com/sahlberg/libnfs/pull/326
  
  PR:		248296
  Approved by:	Shannon Noe <snoe925@gmail.com> (maintainer)

Added:
  head/net/libnfs/files/
  head/net/libnfs/files/patch-include_nfsc_libnfs-zdr.h   (contents, props changed)
Modified:
  head/net/libnfs/Makefile

Modified: head/net/libnfs/Makefile
==============================================================================
--- head/net/libnfs/Makefile	Mon Aug 10 20:21:30 2020	(r544645)
+++ head/net/libnfs/Makefile	Mon Aug 10 20:48:57 2020	(r544646)
@@ -3,6 +3,7 @@
 
 PORTNAME=	libnfs
 PORTVERSION=	4.0.0
+PORTREVISION=	1
 DISTVERSIONPREFIX=	${PORTNAME}-
 CATEGORIES=	net
 

Added: head/net/libnfs/files/patch-include_nfsc_libnfs-zdr.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/libnfs/files/patch-include_nfsc_libnfs-zdr.h	Mon Aug 10 20:48:57 2020	(r544646)
@@ -0,0 +1,10 @@
+--- include/nfsc/libnfs-zdr.h.orig	2020-07-26 21:16:08 UTC
++++ include/nfsc/libnfs-zdr.h
+@@ -92,7 +92,6 @@ struct ZDR {
+ typedef struct ZDR ZDR;
+ 
+ 
+-typedef uint32_t u_int;
+ typedef uint32_t enum_t;
+ typedef uint32_t bool_t;
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008102048.07AKmv2s074982>