]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
do_freebsd.sh: Remove ENODATA requirement
authorWillem Jan Withagen <wjw@digiware.nl>
Fri, 24 Feb 2017 10:20:16 +0000 (11:20 +0100)
committerWillem Jan Withagen <wjw@digiware.nl>
Fri, 24 Feb 2017 10:20:16 +0000 (11:20 +0100)
 - This was there because cython did not know about ENOATTR
   But since cython 0.25.2 tus is fixed.
   And we don't need to edit /usr/include/errno.h

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
do_freebsd.sh

index c3229e79fc57a5146f9b10cb79fe85050240a065..3f8685135592cb1291d43b08e41bc986208fa10a 100755 (executable)
@@ -12,12 +12,6 @@ fi
 if [ x"$1"x = x"--deps"x ]; then
     sudo ./install-deps.sh
 fi
-if ! grep -q ENODATA /usr/include/errno.h; then
-    echo Need ENODATA in /usr/include/errno.h for cython compilations
-    echo Please add it manually after ENOATTR with value 87
-    echo '#define ENOATTR         87'
-    exit 1
-fi
 if [ -x /usr/bin/getopt ] && [ x"`/usr/bin/getopt -v`"x == x" --"x ]; then
     echo fix getopt path
     echo Native FreeBSD getopt is not compatible with the Linux getopt that is