* [gentoo-commits] gentoo-x86 commit in sys-fs/fuse-zip/files: libzip-fix-0.10.patch
@ 2011-10-19 20:05 Markos Chandras (hwoarang)
0 siblings, 0 replies; only message in thread
From: Markos Chandras (hwoarang) @ 2011-10-19 20:05 UTC (permalink / raw
To: gentoo-commits
hwoarang 11/10/19 20:05:18
Added: libzip-fix-0.10.patch
Log:
Fix building with new gcc and libzip. Bug #364747. Thanks to Billy Holmes <billy@gonoph.net>
(Portage version: 2.2.0_alpha55/cvs/Linux x86_64)
Revision Changes Path
1.1 sys-fs/fuse-zip/files/libzip-fix-0.10.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/fuse-zip/files/libzip-fix-0.10.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/fuse-zip/files/libzip-fix-0.10.patch?rev=1.1&content-type=text/plain
Index: libzip-fix-0.10.patch
===================================================================
diff -ru fuse-zip-0.2.13/lib/bigBuffer.cpp fuse-zip-0.2.13.new//lib/bigBuffer.cpp
--- fuse-zip-0.2.13/lib/bigBuffer.cpp 2010-12-06 12:34:32.000000000 -0500
+++ fuse-zip-0.2.13.new//lib/bigBuffer.cpp 2011-09-28 21:40:01.294946957 -0400
@@ -236,7 +236,7 @@
len = offset;
}
-ssize_t BigBuffer::zipUserFunctionCallback(void *state, void *data, size_t len, enum zip_source_cmd cmd) {
+zip_int64_t BigBuffer::zipUserFunctionCallback(void *state, void *data, zip_uint64_t len, enum zip_source_cmd cmd) {
CallBackStruct *b = (CallBackStruct*)state;
switch (cmd) {
case ZIP_SOURCE_OPEN: {
diff -ru fuse-zip-0.2.13/lib/bigBuffer.h fuse-zip-0.2.13.new//lib/bigBuffer.h
--- fuse-zip-0.2.13/lib/bigBuffer.h 2010-12-06 12:34:32.000000000 -0500
+++ fuse-zip-0.2.13.new//lib/bigBuffer.h 2011-09-28 21:40:23.203719133 -0400
@@ -52,7 +52,7 @@
* never called because read() always successfull.
* See zip_source_function(3) for details.
*/
- static ssize_t zipUserFunctionCallback(void *state, void *data, size_t len, enum zip_source_cmd cmd);
+ static zip_int64_t zipUserFunctionCallback(void *state, void *data, zip_uint64_t len, enum zip_source_cmd cmd);
/**
* Return number of chunks needed to keep 'offset' bytes.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-10-19 20:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-19 20:05 [gentoo-commits] gentoo-x86 commit in sys-fs/fuse-zip/files: libzip-fix-0.10.patch Markos Chandras (hwoarang)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox