git: fc22a8cf6b8b - main - editors/gedit: Unbreak build with required patch

From: Neel Chauhan <nc_at_FreeBSD.org>
Date: Thu, 03 Mar 2022 06:17:47 UTC
The branch main has been updated by nc:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fc22a8cf6b8b32eb11203fb61d069edd2a6bc268

commit fc22a8cf6b8b32eb11203fb61d069edd2a6bc268
Author:     Neel Chauhan <nc@FreeBSD.org>
AuthorDate: 2022-03-03 06:17:45 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2022-03-03 06:17:45 +0000

    editors/gedit: Unbreak build with required patch
---
 editors/gedit/files/patch-gedit_gedit-app.c | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/editors/gedit/files/patch-gedit_gedit-app.c b/editors/gedit/files/patch-gedit_gedit-app.c
new file mode 100644
index 000000000000..cd43b7717138
--- /dev/null
+++ b/editors/gedit/files/patch-gedit_gedit-app.c
@@ -0,0 +1,16 @@
+--- gedit/gedit-app.c.orig	2022-03-03 06:07:06 UTC
++++ gedit/gedit-app.c
+@@ -671,13 +671,6 @@ gedit_app_startup (GApplication *application)
+ 
+ 	setup_theme_extensions (GEDIT_APP (application));
+ 
+-#ifndef ENABLE_GVFS_METADATA
+-	cache_dir = gedit_dirs_get_user_cache_dir ();
+-	metadata_filename = g_build_filename (cache_dir, "gedit-metadata.xml", NULL);
+-	priv->metadata_manager = gedit_metadata_manager_new (metadata_filename);
+-	g_free (metadata_filename);
+-#endif
+-
+ 	/* Load/init settings */
+ 	_gedit_settings_get_singleton ();
+ 	priv->ui_settings = g_settings_new ("org.gnome.gedit.preferences.ui");