From nobody Mon Oct 18 11:44:13 2021 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 AC47C17F02D0; Mon, 18 Oct 2021 11:44:14 +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 4HXw593F5gz3nNW; Mon, 18 Oct 2021 11:44:13 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 4A58D1FFB9; Mon, 18 Oct 2021 11:44:13 +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 19IBiDBq079369; Mon, 18 Oct 2021 11:44:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19IBiDua079368; Mon, 18 Oct 2021 11:44:13 GMT (envelope-from git) Date: Mon, 18 Oct 2021 11:44:13 GMT Message-Id: <202110181144.19IBiDua079368@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Mikael Urankar Subject: git: ac002c6ed239 - main - multimedia/obs-ndi: Remove march=core2 in CMakeLists.txt. 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: mikael X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ac002c6ed239de60b6b1eea25400a032ea9de8ca Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mikael: URL: https://cgit.FreeBSD.org/ports/commit/?id=ac002c6ed239de60b6b1eea25400a032ea9de8ca commit ac002c6ed239de60b6b1eea25400a032ea9de8ca Author: Mikael Urankar AuthorDate: 2021-10-18 10:42:26 +0000 Commit: Mikael Urankar CommitDate: 2021-10-18 11:43:57 +0000 multimedia/obs-ndi: Remove march=core2 in CMakeLists.txt. march=core2 isn't valid on several x86/non x86 platforms and causes build failures. PR: 259171 Approved by: yuri (maintainer) --- multimedia/obs-ndi/Makefile | 1 + multimedia/obs-ndi/files/patch-CMakeLists.txt | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/multimedia/obs-ndi/Makefile b/multimedia/obs-ndi/Makefile index 9607ca05c106..97304ff52748 100644 --- a/multimedia/obs-ndi/Makefile +++ b/multimedia/obs-ndi/Makefile @@ -1,5 +1,6 @@ PORTNAME= obs-ndi DISTVERSION= 4.9.1 +PORTREVISION= 1 CATEGORIES= multimedia MAINTAINER= yuri@FreeBSD.org diff --git a/multimedia/obs-ndi/files/patch-CMakeLists.txt b/multimedia/obs-ndi/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..94113e823907 --- /dev/null +++ b/multimedia/obs-ndi/files/patch-CMakeLists.txt @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2020-05-14 10:29:22 UTC ++++ CMakeLists.txt +@@ -153,7 +153,7 @@ endif() + if(UNIX AND NOT APPLE) + include(GNUInstallDirs) + +- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -mtune=core2 -Ofast") ++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Ofast") + + set_target_properties(obs-ndi PROPERTIES PREFIX "") + target_link_libraries(obs-ndi obs-frontend-api)