Fix patch so that it builds. There was a stray line break.
authordcarbery
Wed, 09 Jul 2008 11:39:43 +0000
changeset 12780 eccad06df4cc
parent 12779 3e2fa5517869
child 12781 5e94d9e82410
Fix patch so that it builds. There was a stray line break.
patches/glib-06-dont-show-zfs.diff
--- a/patches/glib-06-dont-show-zfs.diff	Wed Jul 09 10:49:25 2008 +0000
+++ b/patches/glib-06-dont-show-zfs.diff	Wed Jul 09 11:39:43 2008 +0000
@@ -1,12 +1,11 @@
 --- /usr/tmp/clean/glib-2.17.3/gio/gunixmounts.c	2008-07-02 22:13:13.000000000 +0100
 +++ glib-2.17.3/gio/gunixmounts.c	2008-07-09 08:48:21.894152000 +0100
-@@ -1906,7 +1906,8 @@
+@@ -1906,7 +1906,7 @@
          return TRUE;
        }
        
 -      if (g_str_has_prefix (mount_path, g_get_home_dir ()) && mount_path[strlen (g_get_home_dir())] == G_DIR_SEPARATOR)
-+      if (g_str_has_prefix (mount_path, g_get_home_dir ()) && mount_path[strlen (g_get_home_dir())] == G_DIR_SEPARATOR  && strcmp ("zfs", mount_entry->filesyste
-+m_type) != 0)
++      if (g_str_has_prefix (mount_path, g_get_home_dir ()) && mount_path[strlen (g_get_home_dir())] == G_DIR_SEPARATOR  && strcmp ("zfs", mount_entry->filesystem_type) != 0)
          return TRUE;
      }