leftwm: update to 0.3.0
This commit is contained in:
parent
86f0f83a77
commit
071e3ed3ba
|
@ -1,31 +0,0 @@
|
|||
From 876216bcc0398fb869240cd51d5ea0d12ba699b1 Mon Sep 17 00:00:00 2001
|
||||
From: pkubaj <pkubaj@anongoth.pl>
|
||||
Date: Tue, 14 Dec 2021 06:37:11 +0000
|
||||
Subject: [PATCH] Fix build errors on architectures with u8 (#623)
|
||||
|
||||
---
|
||||
.../src/display_servers/xlib_display_server/xwrap/getters.rs | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/leftwm-core/src/display_servers/xlib_display_server/xwrap/getters.rs b/leftwm-core/src/display_servers/xlib_display_server/xwrap/getters.rs
|
||||
index 2fe20d3a..b8a90495 100644
|
||||
--- a/leftwm-core/src/display_servers/xlib_display_server/xwrap/getters.rs
|
||||
+++ b/leftwm-core/src/display_servers/xlib_display_server/xwrap/getters.rs
|
||||
@@ -3,7 +3,7 @@ use super::{Screen, WindowHandle, XlibError, MAX_PROPERTY_VALUE_LEN};
|
||||
use crate::models::{DockArea, WindowState, WindowType, XyhwChange};
|
||||
use crate::XWrap;
|
||||
use std::ffi::CString;
|
||||
-use std::os::raw::{c_int, c_long, c_uchar, c_uint, c_ulong};
|
||||
+use std::os::raw::{c_char, c_int, c_long, c_uchar, c_uint, c_ulong};
|
||||
use std::slice;
|
||||
use x11_dl::xlib;
|
||||
|
||||
@@ -575,7 +575,7 @@ impl XWrap {
|
||||
if status == 0 {
|
||||
return Err(XlibError::FailedStatus);
|
||||
}
|
||||
- if let Ok(s) = CString::from_raw(text_prop.value.cast::<i8>()).into_string() {
|
||||
+ if let Ok(s) = CString::from_raw(text_prop.value.cast::<c_char>()).into_string() {
|
||||
return Ok(s);
|
||||
}
|
||||
};
|
|
@ -1 +0,0 @@
|
|||
fix-arm-builds.patch
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'leftwm'
|
||||
pkgname=leftwm
|
||||
version=0.2.11
|
||||
version=0.3.0
|
||||
revision=1
|
||||
build_style=cargo
|
||||
makedepends="libX11-devel libXinerama-devel libXrandr-devel xorg-server-devel"
|
||||
|
@ -10,7 +10,7 @@ maintainer="Soc Virnyl S. Estela <socvirnyl.estela@gmail.com>"
|
|||
license="MIT"
|
||||
homepage="https://github.com/leftwm/leftwm"
|
||||
distfiles="https://github.com/leftwm/leftwm/archive/${version}.tar.gz"
|
||||
checksum=3a2bd59f12566d94b6be3b162c95d280acbaec1b40da415cb42fe07332a5b709
|
||||
checksum=d69d3ec8ea49b4a23e145d42a2f66f5c38642378c762919fce6c56b818fad8c7
|
||||
|
||||
do_install() {
|
||||
vdoc README.md
|
||||
|
|
Loading…
Reference in New Issue