aboutsummaryrefslogtreecommitdiff
path: root/audio/snack
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-07-11 00:16:57 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-07-11 00:16:57 +0000
commitc5d93f28cd739afb6379d5ec5a25a67205e92902 (patch)
treebcdebe5db1ef858e6df9d1906f05135bcf43c9b1 /audio/snack
parent28339e61c95ef3dd4c453d1fcbd3f9f50705efde (diff)
downloadports-c5d93f28cd739afb6379d5ec5a25a67205e92902.tar.gz
ports-c5d93f28cd739afb6379d5ec5a25a67205e92902.zip
Notes
Diffstat (limited to 'audio/snack')
-rw-r--r--audio/snack/Makefile4
-rw-r--r--audio/snack/distinfo6
-rw-r--r--audio/snack/files/patch-generic-jkFormatMP3.c18
-rw-r--r--audio/snack/pkg-descr1
4 files changed, 24 insertions, 5 deletions
diff --git a/audio/snack/Makefile b/audio/snack/Makefile
index 2a7da753f1b1..bf6ef1c0e078 100644
--- a/audio/snack/Makefile
+++ b/audio/snack/Makefile
@@ -7,12 +7,12 @@
#
PORTNAME= snack
-PORTVERSION= 2.2.9
+PORTVERSION= 2.2.10
CATEGORIES= audio tcl84 tk84
MASTER_SITES= http://www.speech.kth.se/snack/dist/
DISTNAME= ${PORTNAME}${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= simon@olofsson.de
COMMENT= A sound toolkit for scripting languages
LIB_DEPENDS= tk84.1:${PORTSDIR}/x11-toolkits/tk84
diff --git a/audio/snack/distinfo b/audio/snack/distinfo
index a18a834f9286..aaeea24d0083 100644
--- a/audio/snack/distinfo
+++ b/audio/snack/distinfo
@@ -1,3 +1,3 @@
-MD5 (snack2.2.9.tar.gz) = 8ee1eb3de9328d6ac3f1f3e43945f481
-SHA256 (snack2.2.9.tar.gz) = 620fc9a3f3bd9f3a386d64b465fcffc2030992cd7558bab3122b8929b7f4bf88
-SIZE (snack2.2.9.tar.gz) = 1792744
+MD5 (snack2.2.10.tar.gz) = 98da0dc73599b3a039cba1b7ff169399
+SHA256 (snack2.2.10.tar.gz) = 4bfe764547ab92ba58f43b77366dbb7c7b3512d65a27cdbf9e585a9cb64ce81e
+SIZE (snack2.2.10.tar.gz) = 1798252
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
diff --git a/audio/snack/pkg-descr b/audio/snack/pkg-descr
index 97632d2eed13..b8f690470c38 100644
--- a/audio/snack/pkg-descr
+++ b/audio/snack/pkg-descr
@@ -13,4 +13,5 @@ rapid development nature of scripting languages. As a bonus you get an
application that is cross-platform from start. It is also easy to integrate
Snack based applications with existing sound analysis software.
+Author: Kare Sjolander <kare@speech.kth.se>
WWW: http://www.speech.kth.se/snack/