This bump will fix the following build failure with gcc >= 14 thanks to
494233d33b
mifare_desfire_crypto.c: In function 'cmac':
mifare_desfire_crypto.c:139:23: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
139 | uint8_t *buffer = malloc (padded_data_length (len, kbs));
| ^~~~~~
mifare_desfire_crypto.c:69:1: note: include '<stdlib.h>' or provide a declaration of 'malloc'
68 | #include "freefare_internal.h"
+++ |+#include <stdlib.h>
69 |
Fixes:
- http://autobuild.buildroot.org/results/778be216f62b8c2e05aba1b3e297dab0c6c6ccd0
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
17 lines
603 B
Makefile
17 lines
603 B
Makefile
################################################################################
|
|
#
|
|
# libfreefare
|
|
#
|
|
################################################################################
|
|
|
|
LIBFREEFARE_VERSION = c2b0cfa4b9fb0e4be88604f00b7a2405618d5abc
|
|
LIBFREEFARE_SITE = $(call github,nfc-tools,libfreefare,$(LIBFREEFARE_VERSION))
|
|
LIBFREEFARE_DEPENDENCIES = host-pkgconf libnfc openssl
|
|
LIBFREEFARE_LICENSE = LGPL-3.0+ with exception
|
|
LIBFREEFARE_LICENSE_FILES = COPYING
|
|
# From git
|
|
LIBFREEFARE_AUTORECONF = YES
|
|
LIBFREEFARE_CONF_ENV += LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl`
|
|
|
|
$(eval $(autotools-package))
|