From nobody Fri Jul 08 20:55:19 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 AEE2C12AA32E; Fri, 8 Jul 2022 20:55:19 +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 4Lflsg3V0Yz3fnG; Fri, 8 Jul 2022 20:55:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657313719; 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=wM53Sf0WY3/9KvwnLJpVb7L8Z0qDC9x7+Qr+2olokYo=; b=Hx120tGzBrRlrRx8yx/DNxdtQ3IqLfjnVoM3CEPoro9JTn2eJ1azxvJjpb853cLBNuOM5a 06EyWgixixNg3a+g+i9PVexjLM7w699BfIlZHnF53XbP5XRuOK5VBfQA8avnN0RePUOGgi BClI6504h2LSgge4m1/Dj3VFPnDuumZE7LMQHLs5TPH/CsyhVO2Dv0Of2mHG4hENow17cK takoepWw4SC6FpLP0XrC/CUwq3jE4QKwEOVpqu4p7MRws5MD9rQ/xn526A7LsgRam5+yai PFf2nOvnyvoZPzfJw8drxSmtPneD1Nl1hSidInNTzFTCL59bZFhCSUvhoptF2w== 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 4Lflsg2RNCzKgt; Fri, 8 Jul 2022 20:55:19 +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 268KtJO1030381; Fri, 8 Jul 2022 20:55:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 268KtJbG030380; Fri, 8 Jul 2022 20:55:19 GMT (envelope-from git) Date: Fri, 8 Jul 2022 20:55:19 GMT Message-Id: <202207082055.268KtJbG030380@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Greg Lewis Subject: git: 2d7c6781aa23 - main - x11-wm/afterstep-stable: Fix the build for newer Clang versions 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: glewis X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2d7c6781aa2386b5dcbf116003a150cdd132375c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657313719; 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=wM53Sf0WY3/9KvwnLJpVb7L8Z0qDC9x7+Qr+2olokYo=; b=JiDcL/F1CcTcL3MnTVoQlSuQCJ11Q0zgr8cNqMBoj1P0RzGA9YEtJ6B2pp5b4k86eYTvKz 2HAPc2fZNGi71fSmF8mFyzLvSQtuqkWNMlJTqHJ7bV/FpDCu+WIzfrw+3FnKFKbgu8EWxh lqD3Q82ikuovrqEUf8E+G5TXrvTphDoYQ5vZRU63J6LEhDTfzx9YZrQEubiScVXfA8hUR4 tkPwOQEUsiq0XNWS6EyoAn4s1w4Zcqp61GdmRJrjKn6vAAYLPm/oki2g6we9/CKbhtTD2M Ni3+ibrsLvcHcQhGXiTABINXw9zz7TgfDake2HQNnejtkzW6fXf7BQLsYkDdfw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657313719; a=rsa-sha256; cv=none; b=cHWsKYQYPN5pE9TEnkrmhvaQbGFVb+08KltbgLQjO4qAJ0n7KmiTzE/tIoB3FQndtChZ+L QjbWkr9qG/ASaQh1vvelRzkpM7NKnMs3LUMm2jlB557Z47QlggTvNWDDhdfmOfV2C8stut cBQEwqZJuEYU2Hzlwm/gdG58gPTEbp5GGWI0d1qEJgZcZhAggGKG0ZzNMxYEpZQhs+qMBP A+/gFGYzPdgJfj0TGLGQss1HlfmYNWskmy8ZPVU4cJuK6p7nI3bsxjdYWRBn55PvppGp5P Ox1fiwp+S5l73DcKOCZVks7HiynJVMt+I60Kj6J5eI49U/NYPsBguNmDMFzT7Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by glewis: URL: https://cgit.FreeBSD.org/ports/commit/?id=2d7c6781aa2386b5dcbf116003a150cdd132375c commit 2d7c6781aa2386b5dcbf116003a150cdd132375c Author: Greg Lewis AuthorDate: 2022-07-08 20:53:03 +0000 Commit: Greg Lewis CommitDate: 2022-07-08 20:53:03 +0000 x11-wm/afterstep-stable: Fix the build for newer Clang versions --- .../afterstep-stable/files/patch-libAfterBase-selfdiag.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/x11-wm/afterstep-stable/files/patch-libAfterBase-selfdiag.c b/x11-wm/afterstep-stable/files/patch-libAfterBase-selfdiag.c new file mode 100644 index 000000000000..12a37a2ba82b --- /dev/null +++ b/x11-wm/afterstep-stable/files/patch-libAfterBase-selfdiag.c @@ -0,0 +1,14 @@ +--- libAfterBase/selfdiag.c.orig 2022-07-08 13:20:45.173997000 -0700 ++++ libAfterBase/selfdiag.c 2022-07-08 13:22:14.990203000 -0700 +@@ -89,6 +89,11 @@ + proc_tables _ptabs; + char *_elf_start = (char *)0x08048000; + ++#ifdef HAVE_ELF_H ++# if (defined(HAVE_ELF32_DYN_D_TAG) || defined(HAVE_ELF64_DYN_D_TAG)) && HAVE_DECL_ELFW ++extern ElfW(Dyn) _DYNAMIC[]; ++#endif ++#endif + + void + get_proc_tables (proc_tables * ptabs)