git: ffc12b3eb17b - main - devel/intel-graphics-compiler: update to 1.0.9389

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Tue, 23 Nov 2021 16:47:41 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ffc12b3eb17b1e2949eb874e7673df194731eb0e

commit ffc12b3eb17b1e2949eb874e7673df194731eb0e
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-11-08 09:45:08 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-11-23 16:47:27 +0000

    devel/intel-graphics-compiler: update to 1.0.9389
    
    Changes:        https://github.com/intel/intel-graphics-compiler/releases/tag/igc-1.0.9389
    Reported by:    GitHub (watch releases)
---
 devel/intel-graphics-compiler/Makefile             |  2 +-
 devel/intel-graphics-compiler/distinfo             |  6 +++---
 .../intel-graphics-compiler/files/patch-strerror_r | 23 ----------------------
 3 files changed, 4 insertions(+), 27 deletions(-)

diff --git a/devel/intel-graphics-compiler/Makefile b/devel/intel-graphics-compiler/Makefile
index b32c380c8abb..7ea82934a77e 100644
--- a/devel/intel-graphics-compiler/Makefile
+++ b/devel/intel-graphics-compiler/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	intel-graphics-compiler
 DISTVERSIONPREFIX=	igc-
-DISTVERSION=	1.0.9289
+DISTVERSION=	1.0.9389
 CATEGORIES=	devel
 PKGNAMESUFFIX=	-${FLAVOR}
 
diff --git a/devel/intel-graphics-compiler/distinfo b/devel/intel-graphics-compiler/distinfo
index 40433876fc3e..80773a109b84 100644
--- a/devel/intel-graphics-compiler/distinfo
+++ b/devel/intel-graphics-compiler/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1635500623
-SHA256 (intel-intel-graphics-compiler-igc-1.0.9289_GH0.tar.gz) = 78fac5e59a0f50253a679d5ed1d66c19c970014ead3510b8b4cfab973015a110
-SIZE (intel-intel-graphics-compiler-igc-1.0.9289_GH0.tar.gz) = 7872553
+TIMESTAMP = 1636364708
+SHA256 (intel-intel-graphics-compiler-igc-1.0.9389_GH0.tar.gz) = 563a525375c25875aeb41a0fed1ebe9d1c3d67355576c73948c5305bcac93e36
+SIZE (intel-intel-graphics-compiler-igc-1.0.9389_GH0.tar.gz) = 7883556
 SHA256 (KhronosGroup-SPIRV-Headers-1.5.4.raytracing.fixed-123-g814e728_GH0.tar.gz) = e4880dccda018f63cdc684afd5e51972d8ad2e3f21e9bab346a865370ea2929e
 SIZE (KhronosGroup-SPIRV-Headers-1.5.4.raytracing.fixed-123-g814e728_GH0.tar.gz) = 416402
 SHA256 (KhronosGroup-SPIRV-Tools-v2021.4_GH0.tar.gz) = d68de260708dda785d109ff1ceeecde2d2ab71142fa5bf59061bb9f47dd3bb2c
diff --git a/devel/intel-graphics-compiler/files/patch-strerror_r b/devel/intel-graphics-compiler/files/patch-strerror_r
deleted file mode 100644
index d5996876448f..000000000000
--- a/devel/intel-graphics-compiler/files/patch-strerror_r
+++ /dev/null
@@ -1,23 +0,0 @@
-POSIX version of strerror_r returns int
-
-visa/iga/IGALibrary/system.cpp:263:14: error: assigning to 'char *' from incompatible type 'int'
-    errMsg = strerror_r(errCode, buf, sizeof(buf));
-             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
---- visa/iga/IGALibrary/system.cpp.orig	2021-09-11 19:03:27 UTC
-+++ visa/iga/IGALibrary/system.cpp
-@@ -259,8 +259,13 @@ std::string iga::FormatLastError(unsigned errCode)
-         NULL);
-     if (errMsg)
-         msg = errMsg;
--#else
-+#elif defined(__GLIBC__)
-     errMsg = strerror_r(errCode, buf, sizeof(buf));
-+#else
-+    if (strerror_r(errCode, buf, sizeof(buf)))
-+        errMsg = nullptr;
-+    else
-+        errMsg = buf;
- #endif // _WIN32
-     if (errMsg == nullptr || errMsg[0] == 0)
-         return "???";