git: cd7ed0d7f2d9 - main - graphics/openshadinglanguage: fix build on non-x86

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Mon, 05 Dec 2022 16:04:48 UTC
The branch main has been updated by pkubaj:

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

commit cd7ed0d7f2d96fb4210287428429542156729482
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-12-05 16:03:03 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-12-05 16:03:03 +0000

    graphics/openshadinglanguage: fix build on non-x86
    
    In file included from /wrkdirs/usr/ports/graphics/openshadinglanguage/work/OpenShadingLanguage-1.12.6.2/src/include/OSL/mask.h:7:
    In file included from /usr/lib/clang/13.0.0/include/immintrin.h:17:
    /usr/lib/clang/13.0.0/include/mmintrin.h:33:5: error: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'?
        __builtin_ia32_emms();
---
 graphics/openshadinglanguage/Makefile | 3 +++
 graphics/openshadinglanguage/distinfo | 4 +++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/graphics/openshadinglanguage/Makefile b/graphics/openshadinglanguage/Makefile
index 317839e0b924..449269545d5b 100644
--- a/graphics/openshadinglanguage/Makefile
+++ b/graphics/openshadinglanguage/Makefile
@@ -7,6 +7,9 @@ MAINTAINER=	FreeBSD@Shaneware.biz
 COMMENT?=	Advanced shading language for production GI renderers
 WWW=		https://github.com/AcademySoftwareFoundation/OpenShadingLanguage
 
+PATCH_SITES=	https://github.com/AcademySoftwareFoundation/OpenShadingLanguage/commit/
+PATCHFILES=	41cc6d78dba4115b7d4adcae7e4759ffa43c3833.patch:-p1
+
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
diff --git a/graphics/openshadinglanguage/distinfo b/graphics/openshadinglanguage/distinfo
index 59b0e1dc157b..22cff8541707 100644
--- a/graphics/openshadinglanguage/distinfo
+++ b/graphics/openshadinglanguage/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1665081363
+TIMESTAMP = 1670254834
 SHA256 (AcademySoftwareFoundation-OpenShadingLanguage-v1.12.6.2_GH0.tar.gz) = 0115a0a09ac9ef0ade88f2434e1472323b335c3f0ddcca0ffd062f9cc822e629
 SIZE (AcademySoftwareFoundation-OpenShadingLanguage-v1.12.6.2_GH0.tar.gz) = 20247666
+SHA256 (41cc6d78dba4115b7d4adcae7e4759ffa43c3833.patch) = e14769a4baf170e5af02b4f8ef3e26522ef4d9e120142f43fc7c8b175fc57e14
+SIZE (41cc6d78dba4115b7d4adcae7e4759ffa43c3833.patch) = 1382