df845ee1f58d0ae985a6ff9cae6d866244416918
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / libhid / 0002-no-newline-in-ldflags.patch
1 Fix improper usage of macro that introduces a wrong newline
2
3 The MD_CONF_FLAGS() macro was used with a final newline that
4 introduces an invalid newline in the middle of the macro expansion
5 when defining LDFLAGS.
6
7 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8
9 Index: libhid-0.2.16/configure.ac
10 ===================================================================
11 --- libhid-0.2.16.orig/configure.ac     2007-04-01 22:32:10.000000000 +0200
12 +++ libhid-0.2.16/configure.ac  2012-12-12 20:24:03.000000000 +0100
13 @@ -102,8 +102,7 @@
14    [],
15    [$OS_CFLAGS $LIBUSB_CFLAGS],
16    [],
17 -  [$OS_LDFLAGS $LIBUSB_LIBS]
18 -)
19 +  [$OS_LDFLAGS $LIBUSB_LIBS])
20  
21  MD_CONF_DB2MAN
22