aboutsummaryrefslogtreecommitdiffstats
path: root/devel/fam
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2017-01-04 05:04:19 +0800
committerjbeich <jbeich@FreeBSD.org>2017-01-04 05:04:19 +0800
commitfed265f471ff633bd1316b6cc6f2144695169909 (patch)
tree1c0f253af0c0f5ff9bae6cda6ecd17e81239c39b /devel/fam
parent7e9b71a7d5559c528a714f51b1958255c02a2c18 (diff)
downloadfreebsd-ports-gnome-fed265f471ff633bd1316b6cc6f2144695169909.tar.gz
freebsd-ports-gnome-fed265f471ff633bd1316b6cc6f2144695169909.tar.zst
freebsd-ports-gnome-fed265f471ff633bd1316b6cc6f2144695169909.zip
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
Diffstat (limited to 'devel/fam')
-rw-r--r--devel/fam/Makefile2
-rw-r--r--devel/fam/files/patch-fam_NFSFileSystem.c++11
2 files changed, 12 insertions, 1 deletions
diff --git a/devel/fam/Makefile b/devel/fam/Makefile
index 1cd60f74a390..a74011dcbfb7 100644
--- a/devel/fam/Makefile
+++ b/devel/fam/Makefile
@@ -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}
diff --git a/devel/fam/files/patch-fam_NFSFileSystem.c++ b/devel/fam/files/patch-fam_NFSFileSystem.c++
new file mode 100644
index 000000000000..a500b3fecfbc
--- /dev/null
+++ b/devel/fam/files/patch-fam_NFSFileSystem.c++
@@ -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;