diff options
author | wiedi <wiedi@pkgsrc.org> | 2014-02-22 14:19:36 +0000 |
---|---|---|
committer | wiedi <wiedi@pkgsrc.org> | 2014-02-22 14:19:36 +0000 |
commit | 17d58c5b0f35db4faf39c852d368705a4b2a6e07 (patch) | |
tree | 15387e5db7d4378478b98858b226810113f6d03f | |
parent | babd18a1530fee39eaddf3fdc75f2a19910a158a (diff) | |
download | pkgsrc-17d58c5b0f35db4faf39c852d368705a4b2a6e07.tar.gz |
Needs include of values.h for M_PI on SunOS
-rw-r--r-- | audio/sptk/distinfo | 3 | ||||
-rw-r--r-- | audio/sptk/patches/patch-bin_pitch_swipe_swipe.c | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/audio/sptk/distinfo b/audio/sptk/distinfo index e1bea6ed128..e37a9abbe72 100644 --- a/audio/sptk/distinfo +++ b/audio/sptk/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.4 2013/10/07 13:06:04 obache Exp $ +$NetBSD: distinfo,v 1.5 2014/02/22 14:19:36 wiedi Exp $ SHA1 (SPTK-3.6.tar.gz) = ecc5190c08cc64e40bd1274398a54e1556eb0206 RMD160 (SPTK-3.6.tar.gz) = e7c324af7130b862a897f7ef997da05d1b1a99d1 @@ -9,3 +9,4 @@ Size (SPTKexamples-3.6.pdf) = 2409914 bytes SHA1 (SPTKref-3.6.pdf) = eebd4ed6dfb7536a10cbb2379bd17e71f2331a23 RMD160 (SPTKref-3.6.pdf) = bda884198f437c78eda6ded60f5087c40dbaad07 Size (SPTKref-3.6.pdf) = 1155970 bytes +SHA1 (patch-bin_pitch_swipe_swipe.c) = 9e94f498992938fda8886dd93283627c2901513a diff --git a/audio/sptk/patches/patch-bin_pitch_swipe_swipe.c b/audio/sptk/patches/patch-bin_pitch_swipe_swipe.c new file mode 100644 index 00000000000..5d3c9994f7d --- /dev/null +++ b/audio/sptk/patches/patch-bin_pitch_swipe_swipe.c @@ -0,0 +1,15 @@ +$NetBSD: patch-bin_pitch_swipe_swipe.c,v 1.1 2014/02/22 14:19:36 wiedi Exp $ + +include values.h for M_PI on SunOS +--- bin/pitch/swipe/swipe.c.orig 2012-12-22 12:25:38.000000000 +0000 ++++ bin/pitch/swipe/swipe.c +@@ -80,6 +80,9 @@ + #endif + + #include <math.h> ++#if defined(__sun) ++#include <values.h> ++#endif + #include <stdio.h> + #include <string.h> + #include <stdlib.h> |