From nobody Thu Apr 14 14:15:52 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 263171B32A7D; Thu, 14 Apr 2022 14:15:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KfM206dN0z4p4D; Thu, 14 Apr 2022 14:15:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649945753; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=aLxZ1SykS0ZZ4dnsqHzi7zC923p7Iaw00qlB4LLeycA=; b=wuv/YWgmIXUoAZKWt/7okkv4IJsuUC53EchTd2nP2n2LDgQAX//0UtpH10fGbzfWudqhVg ngGGPuWOgsorNQfNd7/WyNL2cdd9bqPMwSq9r6LPTWnwOo9h6xkIiXxbXW64YNUyLSU1MY xs1G9XOA/zzX46DQgwSJMev4ju741haQPDWBT27de3An2c/0qQmf//tNJ1ajOSa0ViUgXR 10U4Vr25notLoJic607ojf/Qu26MZ6ugZ7G4LR8TbYfhNi40eG/9OeYca1wgLJ3ZPbeN1r 8Rp7kdCviM+gB/sJ8Aytwnk6p/1DOrtd2iJ9JpyV5CBrv5HYZb637QDch1bDXg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B99C021F97; Thu, 14 Apr 2022 14:15:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23EEFq5K008112; Thu, 14 Apr 2022 14:15:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23EEFqT4008111; Thu, 14 Apr 2022 14:15:52 GMT (envelope-from git) Date: Thu, 14 Apr 2022 14:15:52 GMT Message-Id: <202204141415.23EEFqT4008111@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dima Panov Subject: git: 9d20700b977b - main - graphics/openshadinglanguage: unbreak build with py311 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fluffy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9d20700b977b05ca0e06dfa0843270947deb7864 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649945753; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=aLxZ1SykS0ZZ4dnsqHzi7zC923p7Iaw00qlB4LLeycA=; b=IQ5FUwWfiA37bPH0lqOEF5nxMd21usNjn5T+HmtybvhUPnK+/zt2aKTEVnBV8ut4mbVmm6 k/86xGBwNdaLIoZ5dZX7lMNgRGrLd22cQj4FrjmaySGnslvi0m52BvKIYgoYWl9CLXlO/7 8wm1DjZYKYYIV2HrtpGaMejWs5gbfieRKXIYZYX18K6c3QxyQWAW32/T6YtRwJc20LjoIK 0RM+aVnIF/DZhVfKQRkTBXuqlj/UBzQgmm/tWaLlo2wYnnB8kVq05mydjPgDIKmyDcVQmO YSd3+uEhyOV7uRnqByhfqiX/k0uHslUQ5llZx7vWbinAu9s5TtVwdq1wfHDzjQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649945753; a=rsa-sha256; cv=none; b=B2hfgHXCmfEGBZNZ6SFjDLllFTyemM/iZMelixTiXzOUR10QSngeizWQtZ2mvHjtVpzRja FcpW+AMYbYZsdySFlCpaf5zIlIxVdjpcqQ7uoXeUrqD3pRBNVV8YLIJqlaJOqw5cYTU1EQ iII97EIPY7DZ3TJf9EDiUcRU6Nzp8+uD6MJHymdEYq2IbclHpxQjEaFQBgunG3MfMtUo6i etSSZxPFTu9RZdrB52vn8rkCgU9t81oCQlMJZ9DCrdbf5+EvYcw9ctrW8xSi4jil9dOVPX SLhLNp0Uomuuo8wahvGoSyYBc2qpvwFcfsCsOVkX67SL6FMs6STi2S62IhSiqw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fluffy: URL: https://cgit.FreeBSD.org/ports/commit/?id=9d20700b977b05ca0e06dfa0843270947deb7864 commit 9d20700b977b05ca0e06dfa0843270947deb7864 Author: Dima Panov AuthorDate: 2022-04-14 14:14:43 +0000 Commit: Dima Panov CommitDate: 2022-04-14 14:15:44 +0000 graphics/openshadinglanguage: unbreak build with py311 Approved by: maintainer (implicit) --- .../files/patch-src_liboslquery_py__osl.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/graphics/openshadinglanguage/files/patch-src_liboslquery_py__osl.h b/graphics/openshadinglanguage/files/patch-src_liboslquery_py__osl.h new file mode 100644 index 000000000000..be1a19d203b8 --- /dev/null +++ b/graphics/openshadinglanguage/files/patch-src_liboslquery_py__osl.h @@ -0,0 +1,16 @@ +--- src/liboslquery/py_osl.h.orig 2022-01-08 02:36:45 UTC ++++ src/liboslquery/py_osl.h +@@ -31,6 +31,13 @@ + # include + #endif + ++#if PY_VERSION_HEX >= 0x030b00a6 ++ #ifndef Py_BUILD_CORE ++ #define Py_BUILD_CORE 1 ++ #endif ++ #include "internal/pycore_frame.h" ++#endif ++ + #include + #include + #include