mirror of
https://git.freebsd.org/ports.git
synced 2025-07-12 14:59:13 -04:00
- Rename patch-src-Sblib.cxx to patch-src_Sblib.cxx and regenerate with 'make makepatch' - Add patch-src_fs.cxx to enable Dposix_fadvise - Add patch-src_wit.cxx to fix fails to build with clang 4.0 [1] PR: 216235 [1] Submitted by: jbeich@ [1] MFH: 2017Q1
11 lines
316 B
C++
11 lines
316 B
C++
--- src/fs.cxx.orig 2013-11-27 15:00:47 UTC
|
|
+++ src/fs.cxx
|
|
@@ -110,7 +110,7 @@ __export int logToFile (char * fileName,
|
|
return 0;
|
|
}
|
|
|
|
-#ifdef __linux
|
|
+#if defined(__linux__) || defined(__FreeBSD__)
|
|
int Dposix_fadvise (int fd, int offset, int len, int advice)
|
|
{
|
|
return posix_fadvise (fd, offset, len, advice);
|