diff options
author | danfe <danfe@FreeBSD.org> | 2004-10-07 18:57:25 +0000 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2004-10-07 18:57:25 +0000 |
commit | f2eefdb9491cf9ae5be84071ccebd1f4322c32c0 (patch) | |
tree | ba6b54a3ecd192d202d210c09b70ff3f9269311b | |
parent | 7d5bf847722e80ec4caef7cb31138bb286c8da15 (diff) | |
download | FreeBSD-ports-f2eefdb9491cf9ae5be84071ccebd1f4322c32c0.zip FreeBSD-ports-f2eefdb9491cf9ae5be84071ccebd1f4322c32c0.tar.gz |
Unbreak the build with recent GCC.
Reported by: kris
Approved by: portmgr (krion), fjoe (mentor, implicit)
-rw-r--r-- | comms/hamfax/Makefile | 8 | ||||
-rw-r--r-- | comms/hamfax/files/patch-src+Config.hpp | 11 |
2 files changed, 12 insertions, 7 deletions
diff --git a/comms/hamfax/Makefile b/comms/hamfax/Makefile index ec415f8..34287f8 100644 --- a/comms/hamfax/Makefile +++ b/comms/hamfax/Makefile @@ -26,10 +26,4 @@ CONFIGURE_ARGS= --with-Qt-dir=${X11BASE} CXX="g++ ${PTHREAD_CFLAGS}" \ USE_GMAKE= yes USE_BZIP2= yes -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 502126 -BROKEN= "Does not compile on FreeBSD >= 5.x" -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/comms/hamfax/files/patch-src+Config.hpp b/comms/hamfax/files/patch-src+Config.hpp new file mode 100644 index 0000000..eb9ec27 --- /dev/null +++ b/comms/hamfax/files/patch-src+Config.hpp @@ -0,0 +1,11 @@ +--- src/Config.hpp.orig Fri Feb 22 19:18:07 2002 ++++ src/Config.hpp Thu Oct 7 21:07:16 2004 +@@ -39,7 +39,7 @@ + static Config& instance(); + private: + typedef std::auto_ptr<Config> ConfigPtr; +- friend class ConfigPtr; ++ friend class std::auto_ptr<Config>; + Config(); + ~Config() {}; + void setDefault(const QString& key, const char* value); |