diff options
author | adamw <adamw@FreeBSD.org> | 2004-02-01 22:30:48 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2004-02-01 22:30:48 +0800 |
commit | 3c494b4ab1e9eb8e5b8e0d640e95ed49993466e7 (patch) | |
tree | 24ed7fc35d935bb20f2d8653045a93bce945e202 /audio | |
parent | 755e9199a599394039ced9b6fe68c429cf733b2c (diff) | |
download | freebsd-ports-gnome-3c494b4ab1e9eb8e5b8e0d640e95ed49993466e7.tar.gz freebsd-ports-gnome-3c494b4ab1e9eb8e5b8e0d640e95ed49993466e7.tar.zst freebsd-ports-gnome-3c494b4ab1e9eb8e5b8e0d640e95ed49993466e7.zip |
Fix build on -STABLE.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/mp3splt/files/patch-mp3.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/audio/mp3splt/files/patch-mp3.c b/audio/mp3splt/files/patch-mp3.c new file mode 100644 index 000000000000..1fb687739581 --- /dev/null +++ b/audio/mp3splt/files/patch-mp3.c @@ -0,0 +1,14 @@ +--- mp3.c.orig Sun Feb 1 09:28:27 2004 ++++ mp3.c Sun Feb 1 09:29:11 2004 +@@ -529,9 +529,10 @@ + { + while (state->bytes < begin) + { ++ off_t to_read; + if (feof(state->file_input)) + return -1; +- off_t to_read = (begin - state->bytes); ++ to_read = (begin - state->bytes); + if (to_read > MAD_BSIZE) + to_read = MAD_BSIZE; + if ((state->data_len = fread(state->inputBuffer, 1, to_read, state->file_input))<=0) |