-Update to 1.2.8.1
PR: 138988 Submitted by: Sylvio Cesar <scjamorim@bsd.com.br> (maintainer) Feature safe: yes
This commit is contained in:
parent
279a1d6cef
commit
ff229c1119
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=241864
3 changed files with 4 additions and 22 deletions
|
@ -6,8 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= gnome-commander
|
||||
PORTVERSION= 1.2.8
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 1.2.8.1
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= x11-fm gnome
|
||||
MASTER_SITES= GNOME
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
MD5 (gnome2/gnome-commander-1.2.8.tar.bz2) = 5279bb3825efec3789932663e92fc8d2
|
||||
SHA256 (gnome2/gnome-commander-1.2.8.tar.bz2) = 5f7212ad315f46f3887af8bb624a777de7cc58105a01c23790d014f780934a01
|
||||
SIZE (gnome2/gnome-commander-1.2.8.tar.bz2) = 3447639
|
||||
MD5 (gnome2/gnome-commander-1.2.8.1.tar.bz2) = bb29604eef72e66554151b61db35100f
|
||||
SHA256 (gnome2/gnome-commander-1.2.8.1.tar.bz2) = 4323cb416b69482272169ffe4deea3a7e8d266f1718f6bd38d22dfb377326778
|
||||
SIZE (gnome2/gnome-commander-1.2.8.1.tar.bz2) = 3436627
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
--- 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);
|
||||
}
|
||||
|
Loading…
Reference in a new issue