gentoo-ebuilds/app-shells/smrsh/files/smrsh-musl-disable-cdefs.patch
Cristian Othón Martínez Vera ed7c31f894
app-shells/smrsh: fix compilation for musl, c23/gcc-15
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>
2025-04-24 19:14:45 +01:00

11 lines
352 B
Diff

--- a/include/sm/os/sm_os_linux.h 2020-06-09 11:57:46.789786561 +0200
+++ b/include/sm/os/sm_os_linux.h 2020-06-09 11:57:49.174781812 +0200
@@ -33,7 +33,7 @@
# endif /* LINUX_VERSION_CODE */
#endif /* SM_CONF_SHM */
-#define SM_CONF_SYS_CDEFS_H 1
+#define SM_CONF_SYS_CDEFS_H 0
#ifndef SM_CONF_SEM
# define SM_CONF_SEM 2
#endif /* SM_CONF_SEM */