svn commit: r430520 - in head/devel/fam: . files

Jan Beich jbeich at FreeBSD.org
Tue Jan 3 21:04:20 UTC 2017


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;


More information about the svn-ports-all mailing list