The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / x11r7 / xcursor-transparent-theme / 0001-fix-symlink.patch
1 Do not symlink to a host directory
2
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.
7
8 Also add the -f option so that the package can be reinstalled even if
9 it has already been installed.
10
11 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12
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
24  
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
36  
37  # Tell versions [3.59,3.63) of GNU make to not export all variables.