summaryrefslogtreecommitdiff
path: root/comms/hamfax/files/patch-src+Config.hpp
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 /comms/hamfax/files/patch-src+Config.hpp
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
Diffstat (limited to 'comms/hamfax/files/patch-src+Config.hpp')
-rw-r--r--comms/hamfax/files/patch-src+Config.hpp11
1 files changed, 11 insertions, 0 deletions
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);