pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/wm/leftwm



Module Name:    pkgsrc
Committed By:   pin
Date:           Sun Dec 31 08:58:58 UTC 2023

Modified Files:
        pkgsrc/wm/leftwm: distinfo
Added Files:
        pkgsrc/wm/leftwm/patches:
            patch-display-servers_xlib-display-server_src_xwrap_setters.rs

Log Message:
wm/leftwm: fix build on i386


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/wm/leftwm/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/wm/leftwm/patches/patch-display-servers_xlib-display-server_src_xwrap_setters.rs

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/wm/leftwm/distinfo
diff -u pkgsrc/wm/leftwm/distinfo:1.11 pkgsrc/wm/leftwm/distinfo:1.12
--- pkgsrc/wm/leftwm/distinfo:1.11      Fri Nov 17 07:43:54 2023
+++ pkgsrc/wm/leftwm/distinfo   Sun Dec 31 08:58:57 2023
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2023/11/17 07:43:54 pin Exp $
+$NetBSD: distinfo,v 1.12 2023/12/31 08:58:57 pin Exp $
 
 BLAKE2s (addr2line-0.21.0.crate) = aa7d8fa248d0454d92b962f5d741ba41c55564299d33e6814e70dfe0b71bbcc7
 SHA512 (addr2line-0.21.0.crate) = afde7660dda30dee240e79df1fb5b92d4572520bf17a134ef3765e2a077af9e13713952d52e27fae420109b40f6e24dbce1056687dbcbead858ffc21cc7dc69b
@@ -501,3 +501,4 @@ Size (x11-dl-2.21.0.crate) = 66823 bytes
 BLAKE2s (xdg-2.5.2.crate) = 0f174fa5ab3c513b691bf1bf0a4cb628e25bc0f9a2af9700ec21c07cfe8f8609
 SHA512 (xdg-2.5.2.crate) = 12c7f42d2afd63d8d196511fa069519a0c495fc2555c87c059b96b46d7e2a2c51c31836c48fb329806d312a45a2fd67b4243793aa91e2139e2aa3f05230b2edd
 Size (xdg-2.5.2.crate) = 14394 bytes
+SHA1 (patch-display-servers_xlib-display-server_src_xwrap_setters.rs) = 600a05b3735ecebf91ee18a2b5f12d39358d9a0d

Added files:

Index: pkgsrc/wm/leftwm/patches/patch-display-servers_xlib-display-server_src_xwrap_setters.rs
diff -u /dev/null pkgsrc/wm/leftwm/patches/patch-display-servers_xlib-display-server_src_xwrap_setters.rs:1.1
--- /dev/null   Sun Dec 31 08:58:58 2023
+++ pkgsrc/wm/leftwm/patches/patch-display-servers_xlib-display-server_src_xwrap_setters.rs     Sun Dec 31 08:58:57 2023
@@ -0,0 +1,17 @@
+$NetBSD: patch-display-servers_xlib-display-server_src_xwrap_setters.rs,v 1.1 2023/12/31 08:58:57 pin Exp $
+
+Fix build on i386.
+https://github.com/leftwm/leftwm/pull/1202
+Discussion: https://github.com/leftwm/leftwm/discussions/1201
+
+--- display-servers/xlib-display-server/src/xwrap/setters.rs.orig      2023-12-31 08:40:24.874175267 +0000
++++ display-servers/xlib-display-server/src/xwrap/setters.rs
+@@ -94,7 +94,7 @@ impl XWrap {
+ 
+     /// Sets a desktop property.
+     pub fn set_desktop_prop(&self, data: &[u32], atom: c_ulong) {
+-        let x_data: Vec<c_long> = data.iter().map(|x| i64::from(*x)).collect();
++        let x_data: Vec<c_long> = data.iter().map(|x| *x as c_long).collect();
+         self.replace_property_long(self.root, atom, xlib::XA_CARDINAL, &x_data);
+     }
+ 



Home | Main Index | Thread Index | Old Index