Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jan 2017 21:04:19 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r430520 - in head/devel/fam: . files
Message-ID:  <201701032104.v03L4J9C097151@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Tue Jan  3 21:04:19 2017
New Revision: 430520
URL: https://svnweb.freebsd.org/changeset/ports/430520

Log:
  devel/fam: unbreak with libc++ 3.9
  
  NFSFileSystem.c++:105:12: error: assigning to 'char *' from incompatible type 'const char *'
      if ((p = strstr(opt, "actimeo")))
             ^ ~~~~~~~~~~~~~~~~~~~~~~
  NFSFileSystem.c++:112:12: error: assigning to 'char *' from incompatible type 'const char *'
      if ((p = strstr(opt, "acregmin"))) {
             ^ ~~~~~~~~~~~~~~~~~~~~~~~
  NFSFileSystem.c++:118:12: error: assigning to 'char *' from incompatible type 'const char *'
      if ((p = strstr(opt, "acregmax"))) {
             ^ ~~~~~~~~~~~~~~~~~~~~~~~
  
  PR:		212343
  Regressed by:	https://github.com/llvm-mirror/libcxx/commit/b4aa97130b8b

Added:
  head/devel/fam/files/patch-fam_NFSFileSystem.c++   (contents, props changed)
Modified:
  head/devel/fam/Makefile   (contents, props changed)

Modified: head/devel/fam/Makefile
==============================================================================
--- head/devel/fam/Makefile	Tue Jan  3 20:38:47 2017	(r430519)
+++ head/devel/fam/Makefile	Tue Jan  3 21:04:19 2017	(r430520)
@@ -3,7 +3,7 @@
 
 PORTNAME=	fam
 PORTVERSION=	2.6.10
-PORTREVISION=	8
+PORTREVISION=	9
 CATEGORIES=	devel
 MASTER_SITES=	ftp://oss.sgi.com/projects/fam/download/
 DIST_SUBDIR=	${PORTNAME}

Added: head/devel/fam/files/patch-fam_NFSFileSystem.c++
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/fam/files/patch-fam_NFSFileSystem.c++	Tue Jan  3 21:04:19 2017	(r430520)
@@ -0,0 +1,11 @@
+--- fam/NFSFileSystem.c++.orig	2003-04-15 04:21:38 UTC
++++ fam/NFSFileSystem.c++
+@@ -97,7 +97,7 @@ NFSFileSystem::NFSFileSystem(const mnten
+ 
+     attr_cache_timeout = ACREGMAX;
+ 
+-    char * p;
++    const char * p;
+         
+     if (strstr(opt, "noac")) {
+         f_noac = true;



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