dc2ba353b6
Latest upstream/feature release, similar to Debian, see the ChangeLog excerpts available at http://cto.homelinux.net/usr/ports/devel/cvs-devel/ChangeLog page. This feature release/version, I think, would be quite useful for all those users who want to share and, or transfer their existing CVS repositories from Linux to FreeBSD machines. PR: ports/118033 Submitted by: Balwinder S Dheeman <bdheeman@gmail.com>
27 lines
662 B
Text
27 lines
662 B
Text
# Fix FTBFS in hurd-i386 regarding bad check of PATH_MAX.
|
|
# Closes: #378966
|
|
# Thanks to Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>
|
|
diff -Nur lib/chdir-long.c lib/chdir-long.c
|
|
--- lib/chdir-long.c 2005-09-19 21:12:18.000000000 +0000
|
|
+++ lib/chdir-long.c 2006-07-20 02:47:32.000000000 +0000
|
|
@@ -39,9 +39,7 @@
|
|
# define O_DIRECTORY 0
|
|
#endif
|
|
|
|
-#ifndef PATH_MAX
|
|
-# error "compile this file only if your system defines PATH_MAX"
|
|
-#endif
|
|
+#ifdef PATH_MAX
|
|
|
|
struct cd_buf
|
|
{
|
|
@@ -269,6 +267,8 @@
|
|
}
|
|
#endif
|
|
|
|
+#endif /* PATH_MAX */
|
|
+
|
|
/*
|
|
Local Variables:
|
|
compile-command: "gcc -DTEST_CHDIR=1 -DHAVE_CONFIG_H -I.. -g -O -W -Wall chdir-long.c libcoreutils.a"
|
|
|