x11-fm/gnome-commander2 fails to apply patch

R.Mahmatkhanov cvs-src at yandex.ru
Mon Apr 28 18:16:41 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Good day.

Seems like there is some stale patch that is not for 1.2.5:

# portupgrade -v gnome-commander2-1.2.4_3
- --->  Session started at: Mon, 28 Apr 2008 22:06:16 +0400
- --->  Upgrade of x11-fm/gnome-commander2 started at: Mon, 28 Apr 2008
22:06:19 +0400
- --->  Upgrading 'gnome-commander2-1.2.4_3' to 'gnome-commander2-1.2.5'
(x11-fm/gnome-commander2)
- --->  Build of x11-fm/gnome-commander2 started at: Mon, 28 Apr 2008
22:06:19 +0400
- --->  Building '/usr/ports/x11-fm/gnome-commander2'
===>  Cleaning for gnome-commander2-1.2.5
===>  Extracting for gnome-commander2-1.2.5
=> MD5 Checksum OK for gnome2/gnome-commander-1.2.5.tar.bz2.
=> SHA256 Checksum OK for gnome2/gnome-commander-1.2.5.tar.bz2.
===>  Patching for gnome-commander2-1.2.5
===>  Applying FreeBSD patches for gnome-commander2-1.2.5
1 out of 1 hunks failed--saving rejects to
./src/gnome-cmd-python-plugin.cc.rej
=> Patch patch-gnome-cmd-python-plugin.cc failed to apply cleanly.
*** Error code 1

Stop in /usr/ports/x11-fm/gnome-commander2.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade.27782.0 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=gnome-commander2-1.2.4_3 UPGRADE_PORT_VER=1.2.4_3 make
** Fix the problem and try again.
- --->  Build of x11-fm/gnome-commander2 ended at: Mon, 28 Apr 2008
22:06:30 +0400 (consumed 00:00:10)
- --->  Upgrade of x11-fm/gnome-commander2 ended at: Mon, 28 Apr 2008
22:06:30 +0400 (consumed 00:00:10)
- --->  ** Upgrade tasks 1: 0 done, 0 ignored, 0 skipped and 1 failed
- --->  Listing the results (+:done / -:ignored / *:skipped / !:failed)
	! x11-fm/gnome-commander2 (gnome-commander2-1.2.4_3)	(patch error)
- --->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
- --->  Session ended at: Mon, 28 Apr 2008 22:06:30 +0400 (consumed
00:00:13)

# cat src/gnome-cmd-python-plugin.cc.rej
***************
*** 54,59 ****
      }

      long dir_size = pathconf(".", _PC_PATH_MAX);
      gchar *prev_dir = (gchar *) g_malloc (dir_size);

      if (!prev_dir)
- --- 54,64 ----
      }

      long dir_size = pathconf(".", _PC_PATH_MAX);
+     if( -1 == dir_size )
+     {
+         g_warning ( "pathconf(.): %s", strerror(errno) );
+        return;
+     }
      gchar *prev_dir = (gchar *) g_malloc (dir_size);

      if (!prev_dir)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (FreeBSD)

iEYEARECAAYFAkgWE+EACgkQmY+KeAh7t3CU2ACg7Ji8CPBcJX/+rSeivJkyshFf
ElcAn2lTCB4ntFU2bfjWISc3UTD/TEo2
=sEdq
-----END PGP SIGNATURE-----


More information about the freebsd-gnome mailing list