summaryrefslogtreecommitdiff
path: root/benchmarks/benchfft
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2011-09-12 07:10:32 +0000
committerdholland <dholland@pkgsrc.org>2011-09-12 07:10:32 +0000
commita1f1aec656ba6446a7c0cae78f3f93534b399e67 (patch)
tree6b47b46b4f9c6868ac22e4222e1491269cee6f9a /benchmarks/benchfft
parent760bfd0266abd36a001c302eae0a6bdbe851cfed (diff)
downloadpkgsrc-a1f1aec656ba6446a7c0cae78f3f93534b399e67.tar.gz
Fix mismatched return statements, which clang dislikes
Diffstat (limited to 'benchmarks/benchfft')
-rw-r--r--benchmarks/benchfft/distinfo3
-rw-r--r--benchmarks/benchfft/patches/patch-c__source_bitrev_c15
2 files changed, 17 insertions, 1 deletions
diff --git a/benchmarks/benchfft/distinfo b/benchmarks/benchfft/distinfo
index bf8ba9f5e65..62b60a4c4ba 100644
--- a/benchmarks/benchfft/distinfo
+++ b/benchmarks/benchfft/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2008/06/21 20:00:22 joerg Exp $
+$NetBSD: distinfo,v 1.9 2011/09/12 07:10:32 dholland Exp $
SHA1 (benchfft-2.0.tar.gz) = b49cbad9d390e54d3afe661d51d3dce7b3d6435e
RMD160 (benchfft-2.0.tar.gz) = bd9ef45e633b8384c836e32e1e1cee877495bb26
@@ -14,3 +14,4 @@ SHA1 (patch-ae) = ea3cc3719931d2d99484b5291e878a289565174f
SHA1 (patch-af) = b301bdb6707f448fae83d1f0659ae966e3869027
SHA1 (patch-ag) = a08153a6a8800184e7d186bf44a36f11372e853c
SHA1 (patch-ah) = f03ce90b929b8a460157aff96facb3163d4e401c
+SHA1 (patch-c__source_bitrev_c) = a5ba61121c0a0950278cbe04f6638afd091d106c
diff --git a/benchmarks/benchfft/patches/patch-c__source_bitrev_c b/benchmarks/benchfft/patches/patch-c__source_bitrev_c
new file mode 100644
index 00000000000..1e3ddc40a77
--- /dev/null
+++ b/benchmarks/benchfft/patches/patch-c__source_bitrev_c
@@ -0,0 +1,15 @@
+$NetBSD: patch-c__source_bitrev_c,v 1.1 2011/09/12 07:10:32 dholland Exp $
+
+- fix mismatched return statements, which clang dislikes
+
+--- c_source/bitrev.c~ 1998-10-20 16:42:09.000000000 +0000
++++ c_source/bitrev.c
+@@ -9,7 +9,7 @@ typedef FFTW_REAL real;
+
+ void bitrev512(real *, int);
+
+-bitrev(x, length)
++void bitrev(x, length)
+ real *x;
+ int length;
+ {