forked from kiss-community/repo
libbsd: new at 0.11.7
This commit is contained in:
parent
1aabaf8162
commit
8810728317
7
extra/libbsd/build
Executable file
7
extra/libbsd/build
Executable 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
2
extra/libbsd/checksums
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
97712f30a614595aade23a00fe2bbf0da82ad13941eaf67285ea28e4015d568f87
|
||||||
|
b73a7182fb61985d3f5eb14b6529d440f65e18a2ba510f11419baa7b04b6b2ea4e
|
1
extra/libbsd/depends
Normal file
1
extra/libbsd/depends
Normal file
@ -0,0 +1 @@
|
|||||||
|
libmd
|
14
extra/libbsd/largefile64.patch
Normal file
14
extra/libbsd/largefile64.patch
Normal 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
2
extra/libbsd/sources
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
https://libbsd.freedesktop.org/releases/libbsd-0.11.7.tar.xz
|
||||||
|
./largefile64.patch
|
1
extra/libbsd/version
Normal file
1
extra/libbsd/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
0.11.7 1
|
Loading…
Reference in New Issue
Block a user