aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-08-24 03:15:41 +0800
committerkrion <krion@FreeBSD.org>2004-08-24 03:15:41 +0800
commit283852c6eac79d42e4422c2fd9e8b93029f3e3b0 (patch)
treef83b0788e6cec9bc676d71100b1080ba9a36b670 /print
parent84f77bf975efd2c997f5dd02e2b1a3d5fc5e8fd3 (diff)
downloadfreebsd-ports-gnome-283852c6eac79d42e4422c2fd9e8b93029f3e3b0.tar.gz
freebsd-ports-gnome-283852c6eac79d42e4422c2fd9e8b93029f3e3b0.tar.zst
freebsd-ports-gnome-283852c6eac79d42e4422c2fd9e8b93029f3e3b0.zip
Fix build with gcc-3.4
PR: ports/70872 Submitted by: Ports Fury
Diffstat (limited to 'print')
-rw-r--r--print/typetools/files/patch-include::lcdf::hashmap.hh11
1 files changed, 11 insertions, 0 deletions
diff --git a/print/typetools/files/patch-include::lcdf::hashmap.hh b/print/typetools/files/patch-include::lcdf::hashmap.hh
new file mode 100644
index 000000000000..826f4bc5a9e4
--- /dev/null
+++ b/print/typetools/files/patch-include::lcdf::hashmap.hh
@@ -0,0 +1,11 @@
+--- include/lcdf/hashmap.hh.orig Fri Aug 15 08:11:23 2003
++++ include/lcdf/hashmap.hh Sun Aug 22 21:10:02 2004
+@@ -109,6 +109,8 @@
+ V &value() const { return _hm->_e[_pos].value; }
+
+ private:
++ const HashMap<K, V> *_hm;
++ int _pos;
+ _HashMap_iterator(const HashMap<K, V> *hm, int pos) : _HashMap_const_iterator<K, V>(hm, pos) { }
+ friend class HashMap<K, V>;
+ };