summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2004-10-07 18:57:25 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2004-10-07 18:57:25 +0000
commitafeb7b1dec86d09f1d8af14748b4bc2dd557bc32 (patch)
treea77a716c204c765cd46b7c5da86208cf956e5ab7
parentDon't allow GCC to optimize away -lm test, and thus unbreak. (diff)
Unbreak the build with recent GCC.
Reported by: kris Approved by: portmgr (krion), fjoe (mentor, implicit)
Notes
Notes: svn path=/head/; revision=118580
-rw-r--r--comms/hamfax/Makefile8
-rw-r--r--comms/hamfax/files/patch-src+Config.hpp11
2 files changed, 12 insertions, 7 deletions
diff --git a/comms/hamfax/Makefile b/comms/hamfax/Makefile
index ec415f8910d9..34287f87543b 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 000000000000..eb9ec27b9d8b
--- /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);