Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Sep 2019 11:30:18 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r512098 - head/devel/py-uhid-freebsd
Message-ID:  <201909151130.x8FBUIVr019082@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Sun Sep 15 11:30:17 2019
New Revision: 512098
URL: https://svnweb.freebsd.org/changeset/ports/512098

Log:
  devel/py-uhid-freebsd: fix build on GCC architectures
  
  Use C++11 compiler:
  uhid_freebsd.cpp:43: error: ISO C++ forbids declaration of 'devRegex' with no type
  uhid_freebsd.cpp:43: error: 'regex' is not a member of 'std'
  uhid_freebsd.cpp:44: error: 'cmatch' is not a member of 'std'
  uhid_freebsd.cpp:44: error: expected `;' before 'cmDev'
  
  Approved by:	mentors (implicit approval)

Modified:
  head/devel/py-uhid-freebsd/Makefile

Modified: head/devel/py-uhid-freebsd/Makefile
==============================================================================
--- head/devel/py-uhid-freebsd/Makefile	Sun Sep 15 10:51:13 2019	(r512097)
+++ head/devel/py-uhid-freebsd/Makefile	Sun Sep 15 11:30:17 2019	(r512098)
@@ -12,7 +12,7 @@ COMMENT=		Python library to retrieve information on uh
 LICENSE=		BSD2CLAUSE
 LICENSE_FILE=		${WRKSRC}/LICENSE
 
-USES=			python
+USES=			compiler:c++11-lang python
 USE_PYTHON=		autoplist distutils
 
 .include <bsd.port.mk>



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