Date: Tue, 11 Aug 2009 21:31:29 -0300 (BRT) From: Sylvio Cesar <scjamorim@bsd.com.br> To: FreeBSD-gnats-submit@FreeBSD.org Cc: scjamorim@bsd.com.br Subject: ports/137684: [PATCH] x11-fm/gnome-commander2: BUMP PORTREVISION. Message-ID: <20090812003129.56D942296AD@fbsd72.scjamorim.org> Resent-Message-ID: <200908120040.n7C0e2iI012797@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 137684 >Category: ports >Synopsis: [PATCH] x11-fm/gnome-commander2: BUMP PORTREVISION. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Aug 12 00:40:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Sylvio Cesar >Release: FreeBSD 7.2-RELEASE i386 >Organization: >Environment: System: FreeBSD fbsd72.scjamorim.org 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon Aug 3 22:10:47 BRT >Description: - BUMP PORTREVISION - Applied patch to fix the bug that causes it to crash on FreeBSD. See http://bugzilla.gnome.org/show_bug.cgi?id=591206. The log of build is in mine tinderbox: http://www.scjamorim.org/Home/gnome-commander2-1.2.8_1,1.log Added file(s): - files/patch-src-owner.cc Port maintainer (scjamorim@bsd.com.br) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- gnome-commander2-1.2.8_1,1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/x11-fm/gnome-commander2/Makefile,v retrieving revision 1.46 diff -u -u -r1.46 Makefile --- Makefile 2 Aug 2009 19:36:13 -0000 1.46 +++ Makefile 12 Aug 2009 00:21:12 -0000 @@ -7,6 +7,7 @@ PORTNAME= gnome-commander PORTVERSION= 1.2.8 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= x11-fm gnome MASTER_SITES= GNOME Index: files/patch-src-owner.cc =================================================================== RCS file: files/patch-src-owner.cc diff -N files/patch-src-owner.cc --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-src-owner.cc 12 Aug 2009 00:21:12 -0000 @@ -0,0 +1,17 @@ +--- src/owner.cc.orig 2009-06-29 06:57:46.000000000 -0300 ++++ src/owner.cc 2009-08-10 20:51:05.000000000 -0300 +@@ -62,7 +62,13 @@ + + if (!buff) + { +- buffsize = max(sysconf(_SC_GETPW_R_SIZE_MAX), sysconf(_SC_GETGR_R_SIZE_MAX)); ++ long int pw_size = sysconf(_SC_GETPW_R_SIZE_MAX); ++ long int gr_size = sysconf(_SC_GETGR_R_SIZE_MAX); ++ ++ if (pw_size==-1) pw_size = 4096; // `sysconf' does not support _SC_GETPW_R_SIZE_MAX. Try a moderate value. ++ if (gr_size==-1) gr_size = 4096; // `sysconf' does not support _SC_GETGR_R_SIZE_MAX. Try a moderate value. ++ ++ buffsize = max(pw_size, gr_size); + buff = g_new0 (char, buffsize); + } + --- gnome-commander2-1.2.8_1,1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090812003129.56D942296AD>