From nobody Thu Dec 23 22:32:39 2021 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 7CCA9190A086; Thu, 23 Dec 2021 22:32:40 +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 4JKlLw07h6z4tcT; Thu, 23 Dec 2021 22:32:40 +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 D6BCE18F8B; Thu, 23 Dec 2021 22:32:39 +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 1BNMWdOV017757; Thu, 23 Dec 2021 22:32:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BNMWdGN017756; Thu, 23 Dec 2021 22:32:39 GMT (envelope-from git) Date: Thu, 23 Dec 2021 22:32:39 GMT Message-Id: <202112232232.1BNMWdGN017756@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: 8eb629390305 - main - games/irrlamb: fix build on non-x86 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: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8eb629390305a48f9e5e3b9906dfc569066da31e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640298760; 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=t+VeTABU71OzDk83c5rJU6NtFfJioDEP31fHpUS/GOA=; b=owlJqeSNGJ8JKTLKUNn9Mw2JrhxYeoRGNYUmBbVjXUnGMfqnaNd2CcLTDsEtIctO9vCTsB Iq7T5aGcmHSJJY8aWSgj2hwy5p71TzeLz6lj2RyaM67CE0FyYuEIgzguSXbUcP4kkXcfLa hQmmHaqJ72zLEaN4K70jM3eTVqb2lvZ2X5JJGWVvvxclwAqj7Feaw1uJ2GzKhHt2JNWc37 tuvTQrdFJ9CNI11huI+ZnCiK0sjRF1xi5tPDzJ6ZB5+bMEtbZX6SOaDDzq3dOYNSFxPt33 MkjuMuFBir/zu1nY4Sje7ZrPLxDrduwmRwkqoyXMSplbEDw+gMUV6nHHLsCnGA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640298760; a=rsa-sha256; cv=none; b=aLuw8PDNaPZX7Ud/tLiTjub4kZkD9XKsHwiNaHUUFJDlQOmP3xbvryRJ4S89WgTvxTy0R5 5jFKRUZ18Iq1dP5eFuLhYXYFIpVxNoPArxune2vACgtfFzyVcEW1QAfqzKaqpb50JAAw31 Dnkf9jPZXtLUceSDcdQb3ONkKgLR61lC7nV3QU3PSFYxbiykVue1CDCohdMTvYRl/C7hWT ZfvjZd5LWfM4dbPbjyxC6R5NTgh7i4WKFJ32d+6Rdn1B0mqXamWnW9nd5Agk23ZcnEDMCC Kh6BHt9hy85Letae995nP28grP+De4QP/Yughp5oCqggqbiiOpigYLXdCpNP4w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=8eb629390305a48f9e5e3b9906dfc569066da31e commit 8eb629390305a48f9e5e3b9906dfc569066da31e Author: Piotr Kubaj AuthorDate: 2021-12-23 22:25:50 +0000 Commit: Piotr Kubaj CommitDate: 2021-12-23 22:25:50 +0000 games/irrlamb: fix build on non-x86 /usr/bin/c++ -DGAME_VERSION=\"1.0.1\" -DLUA_USE_LINUX -DPLATFORM=0 -I/usr/local/include -I/usr/local/include/irrlicht -I/wrkdirs/usr/ports/games/irrlamb/work/irrlamb-1.0.1/src -I/wrkdirs/usr/ports/games/irrlamb/work/irrlamb-1.0.1/src/irrlicht/include -I/wrkdirs/usr/ports/games/irrlamb/work/irrlamb-1.0.1/src/OPCODE -I/wrkdirs/usr/ports/games/irrlamb/work/irrlamb-1.0.1/src/libccd -I/wrkdirs/usr/ports/games/irrlamb/work/irrlamb-1.0.1/src/libccd/custom -I/usr/local/include/freetype2 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wno-deprecated-declarations -pedantic -std=gnu++11 -msse -mfpmath=sse -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DdNODEBUG -s -MD -MT CMakeFiles/irrlamb.dir/src/OPCODE/Ice/IceAABB.cpp.o -MF CMakeFiles/irrlamb.dir/src/OPCODE/Ice/IceAABB.cpp.o.d -o CMakeFiles/irrlamb.dir/src/OPCODE/Ice/IceAABB.cpp.o -c /wrkdirs/usr/ports/games/irrlamb/work/irrlamb-1.0.1/src/OPCODE/Ice/IceAABB.cpp c++: warning: argument unused during compilation: '-msse' [-Wunused-command-line-argument] c++: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument] error: unknown FP unit 'sse' ninja: build stopped: subcommand failed. Builds fine on i386. --- games/irrlamb/files/patch-CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/games/irrlamb/files/patch-CMakeLists.txt b/games/irrlamb/files/patch-CMakeLists.txt index 29e6d6a01216..6c895b34188c 100644 --- a/games/irrlamb/files/patch-CMakeLists.txt +++ b/games/irrlamb/files/patch-CMakeLists.txt @@ -27,6 +27,15 @@ # projects project(irrlamb) +@@ -33,7 +28,7 @@ elseif(UNIX) + endif() + + # compiler flags +-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-deprecated-declarations -pedantic -std=gnu++11 -msse -mfpmath=sse") ++set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-deprecated-declarations -pedantic -std=gnu++11") + set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -DdNODEBUG -s") + set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -DdNODEBUG -s") + @@ -44,6 +39,14 @@ include_directories(${X11_Xrandr_INCLUDE_PATH}) include_directories(${X11_X11_INCLUDE_PATH}) include_directories(${X11_xf86vmode_INCLUDE_PATH})