[Bug 280376] www/qt6-webengine: Fix build on head after string.h changes
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jul 19 22:02:08 BST 2024
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280376
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 at FreeBSD.org
Reporter: madpilot at FreeBSD.org
Flags: maintainer-feedback?(kde at FreeBSD.org)
Assignee: kde at FreeBSD.org
Created attachment 252179
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=252179&action=edit
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 created 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/cf8e5289a110954600f135024d1515a77d0ae34d
[2]
https://github.com/freebsd/freebsd-src/commit/0c47b9c211ede221629914ae0c5553586e772109
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the kde-freebsd
mailing list