* [gentoo-commits] repo/gentoo:master commit in: dev-lang/gnat-gpl/files/, profiles/features/musl/
@ 2024-03-13 18:48 Alfredo Tupone
0 siblings, 0 replies; only message in thread
From: Alfredo Tupone @ 2024-03-13 18:48 UTC (permalink / raw
To: gentoo-commits
commit: 04b793a41bc866bbfa802654bb271348162184bb
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 13 18:46:54 2024 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Mar 13 18:46:54 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04b793a4
dev-lang/gnat-gpl: no musl and fix strncmp
Closes: https://bugs.gentoo.org/926307
Closes: https://bugs.gentoo.org/829178
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-lang/gnat-gpl/files/gnat-gpl-2021-gentoo.patch | 4 ++--
profiles/features/musl/package.mask | 4 ++++
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/dev-lang/gnat-gpl/files/gnat-gpl-2021-gentoo.patch b/dev-lang/gnat-gpl/files/gnat-gpl-2021-gentoo.patch
index 6e26ad680043..681fd47262da 100644
--- a/dev-lang/gnat-gpl/files/gnat-gpl-2021-gentoo.patch
+++ b/dev-lang/gnat-gpl/files/gnat-gpl-2021-gentoo.patch
@@ -66,9 +66,9 @@
ac_cv_func_strncmp_works=yes
else
+ cat >>confdefs.h <<_ACEOF
-+ extern int strlen(const char *s);
++ extern long unsigned int strlen(const char *s);
+ extern char *strcpy(char *dst, const char *src);
-+ extern int strncmp(const char *s1, const char *s2, size_t n);
++ extern int strncmp(const char *s1, const char *s2, long unsigned int n);
+_ACEOF
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
diff --git a/profiles/features/musl/package.mask b/profiles/features/musl/package.mask
index 90328a11703b..7ac418512f2d 100644
--- a/profiles/features/musl/package.mask
+++ b/profiles/features/musl/package.mask
@@ -1,6 +1,10 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Alfredo Tupone <tupone@gentoo.org> (2024-03-13)
+# To bootstrap uses an ada compiler built using glibc
+dev-lang/gnat-gpl
+
# Sergey Popov <pinkbyte@gentoo.org> (2024-03-05)
# games-strategy/seven-kingdoms does not build on musl,
# requires glibc-specific locale handling. (#923907)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-03-13 18:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-13 18:48 [gentoo-commits] repo/gentoo:master commit in: dev-lang/gnat-gpl/files/, profiles/features/musl/ Alfredo Tupone
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox