Page MenuHomeFreeBSD

multimedia/ringrtc: Fix build on recent main
ClosedPublic

Authored by jrm on Jul 20 2024, 10:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 22, 8:09 PM
Unknown Object (File)
Mon, Dec 15, 12:17 AM
Unknown Object (File)
Mon, Dec 15, 12:16 AM
Unknown Object (File)
Mon, Dec 15, 12:16 AM
Unknown Object (File)
Sun, Dec 14, 7:52 AM
Unknown Object (File)
Mon, Dec 8, 9:53 AM
Unknown Object (File)
Mon, Dec 8, 9:53 AM
Unknown Object (File)
Nov 20 2025, 2:03 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.