summaryrefslogtreecommitdiff
path: root/devel/ixlib/files/patch-src::ixlib_base.hh
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2003-11-30 18:11:13 +0000
committerPav Lucistnik <pav@FreeBSD.org>2003-11-30 18:11:13 +0000
commit4fa5a1eaabc4f8f7ac6dfcfec09d071945e0ff02 (patch)
tree20a21ff4d38d8ed1447858e0143c6c838e98b59c /devel/ixlib/files/patch-src::ixlib_base.hh
parentCorrect the OSVERSION check for the libgmp depedency; libgmp was removed (diff)
- Unbreak on 5.x
- Respect CFLAGS - Silence Portlint PR: ports/59770 Submitted by: Sergey Matveychuk <sem@ciam.ru> Approved by: marcus (portmgr) Approved by: adamw (mentor)
Notes
Notes: svn path=/head/; revision=94828
Diffstat (limited to 'devel/ixlib/files/patch-src::ixlib_base.hh')
-rw-r--r--devel/ixlib/files/patch-src::ixlib_base.hh19
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/ixlib/files/patch-src::ixlib_base.hh b/devel/ixlib/files/patch-src::ixlib_base.hh
new file mode 100644
index 000000000000..5540fd012143
--- /dev/null
+++ b/devel/ixlib/files/patch-src::ixlib_base.hh
@@ -0,0 +1,19 @@
+--- src/ixlib_base.hh.orig Fri Nov 28 11:48:47 2003
++++ src/ixlib_base.hh Fri Nov 28 12:45:22 2003
+@@ -44,11 +44,15 @@
+
+ /* STL Helper macro -----------------------------------------------------------
+ */
++#define FOREACH_T(VAR,LIST,LISTTYPE) \
++ for (typename LISTTYPE::iterator VAR = (LIST).begin(),last = (LIST).end();VAR != last;VAR++)
++#define FOREACH_CONST_T(VAR,LIST,LISTTYPE) \
++ for (typename LISTTYPE::const_iterator VAR = (LIST).begin(),last = (LIST).end();VAR != last;VAR++)
++
+ #define FOREACH(VAR,LIST,LISTTYPE) \
+ for (LISTTYPE::iterator VAR = (LIST).begin(),last = (LIST).end();VAR != last;VAR++)
+ #define FOREACH_CONST(VAR,LIST,LISTTYPE) \
+ for (LISTTYPE::const_iterator VAR = (LIST).begin(),last = (LIST).end();VAR != last;VAR++)
+-
+
+
+