2012-12-17 21:49:35 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Omniorb < Formula
|
|
|
|
homepage 'http://omniorb.sourceforge.net/'
|
2014-02-27 14:19:55 +00:00
|
|
|
url 'https://downloads.sourceforge.net/project/omniorb/omniORB/omniORB-4.1.7/omniORB-4.1.7.tar.bz2'
|
2013-07-16 03:49:36 +00:00
|
|
|
sha1 'e039eba5f63458651cfdc8a67c664c1ce4134540'
|
2012-12-17 21:49:35 +00:00
|
|
|
|
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
|
2013-08-07 05:34:50 +00:00
|
|
|
resource 'bindings' do
|
2014-02-27 14:19:55 +00:00
|
|
|
url 'https://downloads.sourceforge.net/project/omniorb/omniORBpy/omniORBpy-3.7/omniORBpy-3.7.tar.bz2'
|
2013-08-07 05:34:50 +00:00
|
|
|
sha1 '71ad9835c2273fe884fd9bd1bc282d40177f4d74'
|
|
|
|
end
|
|
|
|
|
2012-12-17 21:49:35 +00:00
|
|
|
# http://www.omniorb-support.com/pipermail/omniorb-list/2012-February/031202.html
|
2014-03-20 01:21:16 +00:00
|
|
|
patch :DATA
|
2012-12-17 21:49:35 +00:00
|
|
|
|
|
|
|
def install
|
2013-06-06 04:07:21 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}"
|
2012-12-17 21:49:35 +00:00
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
|
2014-01-04 13:12:10 +00:00
|
|
|
resource('bindings').stage do
|
|
|
|
system "./configure", "--prefix=#{prefix}"
|
|
|
|
system "make install"
|
2012-12-17 21:49:35 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2013-03-25 18:35:20 +00:00
|
|
|
test do
|
|
|
|
system "#{bin}/omniidl", "-h"
|
2012-12-17 21:49:35 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
__END__
|
|
|
|
diff --git a/include/omniORB4/CORBA_sysdep.h b/include/omniORB4/CORBA_sysdep.h
|
|
|
|
index 3ff1f22..e3b8d3c 100644
|
|
|
|
--- a/include/omniORB4/CORBA_sysdep.h
|
|
|
|
+++ b/include/omniORB4/CORBA_sysdep.h
|
|
|
|
@@ -231,6 +231,11 @@
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
+#if defined(__clang__)
|
|
|
|
+# define OMNI_NO_INLINE_FRIENDS
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+
|
|
|
|
//
|
|
|
|
// Windows DLL hell
|
|
|
|
//
|