On Thu, Apr 17, 2008 at 11:07:23PM +0200, Aniruddha wrote:
> Strangely enough the patch is already included in the latest ebuild:
> 
> >From the changelog:
> > 14 May 2007; Thilo Bangert <[EMAIL PROTECTED]> metadata.xml:
> >   add <herd>no-herd</herd>
> > 
> > *libtar-1.2.11-r1 (28 Feb 2005)
> > 
> >   28 Feb 2005; Mike Frysinger <[EMAIL PROTECTED]>
> >   +files/libtar-1.2.11-memleak.patch, +libtar-1.2.11-r1.ebuild:
> >   Add patch to plug up memleak #82858 by S.Caglar Onur.

Below is the offending piece of the patch (from the bug report URL),
which doesn't have anything to do with fixing the memory leak and can
be safely removed from the patch file.  This will let you build the GUI.

You may wish to submit a bug report to Gentoo.  Feel free to reference:

http://sourceforge.net/mailarchive/message.php?msg_id=20070803200729.GA7068%40foursquare.net

- Chris



diff -Naur libtar-1.2.11-orig/lib/libtar.h libtar-1.2.11/lib/libtar.h
--- libtar-1.2.11-orig/lib/libtar.h     2003-01-06 17:40:59.000000000 -0800
+++ libtar-1.2.11/lib/libtar.h  2004-08-13 12:26:52.000000000 -0700
@@ -63,9 +63,9 @@
 /***** handle.c ************************************************************/
 
 typedef int (*openfunc_t)(const char *, int, ...);
-typedef int (*closefunc_t)(int);
-typedef ssize_t (*readfunc_t)(int, void *, size_t);
-typedef ssize_t (*writefunc_t)(int, const void *, size_t);
+typedef int (*closefunc_t)(long);
+typedef ssize_t (*readfunc_t)(long, void *, size_t);
+typedef ssize_t (*writefunc_t)(long, const void *, size_t);
 
 typedef struct
 {


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to