Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jul 2024 21:02:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 280376] www/qt6-webengine: Fix build on head after string.h changes
Message-ID:  <bug-280376-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 280376
           Summary: www/qt6-webengine: Fix build on head after string.h
                    changes
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde@FreeBSD.org
          Reporter: madpilot@FreeBSD.org
             Flags: maintainer-feedback?(kde@FreeBSD.org)
          Assignee: kde@FreeBSD.org

Created attachment 252179
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D252179&action=
=3Dedit
patch v1

Hi,

I discovered that on recent head after the changes in [1] and/or [2]
qt6-webengine fails to build with the error below.

Looks like the base change actually added mempcpy() implementation. I creat=
ed a
patch that conditionally fixes the embedded config.h changing the line for
this.

This patch works fine here. I did choose the nearest __FreeBSD_version
available


--------

In file included from
../../../../../qtwebengine-everywhere-src-6.7.2/src/3rdparty/chromium/third=
_party/nasm/asm/eval.c:38:
../../../../../qtwebengine-everywhere-src-6.7.2/src/3rdparty/chromium/third=
_party/nasm/include/compiler.h:249:21:
error: static declaration of 'mempcpy' follows non-static declaration
  249 | static inline void *mempcpy(void *dst, const void *src, size_t n)
      |                     ^
/usr/include/string.h:71:8: note: previous declaration is here
   71 | void    *(mempcpy)(void * __restrict, const void * __restrict, size=
_t);
      |           ^
1 error generated.

--------



[1]
https://github.com/freebsd/freebsd-src/commit/cf8e5289a110954600f135024d151=
5a77d0ae34d

[2]
https://github.com/freebsd/freebsd-src/commit/0c47b9c211ede221629914ae0c555=
3586e772109

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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