freebsd-ports/math/scilab-toolbox-sivp/files/patch-r287
Max Brazhnikov 4325f6f2f7 math/scilab-toolbox-sivp:
- Add patch from upstream to fix build with scilab-5.5
- Don't require X for documentation building
- Convert echos to pkg-message
2014-09-04 18:21:49 +00:00

31 lines
1.2 KiB
Text

Index: sci_gateway/cpp/builder_gateway_cpp.sce
===================================================================
--- sci_gateway/cpp/builder_gateway_cpp.sce (revision 286)
+++ sci_gateway/cpp/builder_gateway_cpp.sce (revision 287)
@@ -120,7 +120,8 @@
opencv_libs = [];
end
-
+ inter_cflags = inter_cflags + ' -D__USE_DEPRECATED_STACK_FUNCTIONS__';
+
tbx_build_gateway('gw_sivp', ..
gw_cpp_table, ..
gw_cpp_files, ..
Index: sci_gateway/cpp/sivp_init.cpp
===================================================================
--- sci_gateway/cpp/sivp_init.cpp (revision 286)
+++ sci_gateway/cpp/sivp_init.cpp (revision 287)
@@ -18,11 +18,11 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
***********************************************************************/
/*--------------------------------------------------------------------------*/
-#include "api_scilab.h"
#include "localization.h"
#include "Scierror.h"
#include "common.h"
#include "gw_sivp.h"
+#include "api_scilab.h"
/*--------------------------------------------------------------------------*/
char sSIVP_PATH[MAX_FILENAME_LENGTH];
/*--------------------------------------------------------------------------*/