[Bug 280376] www/qt6-webengine: Fix build on head after string.h changes
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 19 Jul 2024 21:02:08 UTC
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@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=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.