mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
libowfat: update to 0.32.
This commit is contained in:
parent
c5b8641f3b
commit
1908080d31
2 changed files with 24 additions and 4 deletions
20
srcpkgs/libowfat/patches/fix-glibc.patch
Normal file
20
srcpkgs/libowfat/patches/fix-glibc.patch
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
diff --git a/io/iob_send.c b/io/iob_send.c
|
||||||
|
index 10a6e8c..81c2763 100644
|
||||||
|
--- io/iob_send.c
|
||||||
|
+++ io/iob_send.c
|
||||||
|
@@ -122,6 +122,14 @@ int64 iob_send(int64 s,io_batch* b) {
|
||||||
|
#include "io_internal.h"
|
||||||
|
#include "iob_internal.h"
|
||||||
|
|
||||||
|
+/*
|
||||||
|
+ * musl defines SO_ZEROCOPY 60 in sys/socket.h
|
||||||
|
+ * glibc doesn't, for whatever reason, so do it here
|
||||||
|
+ */
|
||||||
|
+#ifndef SO_ZEROCOPY
|
||||||
|
+#define SO_ZEROCOPY 60
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
int64 iob_send(int64 s,io_batch* b) {
|
||||||
|
iob_entry* e,* last;
|
||||||
|
io_entry* E;
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
# Template file for 'libowfat'
|
# Template file for 'libowfat'
|
||||||
pkgname=libowfat
|
pkgname=libowfat
|
||||||
version=0.31
|
version=0.32
|
||||||
revision=3
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_install_args="prefix=/usr MAN3DIR=/usr/share/man/man3"
|
make_install_args="prefix=/usr MAN3DIR=/usr/share/man/man3"
|
||||||
short_desc="Reimplement libdjb"
|
short_desc="Reimplement libdjb"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="https://www.fefe.de/libowfat/"
|
homepage="https://www.fefe.de/libowfat/"
|
||||||
distfiles="https://www.fefe.de/$pkgname/$pkgname-$version.tar.xz"
|
distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=d1e4ac1cfccbb7dc51d77d96398e6302d229ba7538158826c84cb4254c7e8a12
|
checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
|
make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
|
||||||
|
|
Loading…
Add table
Reference in a new issue