Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jul 2022 20:55:19 GMT
From:      Greg Lewis <glewis@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2d7c6781aa23 - main - x11-wm/afterstep-stable: Fix the build for newer Clang versions
Message-ID:  <202207082055.268KtJbG030380@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by glewis:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2d7c6781aa2386b5dcbf116003a150cdd132375c

commit 2d7c6781aa2386b5dcbf116003a150cdd132375c
Author:     Greg Lewis <glewis@FreeBSD.org>
AuthorDate: 2022-07-08 20:53:03 +0000
Commit:     Greg Lewis <glewis@FreeBSD.org>
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202207082055.268KtJbG030380>