diff options
author | Ganael LAPLANCHE <martymac@FreeBSD.org> | 2011-10-24 07:31:23 +0000 |
---|---|---|
committer | Ganael LAPLANCHE <martymac@FreeBSD.org> | 2011-10-24 07:31:23 +0000 |
commit | f5ce7553b033b4ce1747fe23a6b81fcd9f5f98ae (patch) | |
tree | f839a745322825be311cb2bd4ae977f990d97ddc /sysutils/wiimms/files/patch-setup.sh | |
parent | Restore Author: tag erroneously removed in previous commit. (diff) |
Add Wiimms, a set of command line tools to manipulate Wii and GameCube
ISO images and WBFS containers.
WWW: http://wit.wiimm.de
PR: ports/159747
Submitted by: Olivier Cochard-Labbe <olivier@cochard.me>
Diffstat (limited to 'sysutils/wiimms/files/patch-setup.sh')
-rw-r--r-- | sysutils/wiimms/files/patch-setup.sh | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sysutils/wiimms/files/patch-setup.sh b/sysutils/wiimms/files/patch-setup.sh new file mode 100644 index 000000000000..76b178295ded --- /dev/null +++ b/sysutils/wiimms/files/patch-setup.sh @@ -0,0 +1,31 @@ +--- setup.sh.orig 2011-07-08 20:21:46.000000000 +0200 ++++ setup.sh 2011-08-04 01:55:05.000000000 +0200 +@@ -19,8 +19,9 @@ + tim=($(date '+%s %Y-%m-%d %T')) + + have_fuse=0 +-[[ $NO_FUSE != 1 && -r /usr/include/fuse.h || -r /usr/local/include/fuse.h ]] \ +- && have_fuse=1 ++# TO DO: Fix fuse compilation (need to add a dependency to the port Makefile too ++#[[ $NO_FUSE != 1 && -r /usr/include/fuse.h || -r /usr/local/include/fuse.h ]] \ ++# && have_fuse=1 + + if [[ $M32 = 1 ]] + then +@@ -38,9 +39,13 @@ + && grep -qw fallocate /usr/include/bits/fcntl.h \ + && defines="$defines -DHAVE_FALLOCATE=1" + +-[[ -r /usr/include/fcntl.h ]] \ +- && grep -qw posix_fallocate /usr/include/fcntl.h \ +- && defines="$defines -DHAVE_POSIX_FALLOCATE=1" ++# Wrong test: FreeBSD fcntl.h include a comment with string "posix_fallocate" ++#[[ -r /usr/include/fcntl.h ]] \ ++# && grep -qw posix_fallocate /usr/include/fcntl.h \ ++# && defines="$defines -DHAVE_POSIX_FALLOCATE=1" ++ ++# FreeBSD didn't support Pre-alloc ++defines="$defines -DNO_PREALLOC" + + [[ $STATIC = 1 ]] || STATIC=0 + |