From nobody Sat Aug 27 09:18:02 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 4MFB223qYbz4ZxNW; Sat, 27 Aug 2022 09:18:02 +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 4MFB2238Tsz3mlD; Sat, 27 Aug 2022 09:18:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661591882; 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=cG9uy3a380TtW3DM/2XT5l/SFJ/uBAz+RTI7dMPygzg=; b=qMjv6vz8dNZ+I+lX9FSU2pVKIo4ZThn/TaP1hPl+GCp4TrYnao4t+CTLSCye8WcQMYKexn TiLTblXtPFVtDKp3/MbhelGChhXHeEWiYC5L4LMr1UpYkK+7XvqSBhfbR+qCpAupCkWgVj iJBTSNuIxLzpX3S97LycGpn2ONsYoDWExbgqnsc7WFGXVINXI4b4SWW7y3iXR3bVBj5Tyv viCJU9MDSSUR5lliOCMYpPID5zdmjmoH9I5ppdNf6tbLOR97BOB+IW2Xbf4VbB7S+Nkc6H kxo+1BztG6NVfLLY+pptiJHD8B/wm62UrvoPeU9iQmJwR82R9Eq2GIuXJzQJRw== 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 4MFB2229yLzhkQ; Sat, 27 Aug 2022 09:18:02 +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 27R9I2mg050137; Sat, 27 Aug 2022 09:18:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27R9I2no050136; Sat, 27 Aug 2022 09:18:02 GMT (envelope-from git) Date: Sat, 27 Aug 2022 09:18:02 GMT Message-Id: <202208270918.27R9I2no050136@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: b33c627183c0 - main - devel/fccf: fix build on non-x86 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: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b33c627183c00a7c7ea599d54c066109ee7c09c5 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661591882; 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=cG9uy3a380TtW3DM/2XT5l/SFJ/uBAz+RTI7dMPygzg=; b=yt78+SvODpLgFIJcLVvy3+/3rdmmIDX+rEISVZXfY3TOOEbzjk0m5YreduAzlqPTX1sPDM zpFv3I6SDMNANmJR9htnwFCsho9IBk3PgPxucMcXmqKjX+n6HuR3e8Xf8exDKazDGnrnGj FkkrM+kV3STyuMp8/FBr867nW0tBnuJZLdabfgp5tTDGHgIM77zb04xFkADLnTExxF9LxZ 4fIQMpji8rqNVgvT6YYtPIdtJrC+4zpU4/aJda4Cue2rL27bPVEP4xJAGegzGoEhaMbtxR F/dbo+U47xKtn93KJ0XBZbShDHkO1xrbEohZjYztgdai5XpazufNsonjTuPpHw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661591882; a=rsa-sha256; cv=none; b=DLnCvxJCIRmAGfRoenYr7iZMcNWnCSwx+JIojBuRBuGfrpvorn8+QWVuAI+sskmm3R4Sup rV2iEhXSauvUbzt85+ztDxUBfXKaoPHKz0Y142w2BOPn0eL7CDiZ/9iri1+ajMnFup5AHC 9XmdOH3751P8KwU9Gvw4mryKh85WAhu2VmcJgDAK0+CEnN27CgAkw0X2YAYKyYvZWTU6NP PZ3CpbguG2dqIJC+YE3P4FkGgrkjRHWrBv/rGJkAgp7Mnpq6daKn8dSXRp85T6yGPXoa6B 3npn9z/IGSJf9uEC7rTGr4CcWO6SXJZPyC3tSMK4A2FEYFyJdlPjU1A4OFCitg== 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=b33c627183c00a7c7ea599d54c066109ee7c09c5 commit b33c627183c00a7c7ea599d54c066109ee7c09c5 Author: Piotr Kubaj AuthorDate: 2022-08-27 09:16:27 +0000 Commit: Piotr Kubaj CommitDate: 2022-08-27 09:17:54 +0000 devel/fccf: fix build on non-x86 immintrin.h is only used on amd64 and i386. In file included from /wrkdirs/usr/ports/devel/fccf/work/fccf-0.6.0/source/sse2_strstr.cpp:5: In file included from /usr/lib/clang/13.0.0/include/immintrin.h:17: /usr/lib/clang/13.0.0/include/mmintrin.h:33:5: error: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'? __builtin_ia32_emms(); ^ --- devel/fccf/files/patch-source_searcher.hpp | 12 ++++++++++++ devel/fccf/files/patch-source_sse2__strstr.cpp | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/devel/fccf/files/patch-source_searcher.hpp b/devel/fccf/files/patch-source_searcher.hpp new file mode 100644 index 000000000000..dda6fa68bcdb --- /dev/null +++ b/devel/fccf/files/patch-source_searcher.hpp @@ -0,0 +1,12 @@ +--- source/searcher.hpp.orig 2022-08-27 09:05:01 UTC ++++ source/searcher.hpp +@@ -18,7 +18,9 @@ + #define FMT_HEADER_ONLY 1 + #include + #include ++#if defined(__x86_64__) || defined (__i386__) + #include ++#endif + #include + #include + diff --git a/devel/fccf/files/patch-source_sse2__strstr.cpp b/devel/fccf/files/patch-source_sse2__strstr.cpp new file mode 100644 index 000000000000..d16b6f745b5d --- /dev/null +++ b/devel/fccf/files/patch-source_sse2__strstr.cpp @@ -0,0 +1,12 @@ +--- source/sse2_strstr.cpp.orig 2022-08-27 09:05:40 UTC ++++ source/sse2_strstr.cpp +@@ -2,7 +2,9 @@ + #include + + #include ++#if defined(__x86_64__) || defined (__i386__) + #include ++#endif + #include + + #define FORCE_INLINE inline __attribute__((always_inline))