From 276f6257d405061578189f52bb452e638cd60267 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Thu, 12 Sep 2013 17:44:59 +0000 Subject: Fix build with libc++ --- .../omniNotify/files/patch-examples__demo_add_filter.cc | 13 +++++++++++++ .../files/patch-examples__demo_offer_change.cc | 13 +++++++++++++ .../files/patch-examples__demo_subscription_change.cc | 13 +++++++++++++ .../omniNotify/files/patch-examples__legacy_clients.cc | 16 ++++++++++++++++ devel/omniNotify/files/patch-examples__ndadmin.cc | 13 +++++++++++++ devel/omniNotify/files/patch-examples__parse_cmd_line.h | 12 ++++++++++++ .../omniNotify/files/patch-examples__sample_clients.cc | 17 +++++++++++++++++ .../files/patch-examples__sample_functions.cc | 17 +++++++++++++++++ .../files/patch-examples__some_notify_clients.cc | 12 ++++++++++++ devel/omniNotify/files/patch-include__ModFlexLexer.h | 12 ++++++++++++ devel/omniNotify/files/patch-lib__RDIParser_l.cc | 12 ++++++++++++ 11 files changed, 150 insertions(+) create mode 100644 devel/omniNotify/files/patch-examples__demo_add_filter.cc create mode 100644 devel/omniNotify/files/patch-examples__demo_offer_change.cc create mode 100644 devel/omniNotify/files/patch-examples__demo_subscription_change.cc create mode 100644 devel/omniNotify/files/patch-examples__legacy_clients.cc create mode 100644 devel/omniNotify/files/patch-examples__ndadmin.cc create mode 100644 devel/omniNotify/files/patch-examples__parse_cmd_line.h create mode 100644 devel/omniNotify/files/patch-examples__sample_clients.cc create mode 100644 devel/omniNotify/files/patch-examples__sample_functions.cc create mode 100644 devel/omniNotify/files/patch-examples__some_notify_clients.cc create mode 100644 devel/omniNotify/files/patch-include__ModFlexLexer.h create mode 100644 devel/omniNotify/files/patch-lib__RDIParser_l.cc (limited to 'devel/omniNotify') 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 +-#include ++#include + #include + ++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 +-#include ++#include + #include + ++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 +-#include ++#include + #include + ++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 +-#include ++#include ++#include ++ ++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 ++#include ++ ++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 +-#include ++#include ++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 + #include + #include +-#include +-#include +-#include ++#include ++#include ++#include ++ ++using namespace std; + + #ifdef HAVE_UNISTD_H + # include 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 + #include +-#include +-#include ++#include ++#include + #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 +-#include ++#include ++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 ++#include ++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 +-#include ++#include ++using namespace std; + + /* Use prototypes in function declarations. */ + #define YY_USE_PROTOS -- cgit v1.2.3