diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-12-12 09:38:42 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-12-12 22:24:34 +0100 |
commit | 31341e8d40ec6c926419ebce8a71daba98a6ff9e (patch) | |
tree | d310de53773e81f3058c8c16ed3c7a1a0900944e /package/libhid/libhid-no-newline-in-ldflags.patch | |
parent | 5d4e00bd04183463f878d5c57b3a3dc47fbb2333 (diff) | |
download | buildroot-novena-31341e8d40ec6c926419ebce8a71daba98a6ff9e.tar.gz buildroot-novena-31341e8d40ec6c926419ebce8a71daba98a6ff9e.zip |
libhid: replace patch on configure by patch on configure.ac
In order to fix some other build problem of libhid, we'll need to do
modifications to the configure.ac. Therefore, let's first convert the
current patch on configure to a patch on configure.ac, and mark the
package as AUTORECONF=YES.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/libhid/libhid-no-newline-in-ldflags.patch')
-rw-r--r-- | package/libhid/libhid-no-newline-in-ldflags.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/package/libhid/libhid-no-newline-in-ldflags.patch b/package/libhid/libhid-no-newline-in-ldflags.patch new file mode 100644 index 000000000..df845ee1f --- /dev/null +++ b/package/libhid/libhid-no-newline-in-ldflags.patch @@ -0,0 +1,22 @@ +Fix improper usage of macro that introduces a wrong newline + +The MD_CONF_FLAGS() macro was used with a final newline that +introduces an invalid newline in the middle of the macro expansion +when defining LDFLAGS. + +Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> + +Index: libhid-0.2.16/configure.ac +=================================================================== +--- libhid-0.2.16.orig/configure.ac 2007-04-01 22:32:10.000000000 +0200 ++++ libhid-0.2.16/configure.ac 2012-12-12 20:24:03.000000000 +0100 +@@ -102,8 +102,7 @@ + [], + [$OS_CFLAGS $LIBUSB_CFLAGS], + [], +- [$OS_LDFLAGS $LIBUSB_LIBS] +-) ++ [$OS_LDFLAGS $LIBUSB_LIBS]) + + MD_CONF_DB2MAN + |