Hello community,

here is the log from the commit of package mathgl for openSUSE:Factory checked 
in at 2013-09-23 10:03:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mathgl (Old)
 and      /work/SRC/openSUSE:Factory/.mathgl.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mathgl"

Changes:
--------
--- /work/SRC/openSUSE:Factory/mathgl/mathgl.changes    2013-06-05 
17:45:36.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.mathgl.new/mathgl.changes       2013-09-23 
10:03:18.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Sep 17 20:53:06 UTC 2013 - badshah...@gmail.com
+
+- Add mathgl-gsl-deprecated-code-usage.patch to fix build failures
+  with gsl version 1.16, notably in openSUSE:Factory.
+
+-------------------------------------------------------------------

New:
----
  mathgl-gsl-deprecated-code-usage.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mathgl.spec ++++++
--- /var/tmp/diff_new_pack.eWVkGi/_old  2013-09-23 10:03:18.000000000 +0200
+++ /var/tmp/diff_new_pack.eWVkGi/_new  2013-09-23 10:03:18.000000000 +0200
@@ -44,6 +44,8 @@
 Patch5:         udav-help-path.patch
 # PATCH-FIX-UPSTREAM mathgl-bigendian.patch -- fixes build on bigendian 
platforms
 Patch6:         mathgl-bigendian.patch 
+# PATCH-FIX-UPSTREAM mathgl-gsl-deprecated-code-usage.patch 
badshah...@gmail.com -- Fix build failures when compiling with gsl-1.16 due to 
usage of deprecated code
+Patch7:         mathgl-gsl-deprecated-code-usage.patch
 BuildRequires:  cmake
 BuildRequires:  fltk-devel
 BuildRequires:  freeglut-devel
@@ -303,6 +305,7 @@
 %patch4 -p1
 %patch5 -p1
 %patch6 -p0
+%patch7 -p1
 
 # Correct octave-mathgl version
 sed -i 's/2.0/%{oct_version}/' lang/DESCRIPTION

++++++ mathgl-gsl-deprecated-code-usage.patch ++++++
Index: mathgl-2.1.3.1/src/fft.cpp
===================================================================
--- mathgl-2.1.3.1.orig/src/fft.cpp
+++ mathgl-2.1.3.1/src/fft.cpp
@@ -82,7 +82,7 @@ void MGL_EXPORT mgl_fft_free(void *wt, v
 void MGL_EXPORT mgl_fft(double *x, long s, long n, const void *wt, void *ws, 
bool inv)
 {
 #if MGL_HAVE_GSL
-gsl_fft_complex_transform(x, s, n, (const gsl_fft_complex_wavetable*)wt, 
(gsl_fft_complex_workspace*)ws, inv?backward:forward);
+gsl_fft_complex_transform(x, s, n, (const gsl_fft_complex_wavetable*)wt, 
(gsl_fft_complex_workspace*)ws, inv?gsl_fft_backward:gsl_fft_forward);
 #else  // NOTE this is VERY slow!
        const double *c = (const double *)wt;
        double *d = (double *)ws, f = inv?1./n:1;
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to