diff options
author | joerg <joerg@pkgsrc.org> | 2005-12-11 21:10:29 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2005-12-11 21:10:29 +0000 |
commit | 977f71db1f409a5a471c67c917f78ba57053697b (patch) | |
tree | 6721757d9da93b9d0e1048971674bbbfa8d26252 /audio/rsynth | |
parent | 071be08a0ae08f6383ffc715480b59abef16d64d (diff) | |
download | pkgsrc-977f71db1f409a5a471c67c917f78ba57053697b.tar.gz |
Let's assume for a moment you want to test for a function in a library.
Does it make sense that the test program should actually be compilable?
GCC 3.4 rejects atan called with no arguments after all.
Diffstat (limited to 'audio/rsynth')
-rw-r--r-- | audio/rsynth/distinfo | 3 | ||||
-rw-r--r-- | audio/rsynth/patches/patch-ab | 28 |
2 files changed, 30 insertions, 1 deletions
diff --git a/audio/rsynth/distinfo b/audio/rsynth/distinfo index a45f9bcb8b9..7adda9c827c 100644 --- a/audio/rsynth/distinfo +++ b/audio/rsynth/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2005/02/23 20:39:51 agc Exp $ +$NetBSD: distinfo,v 1.3 2005/12/11 21:10:29 joerg Exp $ SHA1 (rsynth/rsynth-2.0.tar.gz) = 50693c68eb74cf82405c7d402d31d3c811ad4515 RMD160 (rsynth/rsynth-2.0.tar.gz) = 02efbf2e3db504c5c8fb76e8e21253c48900fbfb @@ -16,3 +16,4 @@ SHA1 (rsynth/phoneset.0.4) = 8c7e386dbaf33a4e16debd4c538a154a247c1e97 RMD160 (rsynth/phoneset.0.4) = 9565dcb4db24fc0b0cfd16ea31f45994f24e2753 Size (rsynth/phoneset.0.4) = 629 bytes SHA1 (patch-aa) = 59b0b765461adec5140a8867c7a668cd87d71281 +SHA1 (patch-ab) = 9305005ff26bdb309d2ca8c10e4713fb21d9c0d6 diff --git a/audio/rsynth/patches/patch-ab b/audio/rsynth/patches/patch-ab new file mode 100644 index 00000000000..06122892925 --- /dev/null +++ b/audio/rsynth/patches/patch-ab @@ -0,0 +1,28 @@ +$NetBSD: patch-ab,v 1.3 2005/12/11 21:10:29 joerg Exp $ + +--- configure.orig 2005-12-11 20:56:09.000000000 +0000 ++++ configure +@@ -1329,9 +1329,10 @@ cat > conftest.$ac_ext <<EOF + #line 1330 "configure" + #include "confdefs.h" + ++double val; + int main() { return 0; } + int t() { +-atan() ++atan(val) + ; return 0; } + EOF + if eval $ac_link; then +@@ -1368,9 +1369,10 @@ cat > conftest.$ac_ext <<EOF + #line 1369 "configure" + #include "confdefs.h" + ++double val; + int main() { return 0; } + int t() { +-atan() ++atan(val) + ; return 0; } + EOF + if eval $ac_link; then |