aboutsummaryrefslogtreecommitdiffstats
path: root/audio/snack/files
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-07-11 08:16:57 +0800
committerrafan <rafan@FreeBSD.org>2006-07-11 08:16:57 +0800
commitf2a3f9df174be51d8a6e55c1756842bfa99cab8c (patch)
tree839f68ba892599fbd6e08ee740263de31b8b9550 /audio/snack/files
parent16c797b946381426b9c4c73e0e006ee7642760d6 (diff)
downloadfreebsd-ports-gnome-f2a3f9df174be51d8a6e55c1756842bfa99cab8c.tar.gz
freebsd-ports-gnome-f2a3f9df174be51d8a6e55c1756842bfa99cab8c.tar.zst
freebsd-ports-gnome-f2a3f9df174be51d8a6e55c1756842bfa99cab8c.zip
- Update to 2.2.10
- Pass maintainership to submitter - Add AUTHOR in pkg-descr PR: 100043 Submitted by: Simon Olofsson <simon olofsson.de>
Diffstat (limited to 'audio/snack/files')
-rw-r--r--audio/snack/files/patch-generic-jkFormatMP3.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/audio/snack/files/patch-generic-jkFormatMP3.c b/audio/snack/files/patch-generic-jkFormatMP3.c
new file mode 100644
index 000000000000..70044cb6dfea
--- /dev/null
+++ b/audio/snack/files/patch-generic-jkFormatMP3.c
@@ -0,0 +1,18 @@
+--- ../generic/jkFormatMP3.c.orig Mon Jul 10 22:17:06 2006
++++ ../generic/jkFormatMP3.c Mon Jul 10 22:17:17 2006
+@@ -31,7 +31,6 @@
+ #include <string.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))
+ static char *gblOutputbuf;
+ static char *gblReadbuf;
+ static int gblBufind = 0;
+@@ -1311,6 +1310,7 @@
+
+ #include <math.h>
+
++#define roundf(x) (floor((x)+(float )0.5f))
+ #define PI12 0.261799387f
+ #define PI36 0.087266462f
+ #define COSPI3 0.500000000f