Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Feb 2019 02:13:45 +0000 (UTC)
From:      =?UTF-8?Q?Romain_Tarti=c3=a8re?= <romain@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r493539 - head/devel/libnfc
Message-ID:  <201902220213.x1M2DjeA025357@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: romain
Date: Fri Feb 22 02:13:45 2019
New Revision: 493539
URL: https://svnweb.freebsd.org/changeset/ports/493539

Log:
  Fix pn532 module use over UART
  
  Some macros are only visible if __BSD_VISIBLE is defined.  When absent, libnfc
  compiles successfuly, but some features are broken.  This fix PN532 over UART.
  
  PR:		233045
  Reported by:	alex@xanderio.de

Modified:
  head/devel/libnfc/Makefile

Modified: head/devel/libnfc/Makefile
==============================================================================
--- head/devel/libnfc/Makefile	Thu Feb 21 22:31:02 2019	(r493538)
+++ head/devel/libnfc/Makefile	Fri Feb 22 02:13:45 2019	(r493539)
@@ -3,7 +3,7 @@
 
 PORTNAME=	libnfc
 PORTVERSION=	1.7.1
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	devel
 MASTER_SITES=	http://dl.bintray.com/nfc-tools/sources/ \
 		http://romain.blogreen.org/distfiles/
@@ -30,6 +30,7 @@ GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 USES=		gmake libtool pathfix pkgconfig readline tar:bzip2
 MAKE_ENV=	INSTALL_STRIP_FLAG="${STRIP}"
+CFLAGS+= 	-D__BSD_VISIBLE
 
 # Restrict to stable (even) versions, indicated by the second component.
 PORTSCOUT=	limitw:1,even



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