libowfat: update to 0.32.

This commit is contained in:
maxice8 2018-10-18 21:08:26 -03:00 committed by Enno Boland
parent c5b8641f3b
commit 1908080d31
2 changed files with 24 additions and 4 deletions

View 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;

View File

@ -1,15 +1,15 @@
# Template file for 'libowfat'
pkgname=libowfat
version=0.31
revision=3
version=0.32
revision=1
build_style=gnu-makefile
make_install_args="prefix=/usr MAN3DIR=/usr/share/man/man3"
short_desc="Reimplement libdjb"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-2"
homepage="https://www.fefe.de/libowfat/"
distfiles="https://www.fefe.de/$pkgname/$pkgname-$version.tar.xz"
checksum=d1e4ac1cfccbb7dc51d77d96398e6302d229ba7538158826c84cb4254c7e8a12
distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
do_build() {
make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"