Fix build on Fedora 22.
This commit is contained in:
parent
0960aaf7f0
commit
3149969630
2 changed files with 21 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
$NetBSD: distinfo,v 1.13 2009/05/09 13:22:55 joerg Exp $
|
||||
$NetBSD: distinfo,v 1.14 2014/01/01 03:03:01 ryoon Exp $
|
||||
|
||||
SHA1 (speex-1.2rc1.tar.gz) = 52daa72572e844e5165315e208da539b2a55c5eb
|
||||
RMD160 (speex-1.2rc1.tar.gz) = 6f4a11ef910b0db9b820826bcac3da1b79cad3a1
|
||||
Size (speex-1.2rc1.tar.gz) = 1061882 bytes
|
||||
SHA1 (patch-ab) = 377ce413ee4a644327841597ba182f1b67e8eab8
|
||||
SHA1 (patch-libspeex_scal.c) = 25f6391b4500a35a04d4a5b12a3fb313778885f1
|
||||
|
|
19
audio/speex/patches/patch-libspeex_scal.c
Normal file
19
audio/speex/patches/patch-libspeex_scal.c
Normal file
|
@ -0,0 +1,19 @@
|
|||
$NetBSD: patch-libspeex_scal.c,v 1.1 2014/01/01 03:03:02 ryoon Exp $
|
||||
|
||||
Fix build on Fedora 22.
|
||||
From upstream,
|
||||
http://git.xiph.org/?p=speex.git;a=commitdiff_plain;h=42ef4a1d79eb85d450686e633500bc85450d8036
|
||||
|
||||
--- libspeex/scal.c.orig 2008-06-05 09:27:47.000000000 +0000
|
||||
+++ libspeex/scal.c
|
||||
@@ -52,6 +52,10 @@ The algorithm implemented here is descri
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
+#ifndef M_PI
|
||||
+#define M_PI 3.14159265358979323846 /* pi */
|
||||
+#endif
|
||||
+
|
||||
#define ALLPASS_ORDER 20
|
||||
|
||||
struct SpeexDecorrState_ {
|
Loading…
Reference in a new issue