summary refs log tree commit diff
path: root/pkgs/development/libraries/gtksourceview/4.x-nix_share_path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/gtksourceview/4.x-nix_share_path.patch')
-rw-r--r--pkgs/development/libraries/gtksourceview/4.x-nix_share_path.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/development/libraries/gtksourceview/4.x-nix_share_path.patch b/pkgs/development/libraries/gtksourceview/4.x-nix_share_path.patch
new file mode 100644
index 00000000000..a35d9a88d0d
--- /dev/null
+++ b/pkgs/development/libraries/gtksourceview/4.x-nix_share_path.patch
@@ -0,0 +1,11 @@
+--- a/gtksourceview/gtksourceutils.c
++++ b/gtksourceview/gtksourceutils.c
+@@ -232,6 +232,8 @@
+ 							 NULL));
+ 	}
+ 
++	g_ptr_array_add (dirs, g_build_filename (DATADIR, GSV_DATA_SUBDIR, basename, NULL));
++
+ 	g_ptr_array_add (dirs, NULL);
+ 
+ 	return (gchar **) g_ptr_array_free (dirs, FALSE);