maintainer-feedback requested: [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


Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-kde (group)
<kde at FreeBSD.org> for maintainer-feedback:
Bug 280376: www/qt6-webengine: Fix build on head after string.h changes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280376



--- Description ---
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_par
ty/nasm/asm/eval.c:38:
../../../../../qtwebengine-everywhere-src-6.7.2/src/3rdparty/chromium/third_par
ty/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/cf8e5289a110954600f135024d1515a77
d0ae34d

[2]
https://github.com/freebsd/freebsd-src/commit/0c47b9c211ede221629914ae0c5553586
e772109


More information about the kde-freebsd mailing list