r42054 - in /desktop/unstable/gnome-desktop3/debian: changelog patches/ patches/realpath-PATH_MAX.patch patches/series

ah at users.alioth.debian.org ah at users.alioth.debian.org
Tue Jul 15 21:44:22 UTC 2014


Author: ah
Date: Tue Jul 15 21:44:22 2014
New Revision: 42054

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=42054
Log:
* Add debian/patches/realpath-PATH_MAX.patch (from upstream libgsystem)
  - avoids PATH_MAX to hopefully fix FTBFS on Hurd.

Added:
    desktop/unstable/gnome-desktop3/debian/patches/
    desktop/unstable/gnome-desktop3/debian/patches/realpath-PATH_MAX.patch
    desktop/unstable/gnome-desktop3/debian/patches/series
Modified:
    desktop/unstable/gnome-desktop3/debian/changelog

Modified: desktop/unstable/gnome-desktop3/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-desktop3/debian/changelog?rev=42054&op=diff
==============================================================================
--- desktop/unstable/gnome-desktop3/debian/changelog	[utf-8] (original)
+++ desktop/unstable/gnome-desktop3/debian/changelog	[utf-8] Tue Jul 15 21:44:22 2014
@@ -1,3 +1,10 @@
+gnome-desktop3 (3.12.2-2) UNRELEASED; urgency=medium
+
+  * Add debian/patches/realpath-PATH_MAX.patch (from upstream libgsystem)
+    - avoids PATH_MAX to hopefully fix FTBFS on Hurd.
+
+ -- Andreas Henriksson <andreas at fatal.se>  Tue, 15 Jul 2014 23:40:42 +0200
+
 gnome-desktop3 (3.12.2-1) unstable; urgency=medium
 
   * New upstream release.

Added: desktop/unstable/gnome-desktop3/debian/patches/realpath-PATH_MAX.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-desktop3/debian/patches/realpath-PATH_MAX.patch?rev=42054&op=file
==============================================================================
--- desktop/unstable/gnome-desktop3/debian/patches/realpath-PATH_MAX.patch	(added)
+++ desktop/unstable/gnome-desktop3/debian/patches/realpath-PATH_MAX.patch	[utf-8] Tue Jul 15 21:44:22 2014
@@ -0,0 +1,37 @@
+Based on upstream libgsystem commit de2619271ee3a
+"fileutil: avoid using PATH_MAX"
+
+https://git.gnome.org/browse/libgsystem/commit/?id=de2619271ee3ab42971fc770cae110f23e330c30
+
+--- a/libgnome-desktop/libgsystem/gsystem-file-utils.c
++++ b/libgnome-desktop/libgsystem/gsystem-file-utils.c
+@@ -1363,18 +1363,23 @@ GFile *
+ gs_file_realpath (GFile *file)
+ {
+   gchar *path;
+-  gchar path_real[PATH_MAX];
++  char *path_real;
++  GFile *file_real;
+ 
+   path = g_file_get_path (file);
+ 
+-  if (realpath ((const char *) path, path_real) == NULL)
++  path_real = realpath((const char *) path, NULL);
++  if (path_real == NULL)
+     {
+       g_free (path);
+       return NULL;
+     }
+ 
+   g_free (path);
+-  return g_file_new_for_path (path_real);
++  file_real = g_file_new_for_path (path_real);
++  free (path_real);
++
++  return file_real;
+ }
+ 
+ #ifdef GSYSTEM_CONFIG_XATTRS
+-- 
+cgit v0.10.1
+

Added: desktop/unstable/gnome-desktop3/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-desktop3/debian/patches/series?rev=42054&op=file
==============================================================================
--- desktop/unstable/gnome-desktop3/debian/patches/series	(added)
+++ desktop/unstable/gnome-desktop3/debian/patches/series	[utf-8] Tue Jul 15 21:44:22 2014
@@ -0,0 +1 @@
+realpath-PATH_MAX.patch




More information about the pkg-gnome-commits mailing list