slackbuilds_ponce/development/snack/01-mathinc.patch
Zbigniew Baniewski 0d456ff514 development/snack: Added (sound extensions for TCL)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
2011-01-10 15:04:24 -06:00

11 lines
513 B
Diff

diff -Nur snack2.2.10/generic/jkFormatMP3.c snack2.2.10.new/generic/jkFormatMP3.c
--- snack2.2.10/generic/jkFormatMP3.c 2005-12-14 11:29:38.000000000 +0000
+++ snack2.2.10.new/generic/jkFormatMP3.c 2011-01-01 01:24:04.723341697 +0000
@@ -29,6 +29,7 @@
#include "snack.h"
#include "jkFormatMP3.h"
#include <string.h>
+#include <math.h>
#define FRAS2(is,a) ((is) > 0 ? t_43[(is)]*(a):-t_43[-(is)]*(a))
#define MAXFRAMESIZE 2106 /* frame size starting at header */
#define roundf(x) (floor((x)+(float )0.5f))