mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-15 13:46:58 +02:00
boringtun: update to 0.3.0.
This commit is contained in:
parent
7c0c8f43c7
commit
1c593aff6a
2 changed files with 2 additions and 28 deletions
|
@ -1,26 +0,0 @@
|
|||
From 3fad8bed118e629a985da17bf7af3de43e1e690b Mon Sep 17 00:00:00 2001
|
||||
From: Vlad Krasnov <vkrasnov@users.noreply.github.com>
|
||||
Date: Tue, 2 Apr 2019 07:37:55 -0400
|
||||
Subject: [PATCH] Fix musl build by letting Rust infer the correct type for
|
||||
SIOCGIFMTU (#60)
|
||||
|
||||
---
|
||||
src/device/tun_linux.rs | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/device/tun_linux.rs b/src/device/tun_linux.rs
|
||||
index ffac9c6..7167553 100644
|
||||
--- src/device/tun_linux.rs
|
||||
+++ src/device/tun_linux.rs
|
||||
@@ -122,7 +122,7 @@ impl TunSocket {
|
||||
|
||||
ifr.ifr_name[..iface_name.len()].copy_from_slice(iface_name);
|
||||
|
||||
- if unsafe { ioctl(fd, SIOCGIFMTU, &ifr) } < 0 {
|
||||
+ if unsafe { ioctl(fd, SIOCGIFMTU as _, &ifr) } < 0 {
|
||||
return Err(Error::IOCtl(errno_str()));
|
||||
}
|
||||
|
||||
--
|
||||
2.24.0
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'boringtun'
|
||||
pkgname=boringtun
|
||||
version=0.2.0
|
||||
version=0.3.0
|
||||
revision=1
|
||||
build_style=cargo
|
||||
short_desc="Implementation of the WireGuard protocol"
|
||||
|
@ -8,7 +8,7 @@ maintainer="Zach Nedwich <zach@znedw.com>"
|
|||
license="BSD-3-Clause"
|
||||
homepage="https://github.com/cloudflare/boringtun"
|
||||
distfiles="https://github.com/cloudflare/${pkgname}/archive/v${version}.tar.gz"
|
||||
checksum=544c72fc482b636e7f6460bfee205adafc55de534067819e4e4914980f0d1350
|
||||
checksum=@7ba22dcb785c9dfa99d70fc3ea0fa86908debd59eabc278f65db50a22bcc731c
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
ppc*) broken="ftbfs in ring" ;;
|
||||
|
|
Loading…
Add table
Reference in a new issue