summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-themes/xcursor-themes/files/make-cursordir-configurable.patch')
-rw-r--r--x11-themes/xcursor-themes/files/make-cursordir-configurable.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/x11-themes/xcursor-themes/files/make-cursordir-configurable.patch b/x11-themes/xcursor-themes/files/make-cursordir-configurable.patch
new file mode 100644
index 000000000000..b42528587cdd
--- /dev/null
+++ b/x11-themes/xcursor-themes/files/make-cursordir-configurable.patch
@@ -0,0 +1,14 @@
+diff -Nur xcursor-themes-0.99.0.orig/configure.ac xcursor-themes-0.99.0/configure.ac
+--- xcursor-themes-0.99.0.orig/configure.ac 2005-08-01 22:15:19.000000000 +0200
++++ xcursor-themes-0.99.0/configure.ac 2005-08-16 01:33:01.000000000 +0200
+@@ -18,7 +18,9 @@
+ fi
+ AC_SUBST([XCURSORGEN])
+
+-cursordir="${datadir}/icons"
++AC_ARG_WITH(cursordir, [ --with-cursordir=DIR ],
++ [ cursordir="$withval" ],
++ [ cursordir="${datadir}/icons" ])
+ AC_SUBST([cursordir])
+
+ AM_CONDITIONAL(WHITEGLASS, true)