summary refs log tree commit diff
path: root/pkgs/development/libraries/gtksourceview/3.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/3.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/3.x-nix_share_path.patch')
-rw-r--r--pkgs/development/libraries/gtksourceview/3.x-nix_share_path.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/development/libraries/gtksourceview/3.x-nix_share_path.patch b/pkgs/development/libraries/gtksourceview/3.x-nix_share_path.patch
new file mode 100644
index 000000000000..c87350167c25
--- /dev/null
+++ b/pkgs/development/libraries/gtksourceview/3.x-nix_share_path.patch
@@ -0,0 +1,11 @@
+--- a/gtksourceview/gtksourceview-utils.c	2014-07-13 16:13:57.418687726 +0200
++++ b/gtksourceview/gtksourceview-utils.c	2014-07-13 16:14:20.550847767 +0200
+@@ -68,6 +68,8 @@
+ 							 basename,
+ 							 NULL));
+ 
++        g_ptr_array_add (dirs, g_build_filename ("@NIX_SHARE_PATH@", SOURCEVIEW_DIR, basename, NULL));
++
+ 	g_ptr_array_add (dirs, NULL);
+ 
+ 	return (gchar**) g_ptr_array_free (dirs, FALSE);