python-pathvalidate: bump version to 0.14.1
[buildroot-gz.git] / package / x11r7 / xcursor-transparent-theme / 0001-fix-symlink.patch
blob9cf351f238cefbb2955174251de18660d6097d93
1 Do not symlink to a host directory
3 The installation of xcursor-transparent-theme creates many symbolic
4 links to the 'transp' cursor file, but it does so using an absolute
5 directory, that happens to point to the installation location, which
6 is incorrect when cross-compiling.
8 Also add the -f option so that the package can be reinstalled even if
9 it has already been installed.
11 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13 Index: b/cursors/Makefile.am
14 ===================================================================
15 --- a/cursors/Makefile.am
16 +++ b/cursors/Makefile.am
17 @@ -91,6 +91,6 @@
18 $(INSTALL_DATA) $(CURSOR_REAL) $(DESTDIR)$(CURSOR_DIR)/
19 for CURSOR in $(CURSOR_NAMES); do \
20 echo '-- Installing cursor '$$CURSOR; \
21 - ln -s $(DESTDIR)$(CURSOR_DIR)/transp $(DESTDIR)$(CURSOR_DIR)/$$CURSOR; \
22 + ln -sf transp $(DESTDIR)$(CURSOR_DIR)/$$CURSOR; \
23 done
25 Index: b/cursors/Makefile.in
26 ===================================================================
27 --- a/cursors/Makefile.in
28 +++ b/cursors/Makefile.in
29 @@ -177,7 +177,7 @@
30 $(INSTALL_DATA) $(CURSOR_REAL) $(DESTDIR)$(CURSOR_DIR)/
31 for CURSOR in $(CURSOR_NAMES); do \
32 echo '-- Installing cursor '$$CURSOR; \
33 - ln -s $(DESTDIR)$(CURSOR_DIR)/transp $(DESTDIR)$(CURSOR_DIR)/$$CURSOR; \
34 + ln -sf transp $(DESTDIR)$(CURSOR_DIR)/$$CURSOR; \
35 done
37 # Tell versions [3.59,3.63) of GNU make to not export all variables.