commit:     c9ea1e589c873746ce083699c77a90c8693a5743
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 26 18:47:09 2022 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Feb 26 18:47:24 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9ea1e58

sci-visualization/gr: Better musl fix (thanks sam)

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 sci-visualization/gr/files/gr-0.53.0-musl.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-visualization/gr/files/gr-0.53.0-musl.patch 
b/sci-visualization/gr/files/gr-0.53.0-musl.patch
index c5f0519341f6..5b7f55828583 100644
--- a/sci-visualization/gr/files/gr-0.53.0-musl.patch
+++ b/sci-visualization/gr/files/gr-0.53.0-musl.patch
@@ -20,7 +20,7 @@ index 669dd81f..50fde2c4 100644
  #endif
  
 -#if defined(cray) || defined(__SVR4) || defined(_WIN32)
-+#if defined(cray) || defined(__SVR4) || defined(_WIN32) || defined(__MUSL__)
++#if defined(cray) || defined(__SVR4) || defined(_WIN32) || !defined(__GLIBC__)
  #include <fcntl.h>
  #else
  #include <sys/file.h>

Reply via email to