summary refs log tree commit diff
path: root/pkgs/development/libraries/gtksourceview/4.x-nix_share_path.patch
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2018-03-22 09:54:10 +0200
committerTuomas Tynkkynen <tuomas@tuxera.com>2018-03-22 09:54:10 +0200
commit809b0d26bd34fcf13a35025dacf731c0a3d13292 (patch)
tree96bf2739244a52d15556e1207bdfaf93d6353bee /pkgs/development/libraries/gtksourceview/4.x-nix_share_path.patch
parentc9d3fc7cad4d243025f9a0e1b3eec9305863c06d (diff)
parentf7397f21ab841955eb277919f19035cbc336e88b (diff)
downloadnixlib-809b0d26bd34fcf13a35025dacf731c0a3d13292.tar
nixlib-809b0d26bd34fcf13a35025dacf731c0a3d13292.tar.gz
nixlib-809b0d26bd34fcf13a35025dacf731c0a3d13292.tar.bz2
nixlib-809b0d26bd34fcf13a35025dacf731c0a3d13292.tar.lz
nixlib-809b0d26bd34fcf13a35025dacf731c0a3d13292.tar.xz
nixlib-809b0d26bd34fcf13a35025dacf731c0a3d13292.tar.zst
nixlib-809b0d26bd34fcf13a35025dacf731c0a3d13292.zip
Merge remote-tracking branch 'upstream/master' into staging
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 000000000000..a35d9a88d0df
--- /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);