mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-27 07:23:30 +08:00
b506012134
Fix the following musl build failure with gcc 14:
daemon/old_main.c: In function 'old_main':
daemon/old_main.c:56:11: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
56 | if(!strcmp((which_mouse->opt_dev),"-")) fd=0; /* use stdin */
| ^~~~~~
daemon/old_main.c:35:1: note: include '<string.h>' or provide a declaration of 'strcmp'
34 | #include "headers/gpmInt.h" /* daemon internals */
+++ |+#include <string.h>
35 |
While at it, add Upstream tags to other patches
Fixes:
- http://autobuild.buildroot.org/results/3192740863d57e72e90e622683e7b9fcc057fa8b
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
0001-Added-musl-support-to-libgpm-and-the-daemon.patch | ||
0002-Install-unversioned-solibrary.patch | ||
0003-src-Makefile.in-Really-install-unversioned-solibrary.patch | ||
0004-Use-sigemptyset-API-instead-of-__sigemptyset.patch | ||
0005-fix-building-w-newer-glibc.patch | ||
0006-src-headers-daemon.h-avoid-redefinition-of-last_sele.patch | ||
0007-Add-include-string-h.patch | ||
Config.in | ||
gpm.hash | ||
gpm.mk |