diff options
Diffstat (limited to 'filesystems/unionfs/files')
-rw-r--r-- | filesystems/unionfs/files/patch-CMakeLists.txt | 15 | ||||
-rw-r--r-- | filesystems/unionfs/files/patch-src__usyslog.c | 11 | ||||
-rw-r--r-- | filesystems/unionfs/files/pkg-message.in | 20 |
3 files changed, 46 insertions, 0 deletions
diff --git a/filesystems/unionfs/files/patch-CMakeLists.txt b/filesystems/unionfs/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..107d85a0e259 --- /dev/null +++ b/filesystems/unionfs/files/patch-CMakeLists.txt @@ -0,0 +1,15 @@ +--- CMakeLists.txt.orig 2015-01-14 10:08:20 UTC ++++ CMakeLists.txt +@@ -9,12 +9,6 @@ IF(NOT CMAKE_CONFIGURATION_TYPES AND NOT + SET(CMAKE_BUILD_TYPE RelWithDebInfo) + ENDIF(NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE) + +-# Select flags. +-SET(CMAKE_C_FLAGS "-pipe -W -Wall -DFORTIFY_SOURCE=2") +-SET(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -g") +-SET(CMAKE_C_FLAGS_RELEASE "-O2") +-SET(CMAKE_C_FLAGS_DEBUG "-O0 -g -DDEBUG") +- + if (UNIX AND APPLE) + include_directories("/usr/local/include/osxfuse/fuse") + endif() diff --git a/filesystems/unionfs/files/patch-src__usyslog.c b/filesystems/unionfs/files/patch-src__usyslog.c new file mode 100644 index 000000000000..42f8ec61068b --- /dev/null +++ b/filesystems/unionfs/files/patch-src__usyslog.c @@ -0,0 +1,11 @@ +--- src/usyslog.c.orig 2015-01-14 10:08:20 UTC ++++ src/usyslog.c +@@ -23,7 +23,7 @@ + + #if __APPLE__ + #include <malloc/malloc.h> +-#else ++#elif !defined(__FreeBSD__) + #include <malloc.h> + #endif + diff --git a/filesystems/unionfs/files/pkg-message.in b/filesystems/unionfs/files/pkg-message.in new file mode 100644 index 000000000000..4859a839c805 --- /dev/null +++ b/filesystems/unionfs/files/pkg-message.in @@ -0,0 +1,20 @@ +[ +{ type: install + message: <<EOM +You will need to load the kernel module 'fuse' to use this package. To load +this at boot time, add the following line to /boot/loader.conf: + +fuse_load="YES" + +If you want unprivileged users to be able to use unionfs, add the following +line to /etc/sysctl.conf: + +vfs.usermount=1 + +You can enable them immediately with: + +kldload fuse +sysctl vfs.usermount=1 +EOM +} +] |