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 / xlib_libXpm / 0001-fork-check.patch
1 Allow usage when fork() is not available
2
3 When fork() is not available, we need to define NO_ZPIPE so that
4 libXpm doesn't try to fork/exec to use a pipe to uncompress compressed
5 .xpm files. There is obviously a loss of functionality, but loading
6 uncompressed .xpm files should continue to work.
7
8 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9
10 Index: b/configure.ac
11 ===================================================================
12 --- a/configure.ac
13 +++ b/configure.ac
14 @@ -22,6 +22,7 @@
15  
16  # Checks for library functions
17  AC_CHECK_FUNCS([strlcat])
18 +AC_CHECK_FUNC([fork],[], AC_DEFINE(NO_ZPIPE))
19  
20  # Obtain compiler/linker options for dependencies
21  PKG_CHECK_MODULES(XPM, xproto x11)