diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-23 00:18:05 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-23 00:18:05 +0000 |
commit | b93d04f3ebc6dd3b465874629b257395c8cb4cf3 (patch) | |
tree | 1eedf4eff14fb34c72c9d2272f6f03a797021ba9 /audio | |
parent | 6cf3e7db3ba82153dbcadeced0fdcfd82224bab0 (diff) | |
download | ports-b93d04f3ebc6dd3b465874629b257395c8cb4cf3.tar.gz ports-b93d04f3ebc6dd3b465874629b257395c8cb4cf3.zip |
Notes
Diffstat (limited to 'audio')
-rw-r--r-- | audio/lopster/Makefile | 2 | ||||
-rw-r--r-- | audio/lopster/files/patch-src::transfer.c | 15 |
2 files changed, 16 insertions, 1 deletions
diff --git a/audio/lopster/Makefile b/audio/lopster/Makefile index 37eb4a6d2c0b..5d718c553dc6 100644 --- a/audio/lopster/Makefile +++ b/audio/lopster/Makefile @@ -7,7 +7,7 @@ PORTNAME= lopster PORTVERSION= 1.0.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} diff --git a/audio/lopster/files/patch-src::transfer.c b/audio/lopster/files/patch-src::transfer.c new file mode 100644 index 000000000000..ffc51a29a38f --- /dev/null +++ b/audio/lopster/files/patch-src::transfer.c @@ -0,0 +1,15 @@ +--- src/transfer.c.orig Sun Nov 4 20:30:19 2001 ++++ src/transfer.c Mon Nov 18 11:09:25 2002 +@@ -1827,8 +1827,10 @@ + printf("set offset to %ld %d\n", transfer->progress, cnt); + #endif + transfer->resume_check = l_malloc(cnt * sizeof(char)); +- transfer->check_length = read(fileno(transfer->file), +- transfer->resume_check, cnt); ++ transfer->check_length = fread(transfer->resume_check, ++ sizeof(char), ++ cnt, ++ transfer->file); + fclose(transfer->file); + + if (transfer->check_length != cnt) { |