summaryrefslogtreecommitdiff
path: root/benchmarks/benchfft/patches
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2012-04-22 21:08:20 +0000
committerdholland <dholland@pkgsrc.org>2012-04-22 21:08:20 +0000
commit7445da7465e7033bed639e1c63a99692492657f1 (patch)
tree124626a54f1957b5972489392f8d257a5cd096dd /benchmarks/benchfft/patches
parent6bdea8337fe987f5a7633185eb164b444c760128 (diff)
downloadpkgsrc-7445da7465e7033bed639e1c63a99692492657f1.tar.gz
Declare void function void; fixes clang build.
Diffstat (limited to 'benchmarks/benchfft/patches')
-rw-r--r--benchmarks/benchfft/patches/patch-c__source_dint_c15
1 files changed, 15 insertions, 0 deletions
diff --git a/benchmarks/benchfft/patches/patch-c__source_dint_c b/benchmarks/benchfft/patches/patch-c__source_dint_c
new file mode 100644
index 00000000000..39d91c8a6c3
--- /dev/null
+++ b/benchmarks/benchfft/patches/patch-c__source_dint_c
@@ -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;