File environ.patch of Package ghc-prepare-binary-distributions

Index: ghc-9.2.5/rts/RtsSymbols.c
===================================================================
--- ghc-9.2.5.orig/rts/RtsSymbols.c
+++ ghc-9.2.5/rts/RtsSymbols.c
@@ -1064,8 +1064,7 @@ extern char **environ;
 
 // Symbols defined by libc
 #define RTS_LIBC_SYMBOLS                               \
-      SymI_HasProto_redirect(atexit, atexit, STRENGTH_STRONG) /* See Note [Strong symbols] */ \
-      SymI_HasProto(environ)
+      SymI_HasProto_redirect(atexit, atexit, STRENGTH_STRONG) /* See Note [Strong symbols] */
 
 #if !defined(DYNAMIC) && defined(linux_HOST_OS)
 // we need these for static musl builds. However when
openSUSE Build Service is sponsored by