Page MenuHomeFreeBSD

multimedia/ringrtc: Fix build on recent main
ClosedPublic

Authored by jrm on Jul 20 2024, 10:40 PM.
Tags
None
Referenced Files
F156814832: D46053.diff
Sat, May 16, 3:32 PM
Unknown Object (File)
Fri, May 15, 3:56 AM
Unknown Object (File)
Fri, May 15, 3:56 AM
Unknown Object (File)
Thu, May 14, 10:50 PM
Unknown Object (File)
Thu, May 14, 7:50 PM
Unknown Object (File)
Thu, May 14, 4:41 AM
Unknown Object (File)
Mon, May 11, 7:25 PM
Unknown Object (File)
Fri, May 8, 2:35 PM
Subscribers

Details

Summary

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);

Fix the build by restoring a default definition of HAVE_MEMPCPY since
we have had mempcpy() since 13.1.

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 58746
Build 55634: arc lint + arc unit

Event Timeline

jrm requested review of this revision.Jul 20 2024, 10:40 PM
jrm created this revision.

All supported releases have mempcpy, so it's not clear why this was needed in the first place. I suspect something similar is needed in www/qt6-webengine as well; similar breakage was observed in print/qt6-pdf by @netchild

This revision is now accepted and ready to land.Jul 21 2024, 3:38 AM
This revision was automatically updated to reflect the committed changes.