bump(main/sccache): 0.9.0

This commit is contained in:
termux-pacman-bot
2024-12-19 03:43:03 +00:00
parent bf930a79c9
commit f5e149b0f4
3 changed files with 34 additions and 2 deletions

View File

@@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/mozilla/sccache
TERMUX_PKG_DESCRIPTION="sccache is ccache with cloud storage"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="0.8.2"
TERMUX_PKG_VERSION="0.9.0"
TERMUX_PKG_SRCURL=https://github.com/mozilla/sccache/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=2b3e0ef8902fe7bcdcfccf393e29f4ccaafc0194cbb93681eaac238cdc9b94f8
TERMUX_PKG_SHA256=df5b8a38f6d29f438dba0be57ec2e6c4c87675c7b9bb4dd2e93d4c9375ca797b
TERMUX_PKG_DEPENDS="openssl"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_AUTO_UPDATE=true

View File

@@ -0,0 +1,16 @@
diff --git a/src/net.rs b/src/net.rs
index 79d350f..79cd7be 100644
--- a/src/net.rs
+++ b/src/net.rs
@@ -13,8 +13,10 @@
//! The module is used to provide abstraction over TCP socket and UDS.
use std::fmt;
-#[cfg(any(target_os = "linux", target_os = "android"))]
+#[cfg(target_os = "linux")]
use std::os::linux::net::SocketAddrExt;
+#[cfg(target_os = "android")]
+use std::os::android::net::SocketAddrExt;
use futures::{Future, TryFutureExt};
use tokio::io::{AsyncRead, AsyncWrite};

View File

@@ -0,0 +1,16 @@
diff --git a/src/server.rs b/src/server.rs
index c61e524..af86f5b 100644
--- a/src/server.rs
+++ b/src/server.rs
@@ -46,8 +46,10 @@ use std::io::{self, Write};
use std::marker::Unpin;
#[cfg(feature = "dist-client")]
use std::mem;
-#[cfg(any(target_os = "linux", target_os = "android"))]
+#[cfg(target_os = "linux")]
use std::os::linux::net::SocketAddrExt;
+#[cfg(target_os = "android")]
+use std::os::android::net::SocketAddrExt;
use std::path::PathBuf;
use std::pin::Pin;
use std::process::{ExitStatus, Output};