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)
Thu, Apr 24, 4:08 AM
Unknown Object (File)
Thu, Apr 17, 2:04 AM
Unknown Object (File)
Mon, Apr 14, 7:55 AM
Unknown Object (File)
Sat, Apr 5, 1:14 AM
Unknown Object (File)
Feb 7 2025, 9:41 AM
Unknown Object (File)
Jan 29 2025, 8:25 PM
Unknown Object (File)
Jan 18 2025, 12:53 AM
Unknown Object (File)
Jan 12 2025, 2:22 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.