Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 878821 Details for
Bug 918988
dev-libs/libcdio-2.1.0-r1: fails to compile (error: implicit declaration of function 'fseeko64'; did you mean 'fseeko'? [-Wimplicit-function-declaration])
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
replaces the 64-bit check with _LARGEFILE_SOURCE
fix-64-bit-decl.patch (text/plain), 998 bytes, created by
Christopher Fore
on 2023-12-12 02:38:50 UTC
(
hide
)
Description:
replaces the 64-bit check with _LARGEFILE_SOURCE
Filename:
MIME Type:
Creator:
Christopher Fore
Created:
2023-12-12 02:38:50 UTC
Size:
998 bytes
patch
obsolete
>diff --git a/lib/driver/_cdio_stdio.c b/lib/driver/_cdio_stdio.c >index b0d198b..83850d7 100644 >--- a/lib/driver/_cdio_stdio.c >+++ b/lib/driver/_cdio_stdio.c >@@ -50,7 +50,7 @@ > > /* On 32 bit platforms, fseek can only access streams of 2 GB or less. > Prefer fseeko/fseeko64, that take a 64 bit offset when LFS is enabled */ >-#if defined(HAVE_FSEEKO64) && defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS == 64) >+#if defined(HAVE_FSEEKO64) && defined(_LARGEFILE_SOURCE) > #define CDIO_FSEEK fseeko64 > #elif defined(HAVE_FSEEKO) > #define CDIO_FSEEK fseeko >diff --git a/lib/driver/_cdio_generic.c b/lib/driver/_cdio_generic.c >index 4a7fcad..f7fa85c 100644 >--- a/lib/driver/_cdio_generic.c >+++ b/lib/driver/_cdio_generic.c >@@ -56,7 +56,7 @@ > #endif > > /* If available and LFS is enabled, try to use lseek64 */ >-#if defined(HAVE_LSEEK64) && defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS == 64) >+#if defined(HAVE_LSEEK64) && defined(_LARGEFILE_SOURCE) > #if defined(_MSC_VER) > #include <io.h> > #endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 918988
:
876262
| 878821 |
893605