summaryrefslogtreecommitdiff
path: root/debian/patches/0008-adddir.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0008-adddir.patch')
-rw-r--r--debian/patches/0008-adddir.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/0008-adddir.patch b/debian/patches/0008-adddir.patch
new file mode 100644
index 0000000..ee6b4a1
--- /dev/null
+++ b/debian/patches/0008-adddir.patch
@@ -0,0 +1,17 @@
+Author: Daniel Baumann <mail@daniel-baumann.ch>
+Description:
+ Replacing adddir location with absolute name in order to allow to compile the
+ themes from any location, not just /usr/share/gfxboot/themes/foo.
+
+diff -Naurp gfxboot.orig/themes/openSUSE/Makefile gfxboot/themes/openSUSE/Makefile
+--- gfxboot.orig/themes/openSUSE/Makefile
++++ gfxboot/themes/openSUSE/Makefile
+@@ -8,7 +8,7 @@ else
+ PREPARED = $(shell [ -f .prepared ] && echo 1)
+ endif
+
+-ADDDIR = ../../bin/adddir
++ADDDIR ?= /usr/share/gfxboot/bin/adddir
+ BFLAGS = -O -v -L ../..
+
+ SUBDIRS = fonts help-boot help-install po src