From nobody Tue Jul 18 12:55:37 2023 X-Original-To: dev-commits-ports-all@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 4R4zT55YPvz4dTST; Tue, 18 Jul 2023 12:55:37 +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 4R4zT52r3Xz3GP1; Tue, 18 Jul 2023 12:55:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689684937; 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=ResNwjcdptzogV6f0kkj+DeseRo9QgYElED5RuGHVqM=; b=pyj0uYT/U2SmcgBX0K2jAq1DETQFyzu1JQ9xHwY5JW+TX7eyLDlMqo7smt95yD7CXTWHQn 4voLTuY0Qvz8AFw8y5dmQNHNm99YgavZoSv7k9K4eAbKQeLyuNQiOs6d/s6LdvpjAYd5kV Kw5moB6QUDMoV96mv/HrFldUvVtwmwg4apNcXI1tctIWUZ75lZ27xVA4aNSOQcCRnV0wkn HKmV4O7ASRmT3IDANx6QlTn7T1bPIP7eY4l7HKqwvkDOJTOY+QqMhLZVevwcoZP2s8efhD 9gbmSLJei+NJpzYxe17zZx07zSQppjJDgO4CwYGt3KWBAUC0PJPoffP8YforkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689684937; 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=ResNwjcdptzogV6f0kkj+DeseRo9QgYElED5RuGHVqM=; b=oJ2ZG9XVjHKVBPwykB4dKKpMMFgNqjtVr6zsskmaOr+vwSlnEf5iZNsx6QJADCa2UXf0zi 9szj0JayjxKqfe6+ce7XgXXfW2CGiHGHVNhqtK5ddF5Tn1AgJMspKJ1GIXQkEFe2M2Ce3n ZxWIPOtchNY6iGgqhfl6zuuUdIKVcXJP9DekkNep/SfwSMfhWj1aw0OnoFHkg+CJ+Dx0J+ BclmpW+eHZe8sPqM63rFoQqH16j2902sQQLYDYjZC5ytIX/5StKLNFFW9qfh/ZYqq7jCp6 ZVOIyk+3VCzmOAOZhK2bw3OdoYSJkfkeeGBPbUIFDpfHTp/biEq83v0j2X7YCA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689684937; a=rsa-sha256; cv=none; b=vm73A8RXIReIhO8Fjkr50kN3PiLU8ZbAkUTqBLmi5603uUhySdgbPwKrzATsizWXR8aJh+ NSN00A5d/eaREzlv3+5tQtIA/ukS7jeblTf1rBmj99YP+gbA1eNiaypXNaNzQH5rpWibYd xf5pgFdnTWaq4un/E/ip+DCw2O9oG6ADgkEKN8AoLlWuOyN+YEGLv4EnhQgv41T3Pd05ku i35AarD2hqUH9+Iru66FpytojkmdBkas1fAvDsIavsbIPJdY+RaEUpDf0zQ+m1UJ18e96i ymtil46UQ/JhW5AfdC9XnDe29MJd1iRcEejW4dXZ+9kRed21MewbIgof+LTGYA== 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 4R4zT51xVKz15KF; Tue, 18 Jul 2023 12:55:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36ICtbaL082919; Tue, 18 Jul 2023 12:55:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36ICtbCB082918; Tue, 18 Jul 2023 12:55:37 GMT (envelope-from git) Date: Tue, 18 Jul 2023 12:55:37 GMT Message-Id: <202307181255.36ICtbCB082918@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Renato Botelho Subject: git: 41f2281cb356 - main - multimedia/gmmlib: Update to 22.3.9 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: garga X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 41f2281cb356debadcea7cd0ad994cf38730bf8b Auto-Submitted: auto-generated The branch main has been updated by garga: URL: https://cgit.FreeBSD.org/ports/commit/?id=41f2281cb356debadcea7cd0ad994cf38730bf8b commit 41f2281cb356debadcea7cd0ad994cf38730bf8b Author: Renato Botelho AuthorDate: 2023-07-18 12:53:17 +0000 Commit: Renato Botelho CommitDate: 2023-07-18 12:55:27 +0000 multimedia/gmmlib: Update to 22.3.9 --- multimedia/gmmlib/Makefile | 3 +-- multimedia/gmmlib/distinfo | 6 +++--- .../files/patch-Source_GmmLib_GlobalInfo_GmmInfo.cpp | 20 ++++++++++++++++++++ ...patch-Source_GmmLib_inc_External_Common_GmmInfo.h | 20 ++++++++++++++++++++ 4 files changed, 44 insertions(+), 5 deletions(-) diff --git a/multimedia/gmmlib/Makefile b/multimedia/gmmlib/Makefile index 32c0c1e7970b..d8265f318c4a 100644 --- a/multimedia/gmmlib/Makefile +++ b/multimedia/gmmlib/Makefile @@ -1,6 +1,6 @@ PORTNAME= gmmlib DISTVERSIONPREFIX= intel-${PORTNAME}- -DISTVERSION= 22.3.6 +DISTVERSION= 22.3.9 CATEGORIES= multimedia PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ @@ -8,7 +8,6 @@ PATCHFILES+= f17dd87c7f57.patch:-p1 # https://github.com/intel/gmmlib/pull/67 PATCHFILES+= 4356a33c787c.patch:-p1 # https://github.com/intel/gmmlib/pull/68 PATCHFILES+= a75809957583.patch:-p1 # https://github.com/intel/gmmlib/pull/68 PATCHFILES+= 978f7d56f88a.patch:-p1 # https://github.com/intel/gmmlib/pull/68 -PATCHFILES+= 9e844d7c052d.patch:-p1 # https://github.com/intel/gmmlib/pull/68 PATCHFILES+= 072810163a05.patch:-p1 # https://github.com/intel/gmmlib/pull/68 PATCHFILES+= ab150305017a.patch:-p1 # https://github.com/intel/gmmlib/pull/68 PATCHFILES+= 0d45ab8163e7.patch:-p1 # https://github.com/intel/gmmlib/pull/68 diff --git a/multimedia/gmmlib/distinfo b/multimedia/gmmlib/distinfo index f9e110d2aaf9..ab197818e4c8 100644 --- a/multimedia/gmmlib/distinfo +++ b/multimedia/gmmlib/distinfo @@ -1,6 +1,6 @@ -TIMESTAMP = 1686068750 -SHA256 (intel-gmmlib-intel-gmmlib-22.3.6_GH0.tar.gz) = be853a72be8cc0a9d34a8e1a80c97e8c655c548a9f3bdeba953186725d562839 -SIZE (intel-gmmlib-intel-gmmlib-22.3.6_GH0.tar.gz) = 843539 +TIMESTAMP = 1689680240 +SHA256 (intel-gmmlib-intel-gmmlib-22.3.9_GH0.tar.gz) = 62d2f8333f1da3361952546a83dd40d1eb23d8bddacf67a160e63f565b68b5a6 +SIZE (intel-gmmlib-intel-gmmlib-22.3.9_GH0.tar.gz) = 845228 SHA256 (f17dd87c7f57.patch) = 0bdfd22e8f36a097c875796c7bbf7003a16cc7535fdf5d3caa3a7de9dc21c28e SIZE (f17dd87c7f57.patch) = 1485 SHA256 (4356a33c787c.patch) = bfcb39e72f470bc695a6c356bc0ad06c7ac6b8f0f4b64b41deb3d0678ec29171 diff --git a/multimedia/gmmlib/files/patch-Source_GmmLib_GlobalInfo_GmmInfo.cpp b/multimedia/gmmlib/files/patch-Source_GmmLib_GlobalInfo_GmmInfo.cpp new file mode 100644 index 000000000000..45093ae4ae57 --- /dev/null +++ b/multimedia/gmmlib/files/patch-Source_GmmLib_GlobalInfo_GmmInfo.cpp @@ -0,0 +1,20 @@ +--- Source/GmmLib/GlobalInfo/GmmInfo.cpp.orig 2023-07-18 11:43:35 UTC ++++ Source/GmmLib/GlobalInfo/GmmInfo.cpp +@@ -937,7 +937,7 @@ int32_t GmmLib::Context::IncrementRefCount() + { + int32_t *Ref = &RefCount; + +-#if defined(__linux__) ++#if defined(__GNUC__) + // returns 0 only when registering the first client + return (__sync_fetch_and_add(Ref, 1)); + #endif +@@ -972,7 +972,7 @@ int32_t GmmLib::Context::DecrementRefCount() + { + break; + } +-#if defined(__linux__) ++#if defined(__GNUC__) + } while(!__sync_bool_compare_and_swap(Ref, CurrentValue, TargetValue)); + #endif + return TargetValue; diff --git a/multimedia/gmmlib/files/patch-Source_GmmLib_inc_External_Common_GmmInfo.h b/multimedia/gmmlib/files/patch-Source_GmmLib_inc_External_Common_GmmInfo.h new file mode 100644 index 000000000000..c1df2d89eed4 --- /dev/null +++ b/multimedia/gmmlib/files/patch-Source_GmmLib_inc_External_Common_GmmInfo.h @@ -0,0 +1,20 @@ +--- Source/GmmLib/inc/External/Common/GmmInfo.h.orig 2023-07-18 11:42:34 UTC ++++ Source/GmmLib/inc/External/Common/GmmInfo.h +@@ -141,7 +141,7 @@ namespace GmmLib + { + #if defined(_WIN32) + return(InterlockedIncrement((LONG *)&RefCount) - 1); //InterLockedIncrement() returns incremented value +-#elif defined(__linux__) ++#elif defined(__GNUC__) + return(__sync_fetch_and_add(&RefCount, 1)); + #endif + } +@@ -163,7 +163,7 @@ namespace GmmLib + } + #if defined(_WIN32) + } while (!(InterlockedCompareExchange((LONG *)&RefCount, TargetValue, CurrentValue) == CurrentValue)); +-#elif defined(__linux__) ++#elif defined(__GNUC__) + } while (!__sync_bool_compare_and_swap(&RefCount, CurrentValue, TargetValue)); + #endif +