From nobody Sun Aug 04 12:01:17 2024 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 4WcJ7f06swz5SCB4; Sun, 04 Aug 2024 12:01:18 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WcJ7d444Cz4Pmp; Sun, 4 Aug 2024 12:01:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722772877; 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=uHOG1nrhOFms1f7OxQna124mV7SzFnK1i1aoEshntC4=; b=jmKTkKleR8phyBF9+nxBvf45Xal/64kFKboLNVYsVerXqUefHPUyUYj80mjMfHVOSDdUfD bcmXoMuQTtUiiAudAJbDuJjN715j2/Hwt2kL+G0XmlPwTLdZSnIeSfSCpDm5yXTIC0reG9 YVqP9n6KE0BuIM2IPZf87+wZumm3LzTSeGPTP23sk+wS8Cxvbk+9oQcfxxOkk5jdkq5xTE QOhf8NuDNltqyEez8aT0UCDAmCxsBtYUxwdlT17InjzkUZGBH8E6HFVI3j0Dkp3gS13w6P psTdd7nMD6lYjAw/aRxnSL1KKvta3b9qaIItYU5woxVyz52yRUqh9rhgjBlJ/w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722772877; a=rsa-sha256; cv=none; b=wauKqCTStxmanGO6aqjdieFjL2SVjxqeGGEM3jD14FWnFTz7x/pd9ai1zMM+cglx+yM/53 EisCP9GF+b01EloNOllWSetWh+Uey7gd9D3rCZxftGNE0JlGnt20WcSnpz0MiuIZ7gZMtR 76apOtZw4zk67L5iTylwxQ1B9LIicL3tgOcvnkss17DdVWN3+WMVn3OV4cItWfwWR7H4Ef uzBebSUhhUUbyTtL3tTTO+UdtergNUtBWvwKJYNvnQgSaxWIZ8mBpXTc5QAulsN0utxb5M GP9hz/0ZtBSbi8PyeD512FPQvUXz9lmbtCBaaSBSxSmXL9I0XNcUqrptDcskNw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722772877; 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=uHOG1nrhOFms1f7OxQna124mV7SzFnK1i1aoEshntC4=; b=goNEz/2NcJR0Dn6j8WwWT4+VjzjNYP0q4v5D9RCMYGcinl4pzA3yNqJDCMdoV05TZXF2zh 5h8UQpv0ePoq+t4ajY3Z4QCHVGuMGgvz/5pJqd5ZqdCpuBXfgJKpTbWpGoas5/Py6bnaKS 9cUmOQR1KnsYXjIAA5+4WURuAH1YtX88ir0RdYxP8NlYcZFMeJFThWUduDX1Qq7GRbYAuP T2bPFXMiJJ3XCz5Jcj7242prFqpsgnbtUCrQL8C4OLzx/6JleoaHdlz7KBDge3aXahyswc iHVF1EeOpR3XwyvhrsaNZ8Z2hUfgOoPIdc9Uj6S6yUqyGYvXarI2qbyqm7JRjQ== 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 4WcJ7d3fXFzv95; Sun, 4 Aug 2024 12:01:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 474C1HeN012823; Sun, 4 Aug 2024 12:01:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 474C1HVX012820; Sun, 4 Aug 2024 12:01:17 GMT (envelope-from git) Date: Sun, 4 Aug 2024 12:01:17 GMT Message-Id: <202408041201.474C1HVX012820@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: d0b16b90db02 - main - games/slade: only enable SSE on i386 to fix other architectures 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d0b16b90db02e3d86aef8989007f23e4d31dc2ee Auto-Submitted: auto-generated The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=d0b16b90db02e3d86aef8989007f23e4d31dc2ee commit d0b16b90db02e3d86aef8989007f23e4d31dc2ee Author: Piotr Kubaj AuthorDate: 2024-07-31 09:03:32 +0000 Commit: Piotr Kubaj CommitDate: 2024-08-04 12:00:34 +0000 games/slade: only enable SSE on i386 to fix other architectures cc: error: unsupported option '-msse' for target 'powerpc-unknown-freebsd14.1' --- games/slade/files/patch-src_CMakeLists.txt | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/games/slade/files/patch-src_CMakeLists.txt b/games/slade/files/patch-src_CMakeLists.txt index aa926d46720c..96a3bab652cb 100644 --- a/games/slade/files/patch-src_CMakeLists.txt +++ b/games/slade/files/patch-src_CMakeLists.txt @@ -1,6 +1,6 @@ ---- src/CMakeLists.txt.orig 2018-11-25 00:21:04 UTC +--- src/CMakeLists.txt.orig 2021-06-01 04:32:31 UTC +++ src/CMakeLists.txt -@@ -16,7 +16,11 @@ unset(WITH_WXPATH CACHE) +@@ -16,7 +16,11 @@ if (UNIX OR MINGW) set( CL_WX_CONFIG wx-config ) if (UNIX OR MINGW) @@ -13,7 +13,7 @@ if (NOT WX_TOOL) message(FATAL_ERROR "\nNo functional wx_config script was found in your PATH.\nIs the wxWidgets development package installed?\nIf you built wxWidgets yourself, you can specify the path to your built wx-config executable via WITH_WXPATH\neg. -DWITH_WXPATH=\"/path/to/wx-config/\"" -@@ -52,7 +54,16 @@ if (WX_GTK3) +@@ -52,7 +56,16 @@ endif (WX_GTK3) set(wxWidgets_CONFIG_OPTIONS --toolkit=gtk3) endif (WX_GTK3) @@ -31,3 +31,14 @@ if (NO_WEBVIEW) SET(WX_LIBS ${WX_LIBS} html) else (NO_WEBVIEW) +@@ -159,8 +172,10 @@ endif(APPLE) + set_source_files_properties(${OSX_ICON} PROPERTIES MACOSX_PACKAGE_LOCATION Resources) + endif(APPLE) + ++if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "i386") + # enable SSE instructions for dumb library + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_USE_SSE -msse") ++endif() + + if(USE_SANITIZER) + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsanitize=address")