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 / libfreeimage / 0001-no-root-install.patch
1 Makefile.gnu: allow non-root install by not enforcing root ownserhip
2
3 Signed-off-by: Rémi Rérolle <remi.rerolle@gmail.com>
4
5 diff -ruN a/Makefile.gnu b/Makefile.gnu
6 --- a/Makefile.gnu      2015-04-09 16:34:02.315316841 +0200
7 +++ b/Makefile.gnu      2015-04-09 16:34:28.875483201 +0200
8 @@ -71,9 +71,9 @@
9  
10  install:
11         install -d $(INCDIR) $(INSTALLDIR)
12 -       install -m 644 -o root -g root $(HEADER) $(INCDIR)
13 -       install -m 644 -o root -g root $(STATICLIB) $(INSTALLDIR)
14 -       install -m 755 -o root -g root $(SHAREDLIB) $(INSTALLDIR)
15 +       install -m 644 $(HEADER) $(INCDIR)
16 +       install -m 644 $(STATICLIB) $(INSTALLDIR)
17 +       install -m 755 $(SHAREDLIB) $(INSTALLDIR)
18         ln -sf $(SHAREDLIB) $(INSTALLDIR)/$(VERLIBNAME)
19         ln -sf $(VERLIBNAME) $(INSTALLDIR)/$(LIBNAME)   
20  #      ldconfig