From d639c7a62c8decbaa950867369fc427a6a09a604 Mon Sep 17 00:00:00 2001
From: Christopher Brannon <chris@the-brannons.com>
Date: Sun, 11 Jul 2021 06:23:05 -0700
Subject: [PATCH] svn-client egg: fixes for building on musl.
The execvp from the Musl C library doesn't fall back to /bin/sh
when it can't figure out how to execute a file.
Also we apparently need to explicitly include fcntl.h.
---
build-svn-client | 1 +
svn-client-base.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/build-svn-client b/build-svn-client
index 85939b7..2a75d61 100644
a
|
b
|
|
| 1 | #!/bin/sh |
1 | 2 | # -*- sh -*- |
2 | 3 | |
3 | 4 | CFLAGS="`apr-1-config --includes` -D_LARGEFILE64_SOURCE " |
diff --git a/svn-client-base.c b/svn-client-base.c
index 366badd..d6139ea 100644
a
|
b
|
|
| 1 | #include <fcntl.h> |
1 | 2 | #include <apr.h> |
2 | 3 | #include <apr_hash.h> |
3 | 4 | #include <apr_file_io.h> |