After src snapshot 0c47b9c211e, the build began failing with: ../../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); | ^ Restore the default definition of HAVE_MEMPCPY as mempcpy() has been available since 13.1, and remove a patch used to detect mempcpy() in /usr/include/string.h, as it is no longer necessary and does not match the function.
Details
Details
- Reviewers
tagattie - Commits
- R11:4cabd8470e6f: devel/electron*: Fix build on main
I'm still running build tests. Will update here soon.
Diff Detail
Diff Detail
- Repository
- R11 FreeBSD ports repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
There is another proposed patch (for www/qt6-webengine) at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280376, which is also applicable to devel/electron*.
In addition to the changes to patch-third__party_nasm_config_config-linux.h, we should remove patch-third__party_nasm_BUILD.gn altogether. Those changes are remnants from the time when not all FreeBSD versions did not support mempcpy(3).
Can you update the changes accordingly?
Thanks,
Hiroki