fakechroot: update to 2.14.

This commit is contained in:
Juan RP 2011-02-13 12:27:57 +01:00
parent beab3433a3
commit f565c2d8ee
2 changed files with 2 additions and 22 deletions

View file

@ -1,20 +0,0 @@
--- src/libfakechroot.c
+++ src/libfakechroot.c
@@ -2619,7 +2619,7 @@
#ifdef HAVE_SCANDIR
/* #include <dirent.h> */
-int scandir (const char *dir, struct dirent ***namelist, SCANDIR_TYPE_ARG3, int(*compar)(const void *, const void *))
+int scandir (const char *dir, struct dirent ***namelist, SCANDIR_TYPE_ARG3, int(*compar)(const struct dirent **, const struct dirent **))
{
char *fakechroot_path, *fakechroot_ptr, fakechroot_buf[FAKECHROOT_MAXPATH];
expand_chroot_path(dir, fakechroot_path, fakechroot_ptr, fakechroot_buf);
@@ -2631,7 +2631,7 @@
#ifdef HAVE_SCANDIR64
/* #include <dirent.h> */
-int scandir64 (const char *dir, struct dirent64 ***namelist, int(*filter)(const struct dirent64 *), int(*compar)(const void *, const void *))
+int scandir64 (const char *dir, struct dirent64 ***namelist, int(*filter)(const struct dirent64 *), int(*compar)(const struct dirent64 **, const struct dirent64 **))
{
char *fakechroot_path, *fakechroot_ptr, fakechroot_buf[FAKECHROOT_MAXPATH];
expand_chroot_path(dir, fakechroot_path, fakechroot_ptr, fakechroot_buf);

View file

@ -1,11 +1,11 @@
# Template file for 'fakechroot'
pkgname=fakechroot
version=2.9
version=2.14
distfiles="${DEBIAN_SITE}/main/f/$pkgname/${pkgname}_${version}.orig.tar.gz"
build_style=gnu_configure
short_desc="Gives a fake chroot environment"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=bfccb079d2d247b05d5f82473beca0043ddfc51a6ed595541575893fa3ab6c3e
checksum=da5d61f1c752e2e43400fc6c70cb8ad2f7177a3295534f8e0c6e3c208432d9f5
long_desc="
This package provides a library which overrides libc functions, so it is
possible to use root-specific tools without root privileges."