pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/milkytracker Don't jump over variable initializa...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7f2564f11d38
branches:  trunk
changeset: 597905:7f2564f11d38
user:      hans <hans%pkgsrc.org@localhost>
date:      Wed Jan 11 19:01:48 2012 +0000

description:
Don't jump over variable initialization.

diffstat:

 audio/milkytracker/distinfo                                                 |   3 +-
 audio/milkytracker/patches/patch-src_compression_zziplib_generic_fseeko.cpp |  23 ++++++++++
 2 files changed, 25 insertions(+), 1 deletions(-)

diffs (39 lines):

diff -r f9a2bc3f4b11 -r 7f2564f11d38 audio/milkytracker/distinfo
--- a/audio/milkytracker/distinfo       Wed Jan 11 18:43:31 2012 +0000
+++ b/audio/milkytracker/distinfo       Wed Jan 11 19:01:48 2012 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2009/08/27 22:50:16 ahoka Exp $
+$NetBSD: distinfo,v 1.2 2012/01/11 19:01:48 hans Exp $
 
 SHA1 (milkytracker-0.90.80.tar.bz2) = e6adedee56a6a1bf096b5311c319954ea54977dc
 RMD160 (milkytracker-0.90.80.tar.bz2) = cb535a50c29b8d722617007054921065e71c1615
 Size (milkytracker-0.90.80.tar.bz2) = 1799270 bytes
 SHA1 (patch-aa) = 8e0a8d58c54995483f639b7f2d936b0b1ffd1a8f
+SHA1 (patch-src_compression_zziplib_generic_fseeko.cpp) = df4f1672986c774775acc8c35b67fa43470d4bab
diff -r f9a2bc3f4b11 -r 7f2564f11d38 audio/milkytracker/patches/patch-src_compression_zziplib_generic_fseeko.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/milkytracker/patches/patch-src_compression_zziplib_generic_fseeko.cpp       Wed Jan 11 19:01:48 2012 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-src_compression_zziplib_generic_fseeko.cpp,v 1.1 2012/01/11 19:01:48 hans Exp $
+
+Don't jump over variable initialization.
+
+--- src/compression/zziplib/generic/fseeko.cpp.orig    2008-01-05 18:33:45.000000000 +0100
++++ src/compression/zziplib/generic/fseeko.cpp 2011-12-30 16:11:43.327510421 +0100
+@@ -445,6 +445,7 @@ struct zzip_entry_file /* : zzip_file_he
+ zzip__new__ ZZIP_ENTRY_FILE*
+ zzip_entry_fopen (ZZIP_ENTRY* entry, int takeover)
+ {
++    ___ zzip_off_t seek;
+     if (! entry) return 0;
+     if (! takeover) {
+       ZZIP_ENTRY* found = (ZZIP_ENTRY*)malloc (sizeof(*entry));
+@@ -472,7 +473,7 @@ zzip_entry_fopen (ZZIP_ENTRY* entry, int
+     file->zlib.zalloc = Z_NULL;
+     file->zlib.zfree = Z_NULL;
+ 
+-    ___ zzip_off_t seek = file->data;
++    seek = file->data;
+     seek += sizeof(file->buffer); seek -= seek & (sizeof(file->buffer)-1);
+     assert (file->data < seek); /* pre-read to next PAGESIZE boundary... */
+     fseeko (file->entry->diskfile, file->data + file->dataoff, SEEK_SET);



Home | Main Index | Thread Index | Old Index