33 lines
1.1 KiB
Diff
33 lines
1.1 KiB
Diff
|
From b93eda2b6edcbbcb999c4aa28ad728a46db9631d Mon Sep 17 00:00:00 2001
|
||
|
From: Niko Tyni <ntyni@debian.org>
|
||
|
Date: Sun, 24 Jun 2018 15:26:52 +0300
|
||
|
Subject: [PATCH 1/2] Fix a swig syntax error in Integration.i
|
||
|
|
||
|
This fixes
|
||
|
|
||
|
swig/IEEEUtils.i:11: Warning 453: Can't apply (char const *format). No typemaps are defined.
|
||
|
Creating xs/Integration_wrap.1.15.c
|
||
|
/usr/include/gsl/gsl_integration.h:363: Error: Syntax error - possibly a missing semicolon.
|
||
|
error : No such file or directory while building ( -I/usr/include ) xs/Integration_wrap.1.15.c in pm/Math/GSL from 'swig/Integration.i' at inc/GSLBuilder.pm line 244.
|
||
|
|
||
|
and is needed at least on libgsl 2.4 / 2.5 and SWIG 3.0.12.
|
||
|
---
|
||
|
swig/Integration.i | 1 +
|
||
|
1 file changed, 1 insertion(+)
|
||
|
|
||
|
diff --git a/swig/Integration.i b/swig/Integration.i
|
||
|
index 0272059..0933037 100644
|
||
|
--- a/swig/Integration.i
|
||
|
+++ b/swig/Integration.i
|
||
|
@@ -7,6 +7,7 @@
|
||
|
#include "gsl/gsl_integration.h"
|
||
|
#include "gsl/gsl_math.h"
|
||
|
%}
|
||
|
+%include "gsl/gsl_types.h"
|
||
|
%include "gsl/gsl_integration.h"
|
||
|
%include "gsl/gsl_math.h"
|
||
|
%include "../pod/Integration.pod"
|
||
|
--
|
||
|
2.17.1
|
||
|
|