opal-3.10.9-java-ruby-swig-fix.patch (874B)
1 diff -uNr opal-3.10.9.orig/Makefile.in opal-3.10.9/Makefile.in 2 --- opal-3.10.9.orig/Makefile.in 2012-12-03 11:09:17.000000000 -0500 3 +++ opal-3.10.9/Makefile.in 2012-12-03 11:09:35.000000000 -0500 4 @@ -371,9 +371,9 @@ 5 ifeq ($(OPAL_JAVA), yes) 6 7 JAVA_SRCDIR = $(OPAL_SRCDIR)/java 8 -JAVA_WRAPPER = $(JAVA_SRCDIR)/java_swig_wrapper.c 9 +JAVA_WRAPPER = $(JAVA_SRCDIR)/java_swig_wrapper.cxx 10 11 -VPATH_C += $(JAVA_SRCDIR) 12 +VPATH_CXX += $(JAVA_SRCDIR) 13 SOURCES += $(JAVA_WRAPPER) 14 15 endif 16 @@ -384,10 +384,10 @@ 17 18 ifeq ($(OPAL_RUBY), yes) 19 20 -RUBY_SRCDIR = $(OPAL_SRCDIR)/ruby 21 -RUBY_WRAPPER = $(JAVA_SRCDIR)/ruby_swig_wrapper.c 22 +RUBY_SRCDIR = $(OPAL_SRCDIR)/Ruby 23 +RUBY_WRAPPER = $(JAVA_SRCDIR)/ruby_swig_wrapper.cxx 24 25 -VPATH_C += $(RUBY_SRCDIR) 26 +VPATH_CXX += $(RUBY_SRCDIR) 27 SOURCES += $(RUBY_WRAPPER) 28 29 endif