aboutsummaryrefslogtreecommitdiffstats
path: root/audio
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
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')
-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/