diff options
author | dholland <dholland@pkgsrc.org> | 2012-04-22 21:08:20 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2012-04-22 21:08:20 +0000 |
commit | f1a01f0e97d392b1d97bf133d5f8edf848a4ecd0 (patch) | |
tree | 124626a54f1957b5972489392f8d257a5cd096dd /benchmarks | |
parent | 2ad6c7d5c54bcd20f349c0a9da553dbe843a4a29 (diff) | |
download | pkgsrc-f1a01f0e97d392b1d97bf133d5f8edf848a4ecd0.tar.gz |
Declare void function void; fixes clang build.
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/benchfft/distinfo | 3 | ||||
-rw-r--r-- | benchmarks/benchfft/patches/patch-c__source_dint_c | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/benchmarks/benchfft/distinfo b/benchmarks/benchfft/distinfo index 2b203971018..748dcd74915 100644 --- a/benchmarks/benchfft/distinfo +++ b/benchmarks/benchfft/distinfo @@ -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-af) = b301bdb6707f448fae83d1f0659ae966e3869027 SHA1 (patch-ag) = a08153a6a8800184e7d186bf44a36f11372e853c SHA1 (patch-ah) = f03ce90b929b8a460157aff96facb3163d4e401c SHA1 (patch-c__source_bitrev_c) = a5ba61121c0a0950278cbe04f6638afd091d106c +SHA1 (patch-c__source_dint_c) = 5f86bea25e7a290f5f02b5423602fa2db87a588d 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; |