From nobody Thu Nov 23 13:33:57 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 4SbfGF3KZrz519Vc; Thu, 23 Nov 2023 13:33:57 +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 4SbfGF2s0Sz3Vyp; Thu, 23 Nov 2023 13:33:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700746437; 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=Gue6Z3Ip7oJpigt9L8SSTzoDEKghali8mN+BC1Fp2us=; b=Gnw+aY6iezefwd8B4lGLVfwRKZxtkRaHogjHQATU7bRKo+P7+NKqeMe2UL/AkHIJ+jv8ca wdp/TBuCPIAC3owUR1qvLYbtS2/C1n2a0Sv3Z1Fi4AsGOCL99Xi0s9eHlBzfaPRCl4wsWX LPd4BEzcvhyv565G7pv9qmS3oHznKmvAYHyP5pPSAKWVbvhjd+Ckt6Vpw8lylyhwa+uHPV BZkyuvV0yEfmpYUHs855cNKSgKi0Z+qNPi4DJQpjm/d9z1XITc3W0MgTjLgGdDg2g7mlu+ Ocm6q/ldBI9MGKiEd2hDu6K0DQNZEhAyiXCP6gJ79encOOT0G+gTAnUbGlVflQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700746437; 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=Gue6Z3Ip7oJpigt9L8SSTzoDEKghali8mN+BC1Fp2us=; b=vDv7J4lGYw+Ar6VTJdx7jhPIPeiBjAs6ll6yhjtc8Az51Ox6p+tki4mqkBpDSzXB/+Pgtu uMft7YpeFujlyK2IzTEurG1JyNI6Rg0KFaZ+Ko4ncuftIx9F6n+2Nfc3kO6Z9bfwWkLseM wdPrZA5Mi03MeIHoUvHcBH72iTgrsP45aBAFN/5fHsHqZlGq2t0aFctMkSx719jsDRuUVa u/dEzwSUSqbXtIY8Osq5ab0zsLDcW40o9cE7b7xixQ4rEcE28CzC4YiUmh+Fp7q8IM/iPO z2sJYoPADOX0UJyMbD5O6Vf8p8yD7nJzPGIsLu8TeJAvW0TI47UcLZmn0m1Nmg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700746437; a=rsa-sha256; cv=none; b=j1RB9tuC9cfFLZ87ER4ErHr3SjvnVolhBR2RHF9oUZ7NsHQuSFTgirguohKdKEePdsOVTE M/mIu8TjFTEtJ2PLGOiBADCjWw24wLolusoRC7+d7BrDDyvHelcpexZWNMvSGP61nTyh4J 4xPC0DdQGO8NAfikBJeh6mErPY3BAS3ZKb1ywDZMLWXpcOm+qee5Wr8OOQlsBLISZkkYpA D6uHlq/xJp91S9bVdHeW28oPj3ylSZUOA/C3hF9wM2ausibmH+7OcXXyAKOwaQ45a9FZGI g6A6s/gOBeA9mqUyZf1J7BQzDyBANTEG2Ksl35dRnB4IJUrUQ8cEtysOTEvBAw== 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 4SbfGF1vp6z13RK; Thu, 23 Nov 2023 13:33:57 +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 3ANDXvXW055708; Thu, 23 Nov 2023 13:33:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3ANDXvkG055705; Thu, 23 Nov 2023 13:33:57 GMT (envelope-from git) Date: Thu, 23 Nov 2023 13:33:57 GMT Message-Id: <202311231333.3ANDXvkG055705@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Nagy Subject: git: 87c727cb27e4 - main - www/iridium: unbreak on i386 by bringing back cpu abi configuration 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: rnagy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 87c727cb27e4415aace7ee8a7731caa43ffc677c Auto-Submitted: auto-generated The branch main has been updated by rnagy: URL: https://cgit.FreeBSD.org/ports/commit/?id=87c727cb27e4415aace7ee8a7731caa43ffc677c commit 87c727cb27e4415aace7ee8a7731caa43ffc677c Author: Robert Nagy AuthorDate: 2023-11-23 13:33:37 +0000 Commit: Robert Nagy CommitDate: 2023-11-23 13:33:37 +0000 www/iridium: unbreak on i386 by bringing back cpu abi configuration --- www/iridium/Makefile | 1 + .../files/patch-build_config_compiler_BUILD.gn | 46 +++++++++++++--------- 2 files changed, 29 insertions(+), 18 deletions(-) diff --git a/www/iridium/Makefile b/www/iridium/Makefile index d1254ebc5ea3..ce16f530655a 100644 --- a/www/iridium/Makefile +++ b/www/iridium/Makefile @@ -1,5 +1,6 @@ PORTNAME= iridium PORTVERSION= 2023.11.119 +PORTREVISION= 1 CATEGORIES= www wayland MASTER_SITES= https://downloads.iridiumbrowser.de/source/ PKGNAMESUFFIX= -browser diff --git a/www/iridium/files/patch-build_config_compiler_BUILD.gn b/www/iridium/files/patch-build_config_compiler_BUILD.gn index cb46b6e1bfc4..8fff2f596bfd 100644 --- a/www/iridium/files/patch-build_config_compiler_BUILD.gn +++ b/www/iridium/files/patch-build_config_compiler_BUILD.gn @@ -1,4 +1,4 @@ ---- build/config/compiler/BUILD.gn.orig 2023-11-22 14:00:11 UTC +--- build/config/compiler/BUILD.gn.orig 2023-11-23 13:31:13 UTC +++ build/config/compiler/BUILD.gn @@ -196,7 +196,7 @@ declare_args() { # This greatly reduces the size of debug builds, at the cost of @@ -27,7 +27,17 @@ } # compiler --------------------------------------------------------------------- -@@ -505,6 +508,10 @@ config("compiler") { +@@ -314,7 +317,9 @@ config("compiler") { + + configs += [ + # See the definitions below. ++ ":clang_revision", + ":rustc_revision", ++ ":compiler_cpu_abi", + ":compiler_codegen", + ":compiler_deterministic", + ] +@@ -505,6 +510,10 @@ config("compiler") { } } @@ -38,7 +48,7 @@ # Linux-specific compiler flags setup. # ------------------------------------ if (use_gold) { -@@ -1091,7 +1098,7 @@ config("compiler_cpu_abi") { +@@ -1091,7 +1100,7 @@ config("compiler_cpu_abi") { ] } } else if (current_cpu == "arm") { @@ -47,7 +57,7 @@ !(is_chromeos_lacros && is_chromeos_device)) { cflags += [ "--target=arm-linux-gnueabihf" ] ldflags += [ "--target=arm-linux-gnueabihf" ] -@@ -1106,7 +1113,7 @@ config("compiler_cpu_abi") { +@@ -1106,7 +1115,7 @@ config("compiler_cpu_abi") { cflags += [ "-mtune=$arm_tune" ] } } else if (current_cpu == "arm64") { @@ -56,7 +66,7 @@ !(is_chromeos_lacros && is_chromeos_device)) { cflags += [ "--target=aarch64-linux-gnu" ] ldflags += [ "--target=aarch64-linux-gnu" ] -@@ -1452,6 +1459,27 @@ config("compiler_deterministic") { +@@ -1452,6 +1461,27 @@ config("compiler_deterministic") { } } @@ -84,7 +94,7 @@ config("rustc_revision") { if (rustc_revision != "") { # Similar to the above config, this is here so that all files get recompiled -@@ -1725,7 +1753,7 @@ config("default_warnings") { +@@ -1725,7 +1755,7 @@ config("default_warnings") { ] } @@ -93,7 +103,7 @@ cflags += [ # TODO(crbug.com/1343975) Evaluate and possibly enable. "-Wno-deprecated-builtins", -@@ -1897,7 +1925,7 @@ config("no_chromium_code") { +@@ -1897,7 +1927,7 @@ config("no_chromium_code") { # third-party libraries. "-Wno-c++11-narrowing", ] @@ -102,7 +112,7 @@ cflags += [ # Disabled for similar reasons as -Wunused-variable. "-Wno-unused-but-set-variable", -@@ -2200,8 +2228,7 @@ config("default_stack_frames") { +@@ -2200,8 +2230,7 @@ config("default_stack_frames") { } # Default "optimization on" config. @@ -112,7 +122,7 @@ if (is_win) { if (chrome_pgo_phase != 2) { # Favor size over speed, /O1 must be before the common flags. -@@ -2260,8 +2287,7 @@ config("xoptimize") { +@@ -2260,8 +2289,7 @@ config("xoptimize") { } # Turn off optimizations. @@ -122,7 +132,7 @@ if (is_win) { cflags = [ "/Od", # Disable optimization. -@@ -2301,8 +2327,7 @@ config("xno_optimize") { +@@ -2301,8 +2329,7 @@ config("xno_optimize") { # Turns up the optimization level. On Windows, this implies whole program # optimization and link-time code generation which is very expensive and should # be used sparingly. @@ -132,7 +142,7 @@ if (is_nacl && is_nacl_irt) { # The NaCl IRT is a special case and always wants its own config. # Various components do: -@@ -2335,8 +2360,7 @@ config("xoptimize_max") { +@@ -2335,8 +2362,7 @@ config("xoptimize_max") { # # TODO(crbug.com/621335) - rework how all of these configs are related # so that we don't need this disclaimer. @@ -142,7 +152,7 @@ if (is_nacl && is_nacl_irt) { # The NaCl IRT is a special case and always wants its own config. # Various components do: -@@ -2362,8 +2386,7 @@ config("xoptimize_speed") { +@@ -2362,8 +2388,7 @@ config("xoptimize_speed") { } } @@ -152,7 +162,7 @@ cflags = [ "-O1" ] + common_optimize_on_cflags rustflags = [ "-Copt-level=1" ] ldflags = common_optimize_on_ldflags -@@ -2431,7 +2454,7 @@ config("afdo_optimize_size") { +@@ -2431,7 +2456,7 @@ config("afdo_optimize_size") { # There are some targeted places that AFDO regresses, so we provide a separate # config to allow AFDO to be disabled per-target. config("afdo") { @@ -161,7 +171,7 @@ cflags = [] if (clang_emit_debug_info_for_profiling) { # Add the following flags to generate debug info for profiling. -@@ -2458,7 +2481,7 @@ config("afdo") { +@@ -2458,7 +2483,7 @@ config("afdo") { cflags += [ "-Wno-backend-plugin" ] inputs = [ _clang_sample_profile ] } @@ -170,7 +180,7 @@ cflags = [ "-fauto-profile=${auto_profile_path}" ] inputs = [ auto_profile_path ] } -@@ -2496,8 +2519,7 @@ config("win_pdbaltpath") { +@@ -2496,8 +2521,7 @@ config("win_pdbaltpath") { } # Full symbols. @@ -180,7 +190,7 @@ rustflags = [] if (is_win) { if (is_clang) { -@@ -2623,7 +2645,8 @@ config("xsymbols") { +@@ -2623,7 +2647,8 @@ config("xsymbols") { configs += [ "//build/config:compress_debug_sections" ] } @@ -190,7 +200,7 @@ if (is_apple) { # TODO(https://crbug.com/1050118): Investigate missing debug info on mac. # Make sure we don't use constructor homing on mac. -@@ -2646,8 +2669,7 @@ config("xsymbols") { +@@ -2646,8 +2671,7 @@ config("xsymbols") { # Minimal symbols. # This config guarantees to hold symbol for stack trace which are shown to user # when crash happens in unittests running on buildbot. @@ -200,7 +210,7 @@ rustflags = [] if (is_win) { # Functions, files, and line tables only. -@@ -2732,8 +2754,7 @@ config("xminimal_symbols") { +@@ -2732,8 +2756,7 @@ config("xminimal_symbols") { # This configuration contains function names only. That is, the compiler is # told to not generate debug information and the linker then just puts function # names in the final debug information.