Bagas Sanjaya
f73dffae4f
package/git: fix wchar-less uclibc build
The package fails to build on wchar-less uClibc-ng configuration
(i.e. without BR2_TOOLCHAIN_BUILDROOT_WCHAR selected):
```
CC t/unit-tests/unit-test.o
t/unit-tests/clar/clar.c: In function 'clar__assert_equal':
t/unit-tests/clar/clar.c:767:23: error: unknown type name 'wchar_t'
767 | const wchar_t *wcs1 = va_arg(args, const wchar_t *);
| ^~~~~~~
In file included from t/unit-tests/clar/clar.c:13:
t/unit-tests/clar/clar.c:767:58: error: unknown type name 'wchar_t'
767 | const wchar_t *wcs1 = va_arg(args, const wchar_t *);
| ^~~~~~~
t/unit-tests/clar/clar.c:768:23: error: unknown type name 'wchar_t'
768 | const wchar_t *wcs2 = va_arg(args, const wchar_t *);
| ^~~~~~~
t/unit-tests/clar/clar.c:768:58: error: unknown type name 'wchar_t'
768 | const wchar_t *wcs2 = va_arg(args, const wchar_t *);
| ^~~~~~~
t/unit-tests/clar/clar.c:769:65: warning: implicit declaration of function 'wcscmp' [-Wimplicit-function-declaration]
769 | is_equal = (!wcs1 || !wcs2) ? (wcs1 == wcs2) : !wcscmp(wcs1, wcs2);
| ^~~~~~
t/unit-tests/clar/clar.c:784:23: error: unknown type name 'wchar_t'
784 | const wchar_t *wcs1 = va_arg(args, const wchar_t *);
| ^~~~~~~
t/unit-tests/clar/clar.c:784:58: error: unknown type name 'wchar_t'
784 | const wchar_t *wcs1 = va_arg(args, const wchar_t *);
| ^~~~~~~
t/unit-tests/clar/clar.c:785:23: error: unknown type name 'wchar_t'
785 | const wchar_t *wcs2 = va_arg(args, const wchar_t *);
| ^~~~~~~
t/unit-tests/clar/clar.c:785:58: error: unknown type name 'wchar_t'
785 | const wchar_t *wcs2 = va_arg(args, const wchar_t *);
| ^~~~~~~
t/unit-tests/clar/clar.c:787:65: warning: implicit declaration of function 'wcsncmp' [-Wimplicit-function-declaration]
787 | is_equal = (!wcs1 || !wcs2) ? (wcs1 == wcs2) : !wcsncmp(wcs1, wcs2, len);
| ^~~~~~~
make[1]: *** [Makefile:2795: t/unit-tests/clar/clar.o] Error 1
```
This is because since version 2.47.0, Git imports clar unit testing
framework, which uses wchar_t. On wchar-less uClibc-ng configuration,
however, the installed <wchar.h> header is a stub (that is, wchar_t
is undefined).
Apply upstream patchset from Patrick Steinhardt [1], which includes
upstreamed clar build fix.
Fixes: https://autobuild.buildroot.org/results/85dbf87451156fce7c2a12d8882622ea75e0d0db
Link: https://lore.kernel.org/git/cover.1729506329.git.ps@pks.im/ [1]
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-31 19:06:16 +01:00
..
2024-10-24 22:46:27 +02:00
2024-10-26 21:12:34 +02:00
2024-10-29 19:36:09 +01:00
2024-10-24 21:29:40 +02:00
2024-10-26 16:08:01 +02:00
2024-10-24 21:29:45 +02:00
2024-10-29 19:51:35 +01:00
2024-10-26 18:21:51 +02:00
2024-10-29 21:25:30 +01:00
2024-10-26 17:35:18 +02:00
2024-10-26 17:59:32 +02:00
2024-10-31 13:51:13 +01:00
2024-10-29 21:23:35 +01:00
2024-10-26 22:06:20 +02:00
2024-10-29 19:34:34 +01:00
2024-10-26 15:33:39 +02:00
2024-10-26 12:45:13 +02:00
2024-10-26 22:43:45 +02:00
2024-10-28 15:42:34 +01:00
2024-10-27 19:13:50 +01:00
2024-10-29 18:52:46 +01:00
2024-10-29 22:11:28 +01:00
2024-10-26 15:33:35 +02:00
2024-10-26 15:33:41 +02:00
2024-10-26 15:33:33 +02:00
2024-10-26 13:00:38 +02:00
2024-10-27 19:13:54 +01:00
2024-10-29 23:20:35 +01:00
2024-10-28 22:02:43 +01:00
2024-10-24 22:47:04 +02:00
2024-10-26 16:53:15 +02:00
2024-10-27 19:13:48 +01:00
2024-10-26 17:56:56 +02:00
2024-10-26 23:25:56 +02:00
2024-10-28 21:24:49 +01:00
2024-10-29 18:52:50 +01:00
2024-10-29 18:52:51 +01:00
2024-10-29 18:52:48 +01:00
2024-10-29 19:51:41 +01:00
2024-10-27 19:13:46 +01:00
2024-10-31 19:06:16 +01:00
2024-10-25 19:36:48 +02:00
2024-10-26 15:33:31 +02:00
2024-10-29 21:34:55 +01:00
2024-10-24 23:02:20 +02:00
2024-10-27 19:14:08 +01:00
2024-10-27 19:13:56 +01:00
2024-10-27 19:13:58 +01:00
2024-10-26 14:43:39 +02:00
2024-10-26 10:46:18 +02:00
2024-10-28 22:05:49 +01:00
2024-10-28 21:48:38 +01:00
2024-10-27 19:13:44 +01:00
2024-10-25 20:53:11 +02:00
2024-10-26 18:22:53 +02:00
2024-10-29 21:24:24 +01:00
2024-10-25 08:15:24 +02:00
2024-10-25 08:15:26 +02:00
2024-10-29 19:39:47 +01:00
2024-10-26 16:28:20 +02:00
2024-10-26 13:44:55 +02:00
2024-10-26 15:18:09 +02:00
2024-10-24 22:46:30 +02:00
2024-10-29 19:50:27 +01:00
2024-10-28 15:46:10 +01:00
2024-10-31 18:50:37 +01:00
2024-10-24 21:29:38 +02:00
2024-10-24 22:46:37 +02:00
2024-10-27 19:13:36 +01:00
2024-10-26 15:22:28 +02:00
2024-10-28 15:47:26 +01:00
2024-10-30 21:00:07 +01:00
2024-10-24 23:02:16 +02:00
2024-10-27 19:13:38 +01:00
2024-10-28 21:24:39 +01:00
2024-10-27 19:14:00 +01:00
2024-10-29 19:37:49 +01:00
2024-10-26 17:59:24 +02:00
2024-10-26 17:59:19 +02:00
2024-10-26 17:59:14 +02:00
2024-10-27 19:13:42 +01:00
2024-10-31 13:48:42 +01:00
2024-10-24 21:28:20 +02:00
2024-10-27 19:13:32 +01:00
2024-10-31 13:46:36 +01:00
2024-10-29 23:20:35 +01:00
2024-10-26 16:40:08 +02:00
2024-10-26 16:36:23 +02:00
2024-10-26 16:01:29 +02:00
2024-10-26 10:46:16 +02:00
2024-10-29 22:34:16 +01:00
2024-10-25 19:53:52 +02:00
2024-10-26 18:59:41 +02:00
2024-10-26 22:59:30 +02:00
2024-10-28 22:09:11 +01:00
2024-10-27 19:14:28 +01:00
2024-10-30 20:45:29 +01:00
2024-10-29 19:50:34 +01:00
2024-10-29 19:52:34 +01:00
2024-10-31 13:45:11 +01:00
2024-10-29 22:50:35 +01:00
2024-10-28 21:24:21 +01:00
2024-10-28 21:24:42 +01:00
2024-10-24 21:52:55 +02:00
2024-10-26 16:30:50 +02:00
2024-10-29 21:23:38 +01:00
2024-10-24 22:46:34 +02:00
2024-10-24 23:01:16 +02:00
2024-10-27 19:14:02 +01:00
2024-10-26 17:59:28 +02:00
2024-10-26 18:01:50 +02:00
2024-10-26 17:28:52 +02:00
2024-10-29 18:34:09 +01:00
2024-10-25 21:04:03 +02:00
2024-10-25 08:15:21 +02:00
2024-10-26 18:35:33 +02:00
2024-10-24 09:28:13 +02:00
2024-10-26 10:49:31 +02:00
2024-10-26 10:49:33 +02:00
2024-10-28 14:47:30 +01:00
2024-10-24 09:28:29 +02:00
2024-10-26 10:49:35 +02:00
2024-10-26 10:49:37 +02:00
2024-10-28 14:47:32 +01:00
2024-10-24 09:28:25 +02:00
2024-10-26 10:49:39 +02:00
2024-10-26 17:56:15 +02:00
2024-10-27 19:14:06 +01:00
2024-10-24 09:28:23 +02:00
2024-10-29 22:15:13 +01:00
2024-10-26 18:28:31 +02:00
2024-10-26 10:49:41 +02:00
2024-10-28 14:47:34 +01:00
2024-10-28 14:48:00 +01:00
2024-10-26 10:49:47 +02:00
2024-10-26 10:49:49 +02:00
2024-10-26 10:49:51 +02:00
2024-10-26 22:53:19 +02:00
2024-10-26 10:49:53 +02:00
2024-10-24 09:27:58 +02:00
2024-10-24 09:28:00 +02:00
2024-10-24 09:28:03 +02:00
2024-10-26 22:53:22 +02:00
2024-10-24 23:07:28 +02:00
2024-10-24 09:28:36 +02:00
2024-10-28 14:47:36 +01:00
2024-10-28 14:48:12 +01:00
2024-10-28 14:47:38 +01:00
2024-10-26 22:53:25 +02:00
2024-10-26 22:53:27 +02:00
2024-10-26 22:53:30 +02:00
2024-10-27 19:13:26 +01:00
2024-10-24 23:08:15 +02:00
2024-10-27 19:13:30 +01:00
2024-10-27 19:14:04 +01:00
2024-10-24 09:28:17 +02:00
2024-10-27 19:14:12 +01:00
2024-10-26 18:29:51 +02:00
2024-10-28 14:48:22 +01:00
2024-10-27 19:14:14 +01:00
2024-10-27 19:14:16 +01:00
2024-10-27 19:14:18 +01:00
2024-10-24 09:28:09 +02:00
2024-10-27 19:14:20 +01:00
2024-10-29 21:30:57 +01:00
2024-10-27 19:14:22 +01:00
2024-10-29 22:19:05 +01:00
2024-10-27 19:14:24 +01:00
2024-10-24 09:28:19 +02:00
2024-10-27 19:14:26 +01:00
2024-10-28 14:47:40 +01:00
2024-10-28 14:47:42 +01:00
2024-10-26 15:13:01 +02:00
2024-10-26 22:04:45 +02:00
2024-10-24 23:08:40 +02:00
2024-10-28 14:47:44 +01:00
2024-10-28 14:47:46 +01:00
2024-10-28 14:47:48 +01:00
2024-10-24 09:28:33 +02:00
2024-10-28 14:47:50 +01:00
2024-10-28 14:47:52 +01:00
2024-10-28 14:47:54 +01:00
2024-10-28 14:47:56 +01:00
2024-10-24 09:28:27 +02:00
2024-10-26 10:49:29 +02:00
2024-10-28 14:47:58 +01:00
2024-10-28 14:48:02 +01:00
2024-10-26 18:25:45 +02:00
2024-10-28 14:48:04 +01:00
2024-10-24 09:28:15 +02:00
2024-10-28 14:48:06 +01:00
2024-10-28 14:48:09 +01:00
2024-10-29 21:26:32 +01:00
2024-10-24 09:28:31 +02:00
2024-10-28 14:48:10 +01:00
2024-10-24 09:28:07 +02:00
2024-10-28 23:01:40 +01:00
2024-10-28 14:48:14 +01:00
2024-10-28 14:48:16 +01:00
2024-10-28 14:48:18 +01:00
2024-10-28 14:48:20 +01:00
2024-10-29 21:26:29 +01:00
2024-10-28 14:48:26 +01:00
2024-10-28 14:48:28 +01:00
2024-10-28 14:48:30 +01:00
2024-10-28 22:45:06 +01:00
2024-10-28 22:34:21 +01:00
2024-10-26 16:47:14 +02:00
2024-10-26 16:47:24 +02:00
2024-10-29 22:28:07 +01:00
2024-10-26 18:00:02 +02:00
2024-10-26 17:59:36 +02:00
2024-10-24 22:46:59 +02:00
2024-10-26 15:33:29 +02:00
2024-10-24 21:29:36 +02:00
2024-10-26 15:33:37 +02:00
2024-10-28 15:44:35 +01:00
2024-10-28 15:44:35 +01:00
2024-10-24 21:52:48 +02:00
2024-10-26 17:59:45 +02:00
2024-10-26 17:59:41 +02:00
2024-10-26 17:59:56 +02:00
2024-10-26 17:36:07 +02:00
2024-10-27 19:13:34 +01:00
2024-10-30 21:00:05 +01:00
2024-10-27 19:13:28 +01:00
2024-10-29 19:33:39 +01:00
2024-10-26 13:45:05 +02:00
2024-10-29 23:09:13 +01:00
2024-10-26 13:51:36 +02:00
2024-10-28 22:14:34 +01:00
2024-10-27 19:13:52 +01:00
2024-10-24 21:28:18 +02:00
2024-10-27 19:14:10 +01:00
2024-10-29 19:52:17 +01:00
2024-10-26 16:35:12 +02:00
2024-10-26 14:55:15 +02:00
2024-10-26 15:24:47 +02:00
2024-10-24 21:34:12 +02:00
2024-10-27 19:45:09 +01:00
2024-10-26 21:09:53 +02:00
2024-10-25 22:52:18 +02:00
2024-10-24 21:29:43 +02:00
2024-10-28 22:02:36 +01:00
2024-10-29 19:40:40 +01:00
2024-10-31 18:45:48 +01:00
2024-10-31 13:49:51 +01:00
2024-10-26 21:12:34 +02:00