summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/omniEvents/Manifest3
-rw-r--r--dev-libs/omniEvents/files/gcc-4.3.patch110
-rw-r--r--dev-libs/omniEvents/omniEvents-2.6.2.ebuild28
3 files changed, 141 insertions, 0 deletions
diff --git a/dev-libs/omniEvents/Manifest b/dev-libs/omniEvents/Manifest
new file mode 100644
index 0000000..243ba9f
--- /dev/null
+++ b/dev-libs/omniEvents/Manifest
@@ -0,0 +1,3 @@
+AUX gcc-4.3.patch 4286 RMD160 df4102c2d1d4a3188aed006a9355659bd9479002 SHA1 2ab3bca8f946b12619e1bf8d293f9e565c28d527 SHA256 10b00c5fb7295d35890c9b84954f49fabf8c5bbaf488f9711edd6356dc194e28
+DIST omniEvents-2_6_2-src.tar.gz 1328376 RMD160 a4d7eb057187de26133b85d532fd4c0d765a6cb4 SHA1 38a7a1cebe489f1bdcfd9992fbe320147f40c7fa SHA256 1092c6f173b2f63b2f6b22683f0651fb34fb36f7919fe2ac90f2336c4112aee6
+EBUILD omniEvents-2.6.2.ebuild 709 RMD160 543b6a54847daf5d043155497b7841c7b70eaac5 SHA1 64c7205d48f44eb8b1fcb61a14fd6817b35f1c60 SHA256 37371c9604ae41d022e409c108bba3f98a5debf6260e90ca8ddb4b7be92f712a
diff --git a/dev-libs/omniEvents/files/gcc-4.3.patch b/dev-libs/omniEvents/files/gcc-4.3.patch
new file mode 100644
index 0000000..ce07a3b
--- /dev/null
+++ b/dev-libs/omniEvents/files/gcc-4.3.patch
@@ -0,0 +1,110 @@
+diff -ru /var/tmp/portage/dev-libs/omniEvents-2.6.2/work/omniEvents-2_6_2//examples/pullcons.cc ./examples/pullcons.cc
+--- /var/tmp/portage/dev-libs/omniEvents-2.6.2/work/omniEvents-2_6_2//examples/pullcons.cc 2005-04-13 16:37:08.000000000 +0100
++++ ./examples/pullcons.cc 2011-09-22 16:13:20.567110893 +0100
+@@ -140,6 +140,7 @@
+ using namespace std;
+ #endif
+
++#include <stdio.h>
+ #ifdef HAVE_STDLIB_H
+ # include <stdlib.h>
+ #endif
+diff -ru /var/tmp/portage/dev-libs/omniEvents-2.6.2/work/omniEvents-2_6_2//examples/pullsupp.cc ./examples/pullsupp.cc
+--- /var/tmp/portage/dev-libs/omniEvents-2.6.2/work/omniEvents-2_6_2//examples/pullsupp.cc 2005-04-13 16:37:08.000000000 +0100
++++ ./examples/pullsupp.cc 2011-09-22 16:13:39.633654575 +0100
+@@ -136,6 +136,7 @@
+ using namespace std;
+ #endif
+
++#include <stdio.h>
+ #ifdef HAVE_STDLIB_H
+ # include <stdlib.h>
+ #endif
+diff -ru /var/tmp/portage/dev-libs/omniEvents-2.6.2/work/omniEvents-2_6_2//examples/pushcons.cc ./examples/pushcons.cc
+--- /var/tmp/portage/dev-libs/omniEvents-2.6.2/work/omniEvents-2_6_2//examples/pushcons.cc 2005-06-28 19:52:37.000000000 +0100
++++ ./examples/pushcons.cc 2011-09-22 16:13:52.860235560 +0100
+@@ -151,6 +151,7 @@
+ using namespace std;
+ #endif
+
++#include <stdio.h>
+ #ifdef HAVE_STDLIB_H
+ # include <stdlib.h>
+ #endif
+diff -ru /var/tmp/portage/dev-libs/omniEvents-2.6.2/work/omniEvents-2_6_2//examples/pushsupp.cc ./examples/pushsupp.cc
+--- /var/tmp/portage/dev-libs/omniEvents-2.6.2/work/omniEvents-2_6_2//examples/pushsupp.cc 2005-04-13 16:37:08.000000000 +0100
++++ ./examples/pushsupp.cc 2011-09-22 16:14:07.510140310 +0100
+@@ -144,6 +144,7 @@
+ using namespace std;
+ #endif
+
++#include <stdio.h>
+ #ifdef HAVE_STDLIB_H
+ # include <stdlib.h>
+ #endif
+diff -ru /var/tmp/portage/dev-libs/omniEvents-2.6.2/work/omniEvents-2_6_2//src/main.cc ./src/main.cc
+--- /var/tmp/portage/dev-libs/omniEvents-2.6.2/work/omniEvents-2_6_2//src/main.cc 2005-05-11 22:56:09.000000000 +0100
++++ ./src/main.cc 2011-09-22 16:07:05.722731214 +0100
+@@ -31,6 +31,7 @@
+ # include "config.h"
+ #endif
+
++#include <stdlib.h>
+ #ifdef HAVE_GETOPT
+ # include <unistd.h>
+ extern char* optarg;
+diff -ru /var/tmp/portage/dev-libs/omniEvents-2.6.2/work/omniEvents-2_6_2//src/PersistNode.cc ./src/PersistNode.cc
+--- /var/tmp/portage/dev-libs/omniEvents-2.6.2/work/omniEvents-2_6_2//src/PersistNode.cc 2005-04-13 16:37:09.000000000 +0100
++++ ./src/PersistNode.cc 2011-09-22 16:09:50.008426781 +0100
+@@ -23,6 +23,7 @@
+
+ #include "PersistNode.h"
+
++#include <limits.h>
+ #include <stdlib.h>
+ #include <stdio.h>
+
+diff -ru /var/tmp/portage/dev-libs/omniEvents-2.6.2/work/omniEvents-2_6_2//src/Servant.cc ./src/Servant.cc
+--- /var/tmp/portage/dev-libs/omniEvents-2.6.2/work/omniEvents-2_6_2//src/Servant.cc 2005-05-17 22:58:57.000000000 +0100
++++ ./src/Servant.cc 2011-09-22 16:09:43.551799216 +0100
+@@ -28,6 +28,7 @@
+ # include <sys/types.h> // getpid
+ #endif
+
++#include <stdlib.h>
+ #ifdef HAVE_UNISTD_H
+ # include <unistd.h> // getpid
+ #elif defined(HAVE_PROCESS_H)
+diff -ru /var/tmp/portage/dev-libs/omniEvents-2.6.2/work/omniEvents-2_6_2//tools/eventc.cc ./tools/eventc.cc
+--- /var/tmp/portage/dev-libs/omniEvents-2.6.2/work/omniEvents-2_6_2//tools/eventc.cc 2005-05-11 19:44:31.000000000 +0100
++++ ./tools/eventc.cc 2011-09-22 16:12:00.157622638 +0100
+@@ -176,6 +176,7 @@
+ using namespace std;
+ #endif
+
++#include <stdio.h>
+ #ifdef HAVE_STDLIB_H
+ # include <stdlib.h>
+ #endif
+diff -ru /var/tmp/portage/dev-libs/omniEvents-2.6.2/work/omniEvents-2_6_2//tools/eventf.cc ./tools/eventf.cc
+--- /var/tmp/portage/dev-libs/omniEvents-2.6.2/work/omniEvents-2_6_2//tools/eventf.cc 2005-05-11 19:44:31.000000000 +0100
++++ ./tools/eventf.cc 2011-09-22 16:12:22.457481843 +0100
+@@ -36,6 +36,7 @@
+ # include "getopt.h"
+ #endif
+
++#include <stdio.h>
+ #ifdef HAVE_STDLIB_H
+ # include <stdlib.h> // exit()
+ #endif
+diff -ru /var/tmp/portage/dev-libs/omniEvents-2.6.2/work/omniEvents-2_6_2//tools/rmeventc.cc ./tools/rmeventc.cc
+--- /var/tmp/portage/dev-libs/omniEvents-2.6.2/work/omniEvents-2_6_2//tools/rmeventc.cc 2005-05-11 19:44:31.000000000 +0100
++++ ./tools/rmeventc.cc 2011-09-22 16:12:41.950691394 +0100
+@@ -36,6 +36,7 @@
+ # include "getopt.h"
+ #endif
+
++#include <stdio.h>
+ #ifdef HAVE_STDLIB_H
+ # include <stdlib.h> // exit()
+ #endif
diff --git a/dev-libs/omniEvents/omniEvents-2.6.2.ebuild b/dev-libs/omniEvents/omniEvents-2.6.2.ebuild
new file mode 100644
index 0000000..74d6d66
--- /dev/null
+++ b/dev-libs/omniEvents/omniEvents-2.6.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+inherit eutils
+
+DESCRIPTION="omniEvents is an implementation of the OMG Event Services Specification v1.1 for omniORB, a CORBA Object Request Broker for C++ and Python."
+HOMEPAGE="http://www.omnievents.org/"
+SRC_URI="http://sourceforge.net/projects/omnievents/files/omniEvents%20-%20stable/omniEvents%202.6.2/omniEvents-2_6_2-src.tar.gz"
+
+LICENSE="LGPL"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="net-misc/omniORB"
+RDEPEND="${DEPEND}"
+S=${WORKDIR}/omniEvents-2_6_2
+
+src_prepare() {
+ epatch "${FILESDIR}"/gcc-4.3.patch || die
+}
+
+src_install() {
+ emake install DESTDIR="${D}"
+}
+