diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-07-26 16:51:15 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-07-26 16:51:15 +0000 |
commit | 9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896 (patch) | |
tree | 9b071a8105704e992946dcd6b801e9fcb7635142 /audio/glame/files/patch-src_swapfile_swapfile__fs.c | |
parent | MooseFS is a Fault tolerant, High Available, Highly Performing, Scale-Out, (diff) |
Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.
With hat: portmgr
Sponsored by: Absolight
Diffstat (limited to 'audio/glame/files/patch-src_swapfile_swapfile__fs.c')
-rw-r--r-- | audio/glame/files/patch-src_swapfile_swapfile__fs.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/audio/glame/files/patch-src_swapfile_swapfile__fs.c b/audio/glame/files/patch-src_swapfile_swapfile__fs.c new file mode 100644 index 000000000000..64443e04673e --- /dev/null +++ b/audio/glame/files/patch-src_swapfile_swapfile__fs.c @@ -0,0 +1,16 @@ +--- src/swapfile/swapfile_fs.c.orig 2004-10-23 13:09:29 UTC ++++ src/swapfile/swapfile_fs.c +@@ -44,8 +44,12 @@ + #define DEBUG 1 + #endif + +-#include <sys/stat.h> ++#if __FreeBSD__ >= 5 ++#define __BSD_VISIBLE 1 ++#endif ++ + #include <sys/types.h> ++#include <sys/stat.h> + #include <pthread.h> + #include <fcntl.h> + #include <dirent.h> |