mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-23 07:29:19 +02:00
The value ```-DXDEBUG=0``` was fixed in the ```site.config.m4``` file, and now it's in the ebuild file. In order to support musl, we need to add a new value to the ```confENVDEF``` define. Closes: https://bugs.gentoo.org/715280 Closes: https://bugs.gentoo.org/944460 Signed-off-by: Cristian Othón Martínez Vera <cfuga@cfuga.mx> Part-of: https://github.com/gentoo/gentoo/pull/41538 Closes: https://github.com/gentoo/gentoo/pull/41538 Signed-off-by: Sam James <sam@gentoo.org>
29 lines
681 B
Diff
29 lines
681 B
Diff
Bug: https://bugs.gentoo.org/944460
|
|
|
|
--- a/libsm/vfscanf.c
|
|
+++ b/libsm/vfscanf.c
|
|
@@ -240,13 +240,13 @@
|
|
/* FALLTHROUGH */
|
|
case 'd':
|
|
c = CT_INT;
|
|
- ccfn = (ULONGLONG_T (*)())sm_strtoll;
|
|
+ ccfn = (ULONGLONG_T (*)(const char *, char **, int))sm_strtoll;
|
|
base = 10;
|
|
break;
|
|
|
|
case 'i':
|
|
c = CT_INT;
|
|
- ccfn = (ULONGLONG_T (*)())sm_strtoll;
|
|
+ ccfn = (ULONGLONG_T (*)(const char *, char **, int))sm_strtoll;
|
|
base = 0;
|
|
break;
|
|
|
|
@@ -324,7 +324,7 @@
|
|
if (isupper(c))
|
|
flags |= LONG;
|
|
c = CT_INT;
|
|
- ccfn = (ULONGLONG_T (*)()) sm_strtoll;
|
|
+ ccfn = (ULONGLONG_T (*)(const char *, char **, int)) sm_strtoll;
|
|
base = 10;
|
|
break;
|
|
}
|