Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Apr 2021 15:25:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        powerpc@FreeBSD.org
Subject:   [Bug 255308] shells/ast-ksh: fix build on powerpc64*
Message-ID:  <bug-255308-25139-UQrrbrVf3y@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-255308-25139@https.bugs.freebsd.org/bugzilla/>
References:  <bug-255308-25139@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255308

--- Comment #3 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=3D27ff8d373e4d1ed2e6a049015109d23=
171e4bc1d

commit 27ff8d373e4d1ed2e6a049015109d23171e4bc1d
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-04-26 15:24:28 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2021-04-26 15:24:28 +0000

    shells/ast-ksh: fix build on powerpc64*

    Bring back patches committed as part of r346423 to fix build issue:
=20=20=20
/wrkdirs/usr/ports/shells/ast-ksh/work/ast-ksh93v/src/lib/libast/hash/hasha=
lloc.c:162:4:
error: non-const lvalue reference to type '__builtin_va_list' cannot bind t=
o a
temporary of type 'va_list' (aka 'char *')
                            va_copy(ap, va_listval(va_arg(ap, va_listarg)));
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/include/sys/_stdarg.h:49:32: note: expanded from macro 'va_copy'
        #define     va_copy(dest, src)      __va_copy(dest, src)
                                            ^~~~~~~~~~~~~~~~~~~~
    /usr/include/sys/_stdarg.h:47:58: note: expanded from macro '__va_copy'
      #define       __va_copy(dest, src)    __builtin_va_copy((dest), (src))
                                                                      ^~~~~
    1 error generated.

    PR:     255308
    Approved by:    saper@saper.info (maintainer)

 .../patch-src_lib_libast_hash_hashalloc.c (new)      | 20 ++++++++++++++++=
++++
 .../patch-src_lib_libast_string_tokscan.c (new)      | 20 ++++++++++++++++=
++++
 2 files changed, 40 insertions(+)

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255308-25139-UQrrbrVf3y>