So I am getting a bunch of errors when recompiling plan9port on yosemite…

$ ./INSTALL
+ Mailing list: http://groups.google.com/group/plan9port-dev
+ Issue tracker: http://code.swtch.com/plan9port/issues/
+ Submitting changes: http://swtch.com/go/codereview

 

* Resetting /usr/local/plan9/config
* Compiler version:
Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
* Running on Darwin: checking architecture...
x86-64 found.
* Building everything (be patient)...
>>> cd /usr/local/plan9/src/lib9; mk all                  
9c  dirread.c
        return getdirentries(fd, (void*)buf, n, &off);
               ^
/usr/include/dirent.h:160:5: note: 'getdirentries' has been explicitly marked deprecated here
int getdirentries(int, char *, int, long *)
    ^
1 warning generated.
>>> cd /usr/local/plan9/src/libndb; mk all   
9c  ndbreorder.c
ndbreorder.c:41:55: warning: for loop has empty body [-Wempty-body]
                for(prev = last; prev->line != x; prev = prev->line);
                                                                    ^
ndbreorder.c:41:55: note: put the semicolon on a separate line to silence this warning
1 warning generated.
>>> cd /usr/local/plan9/src/cmd; mk all       
9c  dd.c
        ibuf = sbrk(ibs);
               ^
/usr/include/unistd.h:582:7: note: 'sbrk' has been explicitly marked deprecated here
void    *sbrk(int);
         ^
                obuf = sbrk(obs);
                       ^
/usr/include/unistd.h:582:7: note: 'sbrk' has been explicitly marked deprecated here

any ideas? it looks like something very fundamental with C…

-K