summaryrefslogtreecommitdiff
path: root/development/snack/01-mathinc.patch
diff options
context:
space:
mode:
authorZbigniew Baniewski <zb@ispid.com.pl>2011-01-09 00:26:17 -0200
committerRobby Workman <rworkman@slackbuilds.org>2011-01-10 15:04:24 -0600
commit0d456ff51444fb9497e76bec89b5856b6fc5aa1b (patch)
tree8c4ae8fed1a207dbc3cdc90ad1577af74773c28e /development/snack/01-mathinc.patch
parent3ef093ad9540d9c317b4795ec72642cda11cde56 (diff)
downloadslackbuilds-0d456ff51444fb9497e76bec89b5856b6fc5aa1b.tar.gz
development/snack: Added (sound extensions for TCL)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'development/snack/01-mathinc.patch')
-rw-r--r--development/snack/01-mathinc.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/development/snack/01-mathinc.patch b/development/snack/01-mathinc.patch
new file mode 100644
index 0000000000..7ec1e91f60
--- /dev/null
+++ b/development/snack/01-mathinc.patch
@@ -0,0 +1,11 @@
+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))