diff options
Diffstat (limited to 'main/cvs/getcwd.patch')
-rw-r--r-- | main/cvs/getcwd.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/main/cvs/getcwd.patch b/main/cvs/getcwd.patch new file mode 100644 index 0000000000..42486176bc --- /dev/null +++ b/main/cvs/getcwd.patch @@ -0,0 +1,21 @@ +Otherwise the checkout on our bamboo-agents fail due to: +"cvs [init aborted]: cannot get working directory: No such file or directory" + +This is caused by CVS using its bundled getcwd instead of the musl one. + +--- old/lib/xgetcwd.c ++++ new/lib/xgetcwd.c +@@ -21,12 +21,12 @@ + #ifdef HAVE_CONFIG_H + # include <config.h> + #endif ++#include <unistd.h> + + #include "xgetcwd.h" + + #include <errno.h> + +-#include "getcwd.h" + #include "xalloc.h" + + /* Return the current directory, newly allocated. |