e30eca9ffcab88418beaafc55644d1a0f8504eb5
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / libpng / 0001-disable-tools.patch
1 Disable the new pngfix and png-fix-itxt tools: they take up space, fail to
2 build on some oddball toolchain configurations and aren't expected/needed
3 in a non-interactive embedded system.
4
5 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
6
7 diff -Nura libpng-1.6.10.orig/Makefile.am libpng-1.6.10/Makefile.am
8 --- libpng-1.6.10.orig/Makefile.am      2014-03-17 08:51:25.812005079 -0300
9 +++ libpng-1.6.10/Makefile.am   2014-03-17 09:14:28.807586433 -0300
10 @@ -10,7 +10,7 @@
11  check_PROGRAMS= pngtest pngunknown pngstest pngvalid pngimage
12  
13  # Utilities - installed
14 -bin_PROGRAMS= pngfix png-fix-itxt
15 +bin_PROGRAMS=
16  
17  # This ensures that pnglibconf.h gets built at the start of 'make all' or
18  # 'make check', but it does not add dependencies to the individual programs,
19 diff -Nura libpng-1.6.10.orig/Makefile.in libpng-1.6.10/Makefile.in
20 --- libpng-1.6.10.orig/Makefile.in      2014-03-17 08:51:25.807005070 -0300
21 +++ libpng-1.6.10/Makefile.in   2014-03-17 09:14:44.846617623 -0300
22 @@ -87,7 +87,7 @@
23  host_triplet = @host@
24  check_PROGRAMS = pngtest$(EXEEXT) pngunknown$(EXEEXT) \
25         pngstest$(EXEEXT) pngvalid$(EXEEXT) pngimage$(EXEEXT)
26 -bin_PROGRAMS = pngfix$(EXEEXT) png-fix-itxt$(EXEEXT)
27 +bin_PROGRAMS =
28  @PNG_ARM_NEON_TRUE@am__append_1 = arm/arm_init.c\
29  @PNG_ARM_NEON_TRUE@    arm/filter_neon.S arm/filter_neon_intrinsics.c
30