Summary: | dev-libs/libcdio-2.1.0-r1: fails to compile (error: implicit declaration of function 'fseeko64'; did you mean 'fseeko'? [-Wimplicit-function-declaration]) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sam James <sam> |
Component: | Current packages | Assignee: | Gentoo Sound Team <sound> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | csfore |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412 | ||
Attachments: |
build.log
replaces the 64-bit check with _LARGEFILE_SOURCE |
Description
Sam James
2023-12-01 21:02:23 UTC
Created attachment 878821 [details, diff]
replaces the 64-bit check with _LARGEFILE_SOURCE
I did some research and I don't think fseeko64 or lseek64 is a thing anymore because of the arg type changing dynamically based on if _LARGEFILE_SOURCE is defined or not in fseeko now.
That said, to avoid unintentionally breaking someone's setup, changing the #if lines in the patch seems to have fixed it.
(In reply to Christopher Fore from comment #1) > Created attachment 878821 [details, diff] [details, diff] > replaces the 64-bit check with _LARGEFILE_SOURCE > > I did some research and I don't think fseeko64 or lseek64 is a thing anymore > because of the arg type changing dynamically based on if _LARGEFILE_SOURCE > is defined or not in fseeko now. you're thinking of _FILE_OFFSET_BITS which controls the size of off_t _LARGEFILE_SOURCE and _LARGEFILE64_SOURCE control things like fseeko64, lseek64 |