mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-05 10:23:24 +00:00
bump(main/sccache): 0.9.0
This commit is contained in:
@@ -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
|
||||
|
||||
16
packages/sccache/src-net.rs.patch
Normal file
16
packages/sccache/src-net.rs.patch
Normal 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};
|
||||
16
packages/sccache/src-server.rs.patch
Normal file
16
packages/sccache/src-server.rs.patch
Normal 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};
|
||||
Reference in New Issue
Block a user