mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 18:16:48 -04:00
PR: 273420 Reported by: kenrap@kennethraplee.com Approved by: mistresssilvara@hotmail.com (maintainer, timeout > 2 weeks)
11 lines
482 B
C++
11 lines
482 B
C++
--- crengine/src/lvstream/lvfilestream.cpp.orig
|
|
+++ crengine/src/lvstream/lvfilestream.cpp
|
|
@@ -179,7 +179,7 @@ extern "C" {
|
|
// it is logical to define our own wrapper function 'lseek'.
|
|
static inline lvpos_t cr3_lseek(int fd, lvoffset_t offset, int whence) {
|
|
#if LVLONG_FILE_SUPPORT == 1
|
|
- return (lvpos_t)::lseek64(fd, (off64_t)offset, whence);
|
|
+ return (lvpos_t)::lseek(fd, (off64_t)offset, whence);
|
|
#else
|
|
return (lvpos_t)::lseek(fd, (off_t)offset, whence);
|
|
#endif
|