diff --git a/debian/patches/403_fix_PATH-MAX_hurd b/debian/patches/403_fix_PATH-MAX_hurd index 2dfbc6ca..d08dc47a 100644 --- a/debian/patches/403_fix_PATH-MAX_hurd +++ b/debian/patches/403_fix_PATH-MAX_hurd @@ -21,7 +21,7 @@ Index: shadow-4.0.18.1/lib/commonio.c int res; #if defined(S_ISLNK) - struct stat sb = { 0 }; + struct stat sb; if (lstat (new, &sb) == 0 && S_ISLNK (sb.st_mode)) { - if (realpath (new, resolved_path) == NULL) { +#ifndef PATH_MAX diff --git a/debian/patches/466_fflush-prompt b/debian/patches/466_fflush-prompt index fce81eb8..61a10a8b 100644 --- a/debian/patches/466_fflush-prompt +++ b/debian/patches/466_fflush-prompt @@ -8,9 +8,9 @@ Index: shadow-4.0.18.1/libmisc/Makefile.am --- shadow-4.0.18.1.orig/libmisc/Makefile.am 2005-09-05 18:21:37.000000000 +0200 +++ shadow-4.0.18.1/libmisc/Makefile.am 2006-09-17 12:18:05.616098001 +0200 @@ -49,4 +49,5 @@ - ulimit.c \ - utmp.c \ - valid.c \ + xgetgrnam.c \ + xgetgrgid.c \ + xgetspnam.c \ - xmalloc.c + xmalloc.c \ + yesno.c