$OpenBSD: patch-ext_matrix_complex_c,v 1.1.1.1 2013/01/18 17:07:33 jasper Exp $

Fix conflicting types.

--- ext/matrix_complex.c.orig	Fri Jan 18 10:52:52 2013
+++ ext/matrix_complex.c	Fri Jan 18 10:53:51 2013
@@ -1520,7 +1520,7 @@ static VALUE rb_gsl_matrix_complex_indgen_singleton(in
 }
 
 
-static int gsl_matrix_complex_equal(const gsl_matrix_complex *m1,
+static int gsl_matrix_complex_equal_with_eps(const gsl_matrix_complex *m1,
   const gsl_matrix_complex *m2, double eps)
 {
   gsl_complex z1, z2;
@@ -1555,7 +1555,7 @@ static VALUE rb_gsl_matrix_complex_equal(int argc, VAL
   Data_Get_Struct(obj, gsl_matrix_complex, m1);
   CHECK_MATRIX_COMPLEX(argv[0]);
   Data_Get_Struct(argv[0], gsl_matrix_complex, m2);
-  ret = gsl_matrix_complex_equal(m1, m2, eps);
+  ret = gsl_matrix_complex_equal_with_eps(m1, m2, eps);
   if (ret == 1) return Qtrue;
   else return Qfalse;
 }
