aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authornox <nox@FreeBSD.org>2013-09-14 03:27:05 +0800
committernox <nox@FreeBSD.org>2013-09-14 03:27:05 +0800
commit720c6d190889176af4283698ca7c65c04a75ac3a (patch)
treef651cc56ab978472d869def137eb860f09576155 /devel
parentadac25e9ba985082660667e2abd11059b651e7b8 (diff)
downloadfreebsd-ports-graphics-720c6d190889176af4283698ca7c65c04a75ac3a.tar.gz
freebsd-ports-graphics-720c6d190889176af4283698ca7c65c04a75ac3a.tar.zst
freebsd-ports-graphics-720c6d190889176af4283698ca7c65c04a75ac3a.zip
- Fix build with clang+libc++. [1]
- Convert Makefile header. Reported by: beefy2 via pkg-fallout [1]
Diffstat (limited to 'devel')
-rw-r--r--devel/cxxtools/Makefile6
-rw-r--r--devel/cxxtools/files/patch-src-directoryimpl.cpp10
2 files changed, 11 insertions, 5 deletions
diff --git a/devel/cxxtools/Makefile b/devel/cxxtools/Makefile
index 6d24b1fdc6a..8366c7fcf0e 100644
--- a/devel/cxxtools/Makefile
+++ b/devel/cxxtools/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: cxxtools
-# Date created: Wed Apr 14 18:11:42 CEST 2010
-# Whom: Juergen Lock <nox@freebsd.org>
-#
+# Created by: Juergen Lock <nox@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= cxxtools
PORTVERSION= 2.1.1
diff --git a/devel/cxxtools/files/patch-src-directoryimpl.cpp b/devel/cxxtools/files/patch-src-directoryimpl.cpp
new file mode 100644
index 00000000000..e5bc4476619
--- /dev/null
+++ b/devel/cxxtools/files/patch-src-directoryimpl.cpp
@@ -0,0 +1,10 @@
+--- a/src/directoryimpl.cpp
++++ b/src/directoryimpl.cpp
+@@ -27,6 +27,7 @@
+ */
+ #include "directoryimpl.h"
+ #include "cxxtools/systemerror.h"
++#include <sys/param.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
+ #include <dirent.h>