diff options
author | naddy <naddy@FreeBSD.org> | 2002-11-04 08:46:58 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2002-11-04 08:46:58 +0800 |
commit | 765bef5c8acd2a2f76474fc543cb779ea377e476 (patch) | |
tree | 503ec118c1ebe4870943a68e525b685165390614 | |
parent | 4d0a85d97d47fcffbaab811ab7fff16d0f6b08b9 (diff) | |
download | freebsd-ports-gnome-765bef5c8acd2a2f76474fc543cb779ea377e476.tar.gz freebsd-ports-gnome-765bef5c8acd2a2f76474fc543cb779ea377e476.tar.zst freebsd-ports-gnome-765bef5c8acd2a2f76474fc543cb779ea377e476.zip |
* Fix compilation on -CURRENT (GCC3).
PR: 44856
Submitted by: Volker Stolz <vs@foldr.org>
* Actually respect CXX.
-rw-r--r-- | x11-wm/aewm++/Makefile | 1 | ||||
-rw-r--r-- | x11-wm/aewm++/files/patch-aewm.hh | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/x11-wm/aewm++/Makefile b/x11-wm/aewm++/Makefile index 5050752afff3..991238400c03 100644 --- a/x11-wm/aewm++/Makefile +++ b/x11-wm/aewm++/Makefile @@ -17,6 +17,7 @@ MAINTAINER= ports@FreeBSD.org USE_REINPLACE= yes USE_X_PREFIX= yes USE_GMAKE= yes +MAKE_ENV= CXX="${CXX}" CXXFLAGS+= -I${X11BASE}/include LIBS+= -L${X11BASE}/lib diff --git a/x11-wm/aewm++/files/patch-aewm.hh b/x11-wm/aewm++/files/patch-aewm.hh new file mode 100644 index 000000000000..8cab7546cbfc --- /dev/null +++ b/x11-wm/aewm++/files/patch-aewm.hh @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- aewm.hh.orig Mon Nov 4 01:32:18 2002 ++++ aewm.hh Mon Nov 4 01:32:35 2002 +@@ -24,6 +24,8 @@ + #ifndef _AEWM_HH_ + #define _AEWM_HH_ + ++using namespace std; ++ + #include <stdio.h> + #include <unistd.h> + #include <sys/wait.h> |