From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SAi3K-0005ay-4d for garchives@archives.gentoo.org; Thu, 22 Mar 2012 13:27:45 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C0092E0796; Thu, 22 Mar 2012 13:27:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 93128E0796 for ; Thu, 22 Mar 2012 13:27:28 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CA3241B4015 for ; Thu, 22 Mar 2012 13:27:27 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2199) id 9D9A22004C; Thu, 22 Mar 2012 13:27:26 +0000 (UTC) From: "Richard Freeman (rich0)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, rich0@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in app-misc/sleepyhead/files: zlib-of.patch X-VCS-Repository: gentoo-x86 X-VCS-Files: zlib-of.patch X-VCS-Directories: app-misc/sleepyhead/files X-VCS-Committer: rich0 X-VCS-Committer-Name: Richard Freeman Content-Type: text/plain; charset=utf8 Message-Id: <20120322132726.9D9A22004C@flycatcher.gentoo.org> Date: Thu, 22 Mar 2012 13:27:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 7e4060b8-38bf-4d74-a9ee-8b2094839b7a X-Archives-Hash: 7add20b72b3110aa54ee6ce442319f72 rich0 12/03/22 13:27:26 Added: zlib-of.patch Log: fix 409255 - patch for now until upstream direction is clear =20 (Portage version: 2.1.10.49/cvs/Linux x86_64) Revision Changes Path 1.1 app-misc/sleepyhead/files/zlib-of.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/sleepyhea= d/files/zlib-of.patch?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/sleepyhea= d/files/zlib-of.patch?rev=3D1.1&content-type=3Dtext/plain Index: zlib-of.patch =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D diff --git a/quazip/ioapi.h b/quazip/ioapi.h index 716dd4b..a114915 100644 --- a/quazip/ioapi.h +++ b/quazip/ioapi.h @@ -37,13 +37,13 @@ extern "C" { #endif =20 -typedef voidpf (ZCALLBACK *open_file_func) OF((voidpf opaque, voidpf fil= e, int mode)); -typedef uLong (ZCALLBACK *read_file_func) OF((voidpf opaque, voidpf str= eam, void* buf, uLong size)); -typedef uLong (ZCALLBACK *write_file_func) OF((voidpf opaque, voidpf st= ream, const void* buf, uLong size)); -typedef uLong (ZCALLBACK *tell_file_func) OF((voidpf opaque, voidpf st= ream)); -typedef int (ZCALLBACK *seek_file_func) OF((voidpf opaque, voidpf stre= am, uLong offset, int origin)); -typedef int (ZCALLBACK *close_file_func) OF((voidpf opaque, voidpf st= ream)); -typedef int (ZCALLBACK *testerror_file_func) OF((voidpf opaque, voidp= f stream)); +typedef voidpf (ZCALLBACK *open_file_func) _Z_OF((voidpf opaque, voidpf = file, int mode)); +typedef uLong (ZCALLBACK *read_file_func) _Z_OF((voidpf opaque, voidpf = stream, void* buf, uLong size)); +typedef uLong (ZCALLBACK *write_file_func) _Z_OF((voidpf opaque, voidpf= stream, const void* buf, uLong size)); +typedef uLong (ZCALLBACK *tell_file_func) _Z_OF((voidpf opaque, voidpf= stream)); +typedef int (ZCALLBACK *seek_file_func) _Z_OF((voidpf opaque, voidpf s= tream, uLong offset, int origin)); +typedef int (ZCALLBACK *close_file_func) _Z_OF((voidpf opaque, voidpf= stream)); +typedef int (ZCALLBACK *testerror_file_func) _Z_OF((voidpf opaque, vo= idpf stream)); =20 typedef struct zlib_filefunc_def_s { @@ -59,7 +59,7 @@ typedef struct zlib_filefunc_def_s =20 =20 =20 -void fill_qiodevice_filefunc OF((zlib_filefunc_def* pzlib_filefunc_def))= ; +void fill_qiodevice_filefunc _Z_OF((zlib_filefunc_def* pzlib_filefunc_de= f)); =20 #define ZREAD(filefunc,filestream,buf,size) ((*((filefunc).zread_file))(= (filefunc).opaque,filestream,buf,size)) #define ZWRITE(filefunc,filestream,buf,size) ((*((filefunc).zwrite_file)= )((filefunc).opaque,filestream,buf,size))