libbsd: new at 0.11.7

This commit is contained in:
nitori 2024-01-02 15:22:32 +00:00
parent 1aabaf8162
commit 8810728317
Signed by: nitori
GPG Key ID: 5FBB7757BFC813A8
6 changed files with 27 additions and 0 deletions

7
extra/libbsd/build Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh -e
patch -p1 < largefile64.patch
./configure --prefix=/usr
make
make DESTDIR="$1" install

2
extra/libbsd/checksums Normal file
View File

@ -0,0 +1,2 @@
97712f30a614595aade23a00fe2bbf0da82ad13941eaf67285ea28e4015d568f87
b73a7182fb61985d3f5eb14b6529d440f65e18a2ba510f11419baa7b04b6b2ea4e

1
extra/libbsd/depends Normal file
View File

@ -0,0 +1 @@
libmd

View File

@ -0,0 +1,14 @@
Large file extensions are not exposed to funopen.c unless two macros are defined.
--- a/src/funopen.c
+++ b/src/funopen.c
@@ -24,6 +24,9 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#define _LARGEFILE64_SOURCE
+#define _FILE_OFFSET_BITS 64
+
#include <sys/cdefs.h>
#include <sys/types.h>
#include <errno.h>

2
extra/libbsd/sources Normal file
View File

@ -0,0 +1,2 @@
https://libbsd.freedesktop.org/releases/libbsd-0.11.7.tar.xz
./largefile64.patch

1
extra/libbsd/version Normal file
View File

@ -0,0 +1 @@
0.11.7 1