diff --git a/NEWS b/NEWS index 89d91404..9cc7461b 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,9 @@ +== Version 2.13.1 == + +30 Nov 2010 + +* Fixes were made for older GNU C Library. + == Version 2.13 == 29 Nov 2010 diff --git a/configure b/configure index 25a67742..3d869090 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.67 for fakechroot 2.13. +# Generated by GNU Autoconf 2.67 for fakechroot 2.13.1. # # Report bugs to . # @@ -701,8 +701,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='fakechroot' PACKAGE_TARNAME='fakechroot' -PACKAGE_VERSION='2.13' -PACKAGE_STRING='fakechroot 2.13' +PACKAGE_VERSION='2.13.1' +PACKAGE_STRING='fakechroot 2.13.1' PACKAGE_BUGREPORT='dexter@debian.org' PACKAGE_URL='http://fakechroot.alioth.debian.org/' @@ -1428,7 +1428,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures fakechroot 2.13 to adapt to many kinds of systems. +\`configure' configures fakechroot 2.13.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1499,7 +1499,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of fakechroot 2.13:";; + short | recursive ) echo "Configuration of fakechroot 2.13.1:";; esac cat <<\_ACEOF @@ -1604,7 +1604,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -fakechroot configure 2.13 +fakechroot configure 2.13.1 generated by GNU Autoconf 2.67 Copyright (C) 2010 Free Software Foundation, Inc. @@ -2084,7 +2084,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by fakechroot $as_me 2.13, which was +It was created by fakechroot $as_me 2.13.1, which was generated by GNU Autoconf 2.67. Invocation command line was $ $0 $@ @@ -3010,7 +3010,7 @@ fi # Define the identity of the package. PACKAGE='fakechroot' - VERSION='2.13' + VERSION='2.13.1' cat >>confdefs.h <<_ACEOF @@ -13347,6 +13347,8 @@ else /* end confdefs.h. */ +#define _BSD_SOURCE 1 + #ifdef HAVE_UNISTD_H #include @@ -13505,6 +13507,8 @@ else /* end confdefs.h. */ +#define _BSD_SOURCE 1 + #ifdef HAVE_DIRENT_H #include @@ -13677,6 +13681,9 @@ else /* end confdefs.h. */ +#define _BSD_SOURCE 1 +#define _GNU_SOURCE 1 + #ifdef HAVE_DIRENT_H #include @@ -14311,7 +14318,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by fakechroot $as_me 2.13, which was +This file was extended by fakechroot $as_me 2.13.1, which was generated by GNU Autoconf 2.67. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -14378,7 +14385,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -fakechroot config.status 2.13 +fakechroot config.status 2.13.1 configured by $0, generated by GNU Autoconf 2.67, with options \\"\$ac_cs_config\\" diff --git a/configure.ac b/configure.ac index d25c737c..40364159 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_PREREQ(2.62) -AC_INIT([fakechroot], [2.13], [dexter@debian.org], [fakechroot], [http://fakechroot.alioth.debian.org/]) +AC_INIT([fakechroot], [2.13.1], [dexter@debian.org], [fakechroot], [http://fakechroot.alioth.debian.org/]) AC_CANONICAL_TARGET AM_INIT_AUTOMAKE AM_MAINTAINER_MODE @@ -250,7 +250,9 @@ AC_CHECK_FUNC_ARGTYPES([fts_open], [[int (*_)(const FTSENT * const *, const FTSENT * const *)], [int (*_)(const FTSENT **, const FTSENT **)]]) AC_CHECK_FUNC_ARGTYPES([readlink], - [], [unistd.h], + [ +#define _BSD_SOURCE 1 + ], [unistd.h], [[ssize_t], [const char *_], [char *_], [size_t _]], [[ssize_t], [int]], [[const char *_]], @@ -258,7 +260,9 @@ AC_CHECK_FUNC_ARGTYPES([readlink], [[size_t _], [int _]]) AC_CHECK_FUNC_ARGTYPES([scandir], - [], [dirent.h], + [ +#define _BSD_SOURCE 1 + ], [dirent.h], [[int], [const char *_], [struct dirent ***_], [int(*_)(const struct dirent *)], [int(*_)(const void *,const void *)]], [[int]], [[const char *_]], @@ -267,7 +271,10 @@ AC_CHECK_FUNC_ARGTYPES([scandir], [[int(*_)(const struct dirent **, const struct dirent **)], [int(*_)(const void *,const void *)]]) AC_CHECK_FUNC_ARGTYPES([scandir64], - [], [dirent.h], + [ +#define _BSD_SOURCE 1 +#define _GNU_SOURCE 1 + ], [dirent.h], [[int], [const char *_], [struct dirent64 ***_], [int(*_)(const struct dirent64 *)], [int(*_)(const void *,const void *)]], [[int]], [[const char *_]], diff --git a/src/libfakechroot.c b/src/libfakechroot.c index 048c3125..baeca7ef 100644 --- a/src/libfakechroot.c +++ b/src/libfakechroot.c @@ -26,6 +26,7 @@ #include #define _ATFILE_SOURCE +#define _BSD_SOURCE #define _GNU_SOURCE #define __BSD_VISIBLE