aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-09-13 01:44:59 +0800
committerbapt <bapt@FreeBSD.org>2013-09-13 01:44:59 +0800
commit6b2f9be610deb3169a4a84727e1040501062d9e1 (patch)
tree4b5338f64d7590897e2081b5470b92618b483dec /devel
parent001c68e5947490b76a12e020d254b5ba7eff2388 (diff)
downloadfreebsd-ports-graphics-6b2f9be610deb3169a4a84727e1040501062d9e1.tar.gz
freebsd-ports-graphics-6b2f9be610deb3169a4a84727e1040501062d9e1.tar.zst
freebsd-ports-graphics-6b2f9be610deb3169a4a84727e1040501062d9e1.zip
Fix build with libc++
Diffstat (limited to 'devel')
-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 00000000000..93863c836c5
--- /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 00000000000..14dcdde07b3
--- /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 00000000000..6611d4b792e
--- /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 00000000000..aa621c9dc28
--- /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 00000000000..e485a28b39e
--- /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 00000000000..22f5a889a1c
--- /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 00000000000..2c260b94e3d
--- /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 00000000000..a0e8efb0203
--- /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 00000000000..f4ce93b8490
--- /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 00000000000..acfde049235
--- /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 00000000000..8efd50e70ba
--- /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