[qtiplot] 01/04: Fix compilation against sip_4.19. (Closes: #882026)

Anton Gladky gladk at moszumanska.debian.org
Sat Dec 30 22:53:05 UTC 2017


This is an automated email from the git hooks/post-receive script.

gladk pushed a commit to branch master
in repository qtiplot.

commit ca9c06d4cd7cb8a061c669fd491850316acfaec3
Author: Anton Gladky <gladk at debian.org>
Date:   Sat Dec 30 23:47:11 2017 +0100

    Fix compilation against sip_4.19. (Closes: #882026)
---
 debian/patches/20_fix_FTBFS_sip4.19.patch | 23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)

diff --git a/debian/patches/20_fix_FTBFS_sip4.19.patch b/debian/patches/20_fix_FTBFS_sip4.19.patch
index 5d7a76f..2408d31 100644
--- a/debian/patches/20_fix_FTBFS_sip4.19.patch
+++ b/debian/patches/20_fix_FTBFS_sip4.19.patch
@@ -1,8 +1,11 @@
 Description: Use new sip-API
-Author: Anton Gladky <gladk at debian.org>
+Author: Anton Gladky <gladk at debian.org>, Vladimir
+Origin: https://bugs.gentoo.org/641514#c2
 Bug-Debian: https://bugs.debian.org/882026
 Last-Update: 2017-12-30
 
+Index: qtiplot-0.9.8.9/qtiplot/src/scripting/PythonScripting.cpp
+===================================================================
 --- qtiplot-0.9.8.9.orig/qtiplot/src/scripting/PythonScripting.cpp
 +++ qtiplot-0.9.8.9/qtiplot/src/scripting/PythonScripting.cpp
 @@ -58,7 +58,7 @@ typedef struct _traceback {
@@ -29,3 +32,21 @@ Last-Update: 2017-12-30
  
  	if (pyobj) {
  		if (dict)
+Index: qtiplot-0.9.8.9/qtiplot/src/scripting/qti.sip
+===================================================================
+--- qtiplot-0.9.8.9.orig/qtiplot/src/scripting/qti.sip
++++ qtiplot-0.9.8.9/qtiplot/src/scripting/qti.sip
+@@ -3243,11 +3243,11 @@ public:
+ %MethodCode
+   SIPQTI_APP(new sipFFT(app, a0, *a1, a2, a3))
+ %End
+-  FFT(QwtPlotCurve *&) /NoDerived/;
++  FFT(QwtPlotCurve *) /NoDerived/;
+ %MethodCode
+   SIPQTI_APP(new sipFFT(app, a0))
+ %End
+-  FFT(QwtPlotCurve *&, double, double) /NoDerived/;
++  FFT(QwtPlotCurve *, double, double) /NoDerived/;
+ %MethodCode
+   SIPQTI_APP(new sipFFT(app, a0, a1, a2))
+ %End

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/qtiplot.git



More information about the debian-science-commits mailing list