From nobody Mon Jun 26 00:51:11 2023 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 4Qq8RM4k1hz4gZZJ; Mon, 26 Jun 2023 00:51:11 +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 4Qq8RM4H82z4Mjb; Mon, 26 Jun 2023 00:51:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687740671; 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=A2s/J7lVE9fd5N7Y9cK6HBPeq+O1zbUW92RlwzY68xE=; b=lTCr2Gt3k6zpA472ZmzaSoTFu+IQc6id04gLoyuJuWRySW0LZg+Q5ZM20XQ78sfZYTK+fF RoRnvMMkC1EvFSdkqqMivfqMSwsKSXsLTPTQL6ivl4x6+piMR7nfr4DxyYkW1UE5nn4Pv/ B8yrCG4ugHsnPYjlSvUv37GXISXqde6FxDaz5f6paY94IY45QbpzVxGvKIYAlNGGW7hNCM sSGTxd0VSxAslf5eJvpVlx1cbUhjmZI16FCEcHUf4tCFDiH+zP2xbZvBNS5IdLTCR7DjHk q4ZvlZM53d0MjH6f7w/aJffiadsuEQ8+st41aYlkk1+heAlKJXcN2xl7Uwm6jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687740671; 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=A2s/J7lVE9fd5N7Y9cK6HBPeq+O1zbUW92RlwzY68xE=; b=n1J0cNOlgrYRE/MiR8LMynQK9NcgqcifL7bYaLY+D1mujCE8GOsykGVqtchLFpATNvkYDu V6dYlJZW8zAoRyREKN08Fc1vcwhHdp2qnuR3R94RIouFBkRJjA2s4o5Z2ypDvTnYxKdV/s iy36WawGCwZz2YQb4lzxrtG4/pkoQWOyDfeG7TXEisfU2uGKG0pIZ+DIElhg2rA/9U87Cr qKTISwQN4GVS4qgB+JfBvOsF0XcPFYCaIAOvENADyQRvwQN6m4A5Y2KoxdWG8eeIlLjRYX QW8qzbwiq43KHPQC4wqvuBSXiktoCyAmlBhpEc34f1+jCA7cQkkMEvgojwWJXA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687740671; a=rsa-sha256; cv=none; b=ghJow3GR4Fpyf7gnUoLtpspsB6PTOIw3pl6CRpTv4s63gqkXg5bRX3IWE9ncTDBz0Sb6Ei zEQef2ver1h9TFwH0TLKDO5F+Gx6il7mS5x4ZKldQveYYwblVRDAku54dn7VndaRgKS3S8 RytEs/hEKUsC2FQroAkzLYYWltAWVnExnijiwKmtQeBt7dS3yDnnIatUXoLZlD1s32gHJT FeRVaVC4q3rk7Uf8SDgVZOOZq/1Lds10zUupMCO6Kvp0RslSODKOI5VIJ2LS+fKs+80CQh +0d86EI3y/3lrgAFvOsJbHc85vIl37VKkl6ggg2bkCEcB4i+D5s2j0tNrCqqsQ== 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 4Qq8RM35HMzptx; Mon, 26 Jun 2023 00:51:11 +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 35Q0pBrp067319; Mon, 26 Jun 2023 00:51:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35Q0pBXX067317; Mon, 26 Jun 2023 00:51:11 GMT (envelope-from git) Date: Mon, 26 Jun 2023 00:51:11 GMT Message-Id: <202306260051.35Q0pBXX067317@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Cy Schubert Subject: git: 2db895874954 - main - deskutils/plan: Fix LLVM16 build 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: cy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2db8958749548677ec7b28cb449a44c6401548ec Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=2db8958749548677ec7b28cb449a44c6401548ec commit 2db8958749548677ec7b28cb449a44c6401548ec Author: Cy Schubert AuthorDate: 2023-06-26 00:50:15 +0000 Commit: Cy Schubert CommitDate: 2023-06-26 00:51:05 +0000 deskutils/plan: Fix LLVM16 build Fix the following LLVM16 error: main.c:126:9: error: incompatible function pointer types passing 'void (int)' to parameter of type 'void (* _Nonnull)(void)' [-Wincompatible-function-pointer-types] atexit(plan_exit); ^~~~~~~~~ /usr/include/stdlib.h:92:29: note: passing argument to parameter here int atexit(void (* _Nonnull)(void)); ^ MFH: 2023Q2 --- deskutils/plan/files/patch-main.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/deskutils/plan/files/patch-main.c b/deskutils/plan/files/patch-main.c new file mode 100644 index 000000000000..2a72efc4132d --- /dev/null +++ b/deskutils/plan/files/patch-main.c @@ -0,0 +1,11 @@ +--- main.c.orig 2017-10-17 00:54:07.000000000 -0700 ++++ main.c 2023-06-25 17:47:19.371176000 -0700 +@@ -123,7 +123,7 @@ + XGCValues gcval; + + #ifdef __FreeBSD__ +- atexit(plan_exit); ++ atexit((void *)plan_exit); + #endif + interactive = FALSE; + if ((progname = strrchr(argv[0], '/')) && progname[1])