aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-10-19 19:28:11 +0800
committerkrion <krion@FreeBSD.org>2003-10-19 19:28:11 +0800
commit310de947c0ba5fe44274c88116f14fa98bf4dc82 (patch)
treeb0feb8cccd86c804167f8bb64f899e967b53bd8f /x11-wm
parentd74cab275bfd7b017145555d5e952249117f77f5 (diff)
downloadfreebsd-ports-gnome-310de947c0ba5fe44274c88116f14fa98bf4dc82.tar.gz
freebsd-ports-gnome-310de947c0ba5fe44274c88116f14fa98bf4dc82.tar.zst
freebsd-ports-gnome-310de947c0ba5fe44274c88116f14fa98bf4dc82.zip
- Fix build on -current
PR: 58235 Submitted by: maintainer
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/blackbox/Makefile1
-rw-r--r--x11-wm/blackbox/files/patch-src::Window.cc10
2 files changed, 11 insertions, 0 deletions
diff --git a/x11-wm/blackbox/Makefile b/x11-wm/blackbox/Makefile
index c592ae897c78..a62ccf5a846d 100644
--- a/x11-wm/blackbox/Makefile
+++ b/x11-wm/blackbox/Makefile
@@ -23,6 +23,7 @@ GNU_CONFIGURE= yes
USE_REINPLACE= yes
pre-patch:
+ ${REINPLACE_CMD} -e 's#-pedantic##' ${WRKSRC}/configure
${REINPLACE_CMD} -e 's#nls src util#nls src#' ${WRKSRC}/Makefile.in
${REINPLACE_CMD} -E 's/^SUBDIRS/#SUBDIRS/' ${WRKSRC}/doc/Makefile.in
${REINPLACE_CMD} -e 's# bsetroot.1 bsetbg.1##' ${WRKSRC}/doc/Makefile.in
diff --git a/x11-wm/blackbox/files/patch-src::Window.cc b/x11-wm/blackbox/files/patch-src::Window.cc
new file mode 100644
index 000000000000..ec6c3afd4e04
--- /dev/null
+++ b/x11-wm/blackbox/files/patch-src::Window.cc
@@ -0,0 +1,10 @@
+--- src/Window.cc.orig Wed Aug 13 12:40:02 2003
++++ src/Window.cc Wed Aug 13 12:41:03 2003
+@@ -44,6 +44,8 @@
+ #endif // HAVE_STDLIB_H
+ }
++#include <cassert>
++
+ #include "i18n.hh"
+ #include "blackbox.hh"
+ #include "GCCache.hh"