aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authorriggs <riggs@FreeBSD.org>2018-03-03 23:37:03 +0800
committerriggs <riggs@FreeBSD.org>2018-03-03 23:37:03 +0800
commit7433b81f31554820ae1075718335a05af91e303b (patch)
tree85d39229e2a12ed5111055aad13c492a6acf07b3 /x11-wm
parent5d39e9a34bf5868c9b30accfca12fa90c13af473 (diff)
downloadfreebsd-ports-gnome-7433b81f31554820ae1075718335a05af91e303b.tar.gz
freebsd-ports-gnome-7433b81f31554820ae1075718335a05af91e303b.tar.zst
freebsd-ports-gnome-7433b81f31554820ae1075718335a05af91e303b.zip
Fix build on 11 and later with c++ compilers by default in c++11 mode
PR: 226213 Submitted by: portmaster@bsdforge.com (maintainer) MFH: 2018Q1 (ports-secteam build fix blanket)
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/icewm/Makefile2
-rw-r--r--x11-wm/icewm/files/patch-src_wmabout.cc11
2 files changed, 12 insertions, 1 deletions
diff --git a/x11-wm/icewm/Makefile b/x11-wm/icewm/Makefile
index 43579244d3a9..6919e3ed56ec 100644
--- a/x11-wm/icewm/Makefile
+++ b/x11-wm/icewm/Makefile
@@ -3,7 +3,7 @@
PORTNAME= icewm
PORTVERSION= 1.3.8
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= x11-wm
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}/${PORTVERSION}
diff --git a/x11-wm/icewm/files/patch-src_wmabout.cc b/x11-wm/icewm/files/patch-src_wmabout.cc
new file mode 100644
index 000000000000..4f332e4cb929
--- /dev/null
+++ b/x11-wm/icewm/files/patch-src_wmabout.cc
@@ -0,0 +1,11 @@
+--- src/wmabout.cc.orig 2018-02-25 21:00:14.796410000 -0800
++++ src/wmabout.cc 2018-02-25 21:00:22.254233000 -0800
+@@ -23,7 +23,7 @@
+ AboutDlg *aboutDlg = 0;
+
+ AboutDlg::AboutDlg(): YDialog() {
+- char const *version("IceWM "VERSION" ("HOSTOS"/"HOSTCPU")");
++ char const *version("IceWM " VERSION" (" HOSTOS"/" HOSTCPU")");
+ ustring copyright =
+ ustring("Copyright ")
+ .append(_("(C)"))