summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-themes/gnome-themes-standard/files/gnome-themes-standard-3.14.2.3-srcdir.patch')
-rw-r--r--x11-themes/gnome-themes-standard/files/gnome-themes-standard-3.14.2.3-srcdir.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/x11-themes/gnome-themes-standard/files/gnome-themes-standard-3.14.2.3-srcdir.patch b/x11-themes/gnome-themes-standard/files/gnome-themes-standard-3.14.2.3-srcdir.patch
new file mode 100644
index 000000000000..717613b45ea2
--- /dev/null
+++ b/x11-themes/gnome-themes-standard/files/gnome-themes-standard-3.14.2.3-srcdir.patch
@@ -0,0 +1,26 @@
+From db1e859fa27a4d3ca8a45937c2730f83c34405c6 Mon Sep 17 00:00:00 2001
+From: Alexandre Rostovtsev <tetromino@gentoo.org>
+Date: Sat, 28 Mar 2015 00:28:16 -0400
+Subject: [PATCH] HC: fix out-of-tree builds
+
+https://bugzilla.gnome.org/show_bug.cgi?id=746920
+---
+ themes/HighContrast/icons/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/themes/HighContrast/icons/Makefile.am b/themes/HighContrast/icons/Makefile.am
+index 76e824d..5545157 100644
+--- a/themes/HighContrast/icons/Makefile.am
++++ b/themes/HighContrast/icons/Makefile.am
+@@ -6,7 +6,7 @@ render_sizes = "16x16" "22x22" "24x24" "32x32" "48x48" "256x256" "scalable"
+ THEME_DIRS=$(shell SIZES="$(render_sizes)"; for size in $$SIZES; do for dir in `find $(srcdir)/$$size/* -type d`; do printf "$$dir,"; done; done;)
+
+ %.theme: %.theme.in Makefile
+- dirs="`echo $(THEME_DIRS) | sed -e 's#\./##g'`"; \
++ dirs="`echo $(THEME_DIRS) | sed -e \"s#$(srcdir)/*##g\"`"; \
+ sed -e "s|\@THEME_DIRS\@|$$dirs|g" < $< > $@; \
+ echo "" >> $@; \
+ for dir in `echo $$dirs | sed -e "s/,/ /g"`; do \
+--
+2.3.3
+