svn commit: r382897 - in head/audio/shntool: . files
Alexey Dokuchaev
danfe at FreeBSD.org
Wed Apr 1 08:56:17 UTC 2015
Author: danfe
Date: Wed Apr 1 08:56:15 2015
New Revision: 382897
URL: https://svnweb.freebsd.org/changeset/ports/382897
QAT: https://qat.redports.org/buildarchive/r382897/
Log:
Fix a known bug: shntool fails to determine correct size/length of very large
files (possibly 64-bit related). Transfer maintainership to multimedia@ team.
Obtained from: https://github.com/flacon/shntool/commit/4c6fc2e
Added:
head/audio/shntool/files/
head/audio/shntool/files/patch-src_core__fileio.c (contents, props changed)
Modified:
head/audio/shntool/Makefile
Modified: head/audio/shntool/Makefile
==============================================================================
--- head/audio/shntool/Makefile Wed Apr 1 08:39:14 2015 (r382896)
+++ head/audio/shntool/Makefile Wed Apr 1 08:56:15 2015 (r382897)
@@ -3,10 +3,11 @@
PORTNAME= shntool
PORTVERSION= 3.0.10
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://www.etree.org/shnutils/shntool/dist/src/
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= multimedia at FreeBSD.org
COMMENT= Multi-purpose WAVE data processing and reporting utility
GNU_CONFIGURE= yes
Added: head/audio/shntool/files/patch-src_core__fileio.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/shntool/files/patch-src_core__fileio.c Wed Apr 1 08:56:15 2015 (r382897)
@@ -0,0 +1,15 @@
+--- src/core_fileio.c.orig 2009-03-11 17:18:01 UTC
++++ src/core_fileio.c
+@@ -110,10 +110,10 @@ bool read_value_long(FILE *file,unsigned
+ buf[4] = 0;
+
+ if (be_val)
+- *be_val = (buf[0] << 24) | (buf[1] << 16) | (buf[2] << 8) | buf[3];
++ *be_val = ((buf[0] << 24) | (buf[1] << 16) | (buf[2] << 8) | buf[3]) & 0xFFFFFFFF;
+
+ if (le_val)
+- *le_val = (buf[3] << 24) | (buf[2] << 16) | (buf[1] << 8) | buf[0];
++ *le_val = ((buf[3] << 24) | (buf[2] << 16) | (buf[1] << 8) | buf[0]) & 0xFFFFFFFF;
+
+ if (tag_val)
+ tagcpy(tag_val,buf);
More information about the svn-ports-head
mailing list