File fix-build-with-latest-R.diff of Package cantor4

diff -urB cantor-15.04.0/src/backends/R/rserver/rcallbacks.cpp new/src/backends/R/rserver/rcallbacks.cpp
--- cantor-15.04.0/src/backends/R/rserver/rcallbacks.cpp	2015-04-06 13:34:01.000000000 +0200
+++ new/src/backends/R/rserver/rcallbacks.cpp	2015-04-27 15:53:51.583984954 +0200
@@ -26,6 +26,7 @@
 #include <QStringList>
 
 #include <stdio.h>
+#include <Rinterface.h>
 
 RServer* server;
 Expression* currentExpression;
diff -urB cantor-15.04.0/src/backends/R/rserver/rcallbacks.h new/src/backends/R/rserver/rcallbacks.h
--- cantor-15.04.0/src/backends/R/rserver/rcallbacks.h	2015-04-06 13:34:01.000000000 +0200
+++ new/src/backends/R/rserver/rcallbacks.h	2015-04-27 15:52:55.503987836 +0200
@@ -30,7 +30,6 @@
 #include <Rversion.h>
 #include <Rdefines.h>
 #define R_INTERFACE_PTRS
-#include <Rinterface.h>
 #include <R_ext/Parse.h>
 
 //This File implements the necessary callbacks for R
diff -urB cantor-15.04.0/src/backends/R/rserver/rserver.cpp new/src/backends/R/rserver/rserver.cpp
--- cantor-15.04.0/src/backends/R/rserver/rserver.cpp	2015-04-06 13:34:01.000000000 +0200
+++ new/src/backends/R/rserver/rserver.cpp	2015-04-27 15:55:16.895980571 +0200
@@ -42,7 +42,6 @@
 #include <Rversion.h>
 #include <Rdefines.h>
 #define R_INTERFACE_PTRS
-#include <Rinterface.h>
 #include <R_ext/Parse.h>
 
 // Not making a member to prevent pulling R headers into rserver.h
openSUSE Build Service is sponsored by