Package: patchutils Version: 0.2.30-1 Severity: serious Tags: patch Justification: no longer builds from source
Current version of patchutils makes use of PATH_MAX which isn't defined on some systems (like GNU/Hurd). The attached patch fixes this. Best regards, Chris -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: hurd-i386 (i686-AT386) Kernel: GNU 0.3 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages patchutils depends on: ii debianutils 2.13.2 Miscellaneous utilities specific t ii libc0.3 2.3.2.ds1-20.0.1 GNU C Library: Shared libraries an ii patch 2.5.9-2 Apply a diff file to an original ii perl 5.8.4-5 Larry Wall's Practical Extraction -- no debconf information
--- patchutils-0.2.30.orig/src/rediff.c 2004-06-07 16:07:46.000000000 +0200 +++ patchutils-0.2.30/src/rediff.c 2005-05-09 13:22:14.000000000 +0200 @@ -1039,7 +1039,7 @@ int main (int argc, char *argv[]) syntax (1); if (argc - optind == 1) { - char *p = xmalloc (PATH_MAX); + char *p = xmalloc (strlen(argv[0]) + 1); char *f; char **const new_argv = xmalloc (sizeof (char *) * argc); memcpy (new_argv, argv, sizeof (char *) * argc);