mxcl/homebrew — pull request #14208 by mivok (2012-08-15 15:19:39+00:00)
Title: Fix compile error when building ldapvi

Error is as follows. I just added a dummy return value in the right place:

/usr/bin/clang -c -I/usr/local/Cellar/readline/6.2.4/include -I/usr/local/Cellar/libffi/3.0.11/include -I/usr/local/Cellar/gettext/0.18.1.1/include -isystem /usr/local/include -I/usr/local/Cellar/glib/2.32.4/include/glib-2.0 -I/usr/local/Cellar/glib/2.32.4/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8 -o misc.o misc.c
ldapvi.c:1468:30: error: non-void function 'copy_sasl_output' should return a value [-Wreturn-type]
if (lstat(sasl, &st) == -1) return;
^
1 error generated.
make: *** [ldapvi.o] Error 1
make: *** Waiting for unfinished jobs....
config.log was copied to /Users/mark/Library/Logs/Homebrew