From b3b7270dc39c111ac30d5fcbd624840ee689e559 Mon Sep 17 00:00:00 2001 From: Andrew Walbran Date: Wed, 22 Nov 2023 18:06:19 +0000 Subject: Remove patch which no longer applies. This doesn't apply to the current version, and is no longer needed. Test: Tried to apply the patch, it didn't apply in either direction. Change-Id: Ib38618e8a190498d467a6865bc355da7fe04a313 --- patches/env.diff | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 patches/env.diff diff --git a/patches/env.diff b/patches/env.diff deleted file mode 100644 index 39629cf..0000000 --- a/patches/env.diff +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/src/ffi.rs b/src/ffi.rs -index 13d98cd..39564dc 100644 ---- a/src/ffi.rs -+++ b/src/ffi.rs -@@ -42,7 +42,10 @@ use crate::*; - - #[no_mangle] - pub extern fn quiche_version() -> *const u8 { -- static VERSION: &str = concat!(env!("CARGO_PKG_VERSION"), "\0"); -+ //static VERSION: &str = concat!(env!("CARGO_PKG_VERSION"), "\0"); -+ // ANDROID's build system doesn't support environment variables -+ // so we hardcode the package version here. -+ static VERSION: &str = concat!("0.6.0", "\0"); - VERSION.as_ptr() - } - -- cgit v1.2.3