pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/benchmarks/benchfft Declare void function void; fixes ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f86af0705687
branches:  trunk
changeset: 602930:f86af0705687
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Sun Apr 22 21:08:20 2012 +0000

description:
Declare void function void; fixes clang build.

diffstat:

 benchmarks/benchfft/distinfo                       |   3 ++-
 benchmarks/benchfft/patches/patch-c__source_dint_c |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r e74d75f1a83b -r f86af0705687 benchmarks/benchfft/distinfo
--- a/benchmarks/benchfft/distinfo      Sun Apr 22 20:32:18 2012 +0000
+++ b/benchmarks/benchfft/distinfo      Sun Apr 22 21:08:20 2012 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2012/01/12 12:36:13 hans Exp $
+$NetBSD: distinfo,v 1.11 2012/04/22 21:08:20 dholland Exp $
 
 SHA1 (benchfft-2.0.tar.gz) = b49cbad9d390e54d3afe661d51d3dce7b3d6435e
 RMD160 (benchfft-2.0.tar.gz) = bd9ef45e633b8384c836e32e1e1cee877495bb26
@@ -15,3 +15,4 @@
 SHA1 (patch-ag) = a08153a6a8800184e7d186bf44a36f11372e853c
 SHA1 (patch-ah) = f03ce90b929b8a460157aff96facb3163d4e401c
 SHA1 (patch-c__source_bitrev_c) = a5ba61121c0a0950278cbe04f6638afd091d106c
+SHA1 (patch-c__source_dint_c) = 5f86bea25e7a290f5f02b5423602fa2db87a588d
diff -r e74d75f1a83b -r f86af0705687 benchmarks/benchfft/patches/patch-c__source_dint_c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/benchmarks/benchfft/patches/patch-c__source_dint_c        Sun Apr 22 21:08:20 2012 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-c__source_dint_c,v 1.1 2012/04/22 21:08:20 dholland Exp $
+
+Declare return type to be consistent with the declaration visible at
+the call site, and with the code itself. Fixes clang build.
+
+--- c_source/dint.c~   1998-10-20 16:42:11.000000000 +0000
++++ c_source/dint.c
+@@ -7,6 +7,7 @@ typedef FFTW_REAL real;
+     The author retains the right to distribute this software freely, but
+     is not responsible for it's quality or maintainance. */
+ 
++void
+ dint(x, length, wtab)
+ real *x, *wtab;
+ int length;



Home | Main Index | Thread Index | Old Index