aboutsummaryrefslogtreecommitdiff
path: root/devel/omniNotify
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-09-12 17:44:59 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-09-12 17:44:59 +0000
commit276f6257d405061578189f52bb452e638cd60267 (patch)
tree4b5338f64d7590897e2081b5470b92618b483dec /devel/omniNotify
parent7d5ac6f4778c7c5ba7485613c9acd0afa034c1ae (diff)
downloadports-276f6257d405061578189f52bb452e638cd60267.tar.gz
ports-276f6257d405061578189f52bb452e638cd60267.zip
Fix build with libc++
Notes
Notes: svn path=/head/; revision=327098
Diffstat (limited to 'devel/omniNotify')
-rw-r--r--devel/omniNotify/files/patch-examples__demo_add_filter.cc13
-rw-r--r--devel/omniNotify/files/patch-examples__demo_offer_change.cc13
-rw-r--r--devel/omniNotify/files/patch-examples__demo_subscription_change.cc13
-rw-r--r--devel/omniNotify/files/patch-examples__legacy_clients.cc16
-rw-r--r--devel/omniNotify/files/patch-examples__ndadmin.cc13
-rw-r--r--devel/omniNotify/files/patch-examples__parse_cmd_line.h12
-rw-r--r--devel/omniNotify/files/patch-examples__sample_clients.cc17
-rw-r--r--devel/omniNotify/files/patch-examples__sample_functions.cc17
-rw-r--r--devel/omniNotify/files/patch-examples__some_notify_clients.cc12
-rw-r--r--devel/omniNotify/files/patch-include__ModFlexLexer.h12
-rw-r--r--devel/omniNotify/files/patch-lib__RDIParser_l.cc12
11 files changed, 150 insertions, 0 deletions
diff --git a/devel/omniNotify/files/patch-examples__demo_add_filter.cc b/devel/omniNotify/files/patch-examples__demo_add_filter.cc
new file mode 100644
index 000000000000..93863c836c50
--- /dev/null
+++ b/devel/omniNotify/files/patch-examples__demo_add_filter.cc
@@ -0,0 +1,13 @@
+--- ./examples/demo_add_filter.cc.orig 2003-10-12 20:51:18.000000000 +0200
++++ ./examples/demo_add_filter.cc 2013-09-12 19:42:48.457065594 +0200
+@@ -1,7 +1,9 @@
+ #include <stdlib.h>
+-#include <iostream.h>
++#include <iostream>
+ #include <stdio.h>
+
++using namespace std;
++
+ #include "CosNotifyShorthands.h"
+ #include "orb_init_name.h"
+ #include "get_channel.h"
diff --git a/devel/omniNotify/files/patch-examples__demo_offer_change.cc b/devel/omniNotify/files/patch-examples__demo_offer_change.cc
new file mode 100644
index 000000000000..14dcdde07b36
--- /dev/null
+++ b/devel/omniNotify/files/patch-examples__demo_offer_change.cc
@@ -0,0 +1,13 @@
+--- ./examples/demo_offer_change.cc.orig 2003-10-12 20:51:18.000000000 +0200
++++ ./examples/demo_offer_change.cc 2013-09-12 19:41:00.165064073 +0200
+@@ -1,7 +1,9 @@
+ #include <stdlib.h>
+-#include <iostream.h>
++#include <iostream>
+ #include <stdio.h>
+
++using namespace std;
++
+ #include "CosNotifyShorthands.h"
+ #include "orb_init_name.h"
+ #include "get_channel.h"
diff --git a/devel/omniNotify/files/patch-examples__demo_subscription_change.cc b/devel/omniNotify/files/patch-examples__demo_subscription_change.cc
new file mode 100644
index 000000000000..6611d4b792e5
--- /dev/null
+++ b/devel/omniNotify/files/patch-examples__demo_subscription_change.cc
@@ -0,0 +1,13 @@
+--- ./examples/demo_subscription_change.cc.orig 2003-10-12 20:51:18.000000000 +0200
++++ ./examples/demo_subscription_change.cc 2013-09-12 19:38:40.695070758 +0200
+@@ -1,7 +1,9 @@
+ #include <stdlib.h>
+-#include <iostream.h>
++#include <iostream>
+ #include <stdio.h>
+
++using namespace std;
++
+ #include "CosNotifyShorthands.h"
+ #include "orb_init_name.h"
+ #include "get_channel.h"
diff --git a/devel/omniNotify/files/patch-examples__legacy_clients.cc b/devel/omniNotify/files/patch-examples__legacy_clients.cc
new file mode 100644
index 000000000000..aa621c9dc283
--- /dev/null
+++ b/devel/omniNotify/files/patch-examples__legacy_clients.cc
@@ -0,0 +1,16 @@
+--- ./examples/legacy_clients.cc.orig 2003-10-23 06:39:11.000000000 +0200
++++ ./examples/legacy_clients.cc 2013-09-12 19:42:16.061068521 +0200
+@@ -4,8 +4,11 @@
+ // See legacy_clients.h
+ // -------------------------------------------------------------- //
+
+-#include <iostream.h>
+-#include <iomanip.h>
++#include <iostream>
++#include <iomanip>
++
++using namespace std;
++
+ #include "thread_wrappers.h"
+
+ #include "CosNotifyShorthands.h"
diff --git a/devel/omniNotify/files/patch-examples__ndadmin.cc b/devel/omniNotify/files/patch-examples__ndadmin.cc
new file mode 100644
index 000000000000..e485a28b39e9
--- /dev/null
+++ b/devel/omniNotify/files/patch-examples__ndadmin.cc
@@ -0,0 +1,13 @@
+--- ./examples/ndadmin.cc.orig 2003-10-12 20:51:18.000000000 +0200
++++ ./examples/ndadmin.cc 2013-09-12 19:43:36.397068857 +0200
+@@ -6,7 +6,9 @@
+ #error COS_USES_BOA should not be set for this example
+ #endif
+
+-#include <iostream.h>
++#include <iostream>
++
++using namespace std;
+
+ #include "orb_init_name.h"
+ #include "get_channel.h"
diff --git a/devel/omniNotify/files/patch-examples__parse_cmd_line.h b/devel/omniNotify/files/patch-examples__parse_cmd_line.h
new file mode 100644
index 000000000000..22f5a889a1cf
--- /dev/null
+++ b/devel/omniNotify/files/patch-examples__parse_cmd_line.h
@@ -0,0 +1,12 @@
+--- ./examples/parse_cmd_line.h.orig 2003-10-23 06:39:11.000000000 +0200
++++ ./examples/parse_cmd_line.h 2013-09-12 19:37:33.527063786 +0200
+@@ -4,7 +4,8 @@
+ #define _PARSE_CMD_LINE_H
+
+ #include <stdlib.h>
+-#include <iostream.h>
++#include <iostream>
++using namespace std;
+
+ #include "CosNotifyShorthands.h"
+
diff --git a/devel/omniNotify/files/patch-examples__sample_clients.cc b/devel/omniNotify/files/patch-examples__sample_clients.cc
new file mode 100644
index 000000000000..2c260b94e3d7
--- /dev/null
+++ b/devel/omniNotify/files/patch-examples__sample_clients.cc
@@ -0,0 +1,17 @@
+--- ./examples/sample_clients.cc.orig 2003-10-23 06:39:11.000000000 +0200
++++ ./examples/sample_clients.cc 2013-09-12 19:39:25.344066196 +0200
+@@ -7,9 +7,11 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+-#include <fstream.h>
+-#include <iostream.h>
+-#include <iomanip.h>
++#include <fstream>
++#include <iostream>
++#include <iomanip>
++
++using namespace std;
+
+ #ifdef HAVE_UNISTD_H
+ # include <unistd.h>
diff --git a/devel/omniNotify/files/patch-examples__sample_functions.cc b/devel/omniNotify/files/patch-examples__sample_functions.cc
new file mode 100644
index 000000000000..a0e8efb0203a
--- /dev/null
+++ b/devel/omniNotify/files/patch-examples__sample_functions.cc
@@ -0,0 +1,17 @@
+--- ./examples/sample_functions.cc.orig 2003-10-23 06:39:11.000000000 +0200
++++ ./examples/sample_functions.cc 2013-09-12 19:41:47.835066655 +0200
+@@ -2,10 +2,12 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
+-#include <iostream.h>
+-#include <iomanip.h>
++#include <iostream>
++#include <iomanip>
+ #include "sample_functions.h"
+
++using namespace std;
++
+ ///////////////////////////////////////////////////////////////////
+ // USER-DEFINED FUNCTION EXAMPLES //
+ ///////////////////////////////////////////////////////////////////
diff --git a/devel/omniNotify/files/patch-examples__some_notify_clients.cc b/devel/omniNotify/files/patch-examples__some_notify_clients.cc
new file mode 100644
index 000000000000..f4ce93b84902
--- /dev/null
+++ b/devel/omniNotify/files/patch-examples__some_notify_clients.cc
@@ -0,0 +1,12 @@
+--- ./examples/some_notify_clients.cc.orig 2003-10-12 20:51:18.000000000 +0200
++++ ./examples/some_notify_clients.cc 2013-09-12 19:38:14.830059760 +0200
+@@ -4,7 +4,8 @@
+ #endif
+
+ #include <stdlib.h>
+-#include <iostream.h>
++#include <iostream>
++using namespace std;
+
+ #include "orb_init_name.h"
+ #include "get_channel.h"
diff --git a/devel/omniNotify/files/patch-include__ModFlexLexer.h b/devel/omniNotify/files/patch-include__ModFlexLexer.h
new file mode 100644
index 000000000000..acfde0492351
--- /dev/null
+++ b/devel/omniNotify/files/patch-include__ModFlexLexer.h
@@ -0,0 +1,12 @@
+--- ./include/ModFlexLexer.h.orig 2003-10-23 06:39:11.000000000 +0200
++++ ./include/ModFlexLexer.h 2013-09-12 19:36:38.753063172 +0200
+@@ -88,7 +88,8 @@
+ // Never included before - need to define base class.
+ #define __FLEX_LEXER_H
+
+-#include <iostream.h>
++#include <iostream>
++using namespace std;
+
+ extern "C++" {
+
diff --git a/devel/omniNotify/files/patch-lib__RDIParser_l.cc b/devel/omniNotify/files/patch-lib__RDIParser_l.cc
new file mode 100644
index 000000000000..8efd50e70ba9
--- /dev/null
+++ b/devel/omniNotify/files/patch-lib__RDIParser_l.cc
@@ -0,0 +1,12 @@
+--- ./lib/RDIParser_l.cc.orig 2003-10-23 06:39:12.000000000 +0200
++++ ./lib/RDIParser_l.cc 2013-09-12 19:37:04.939058703 +0200
+@@ -53,7 +53,8 @@
+ #ifdef __cplusplus
+
+ #include <stdlib.h>
+-#include <iostream.h>
++#include <iostream>
++using namespace std;
+
+ /* Use prototypes in function declarations. */
+ #define YY_USE_PROTOS