git: 5c77d4bda51a - main - x11/rlaunch: fix build with unsigned char

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Sun, 08 Jan 2023 11:52:45 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5c77d4bda51a8936eb089d8a9ee8ab1eb4ab741c

commit 5c77d4bda51a8936eb089d8a9ee8ab1eb4ab741c
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-01-08 11:50:04 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-01-08 11:52:39 +0000

    x11/rlaunch: fix build with unsigned char
    
    error[E0308]: mismatched types
       --> src/x11.rs:310:54
        |
    310 |             (self.xlib.XLookupString)(&mut keyevent, &mut c_char, 1, null_mut(), null_mut());
        |             -------------------------                ^^^^^^^^^^^ expected `u8`, found `i8`
        |             |
        |             arguments to this function are incorrect
        |
        = note:    expected raw pointer `*mut u8`
                found mutable reference `&mut i8`
---
 x11/rlaunch/Makefile | 3 +++
 x11/rlaunch/distinfo | 4 +++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/x11/rlaunch/Makefile b/x11/rlaunch/Makefile
index 4982ff4d84a9..d7ecf21ec89a 100644
--- a/x11/rlaunch/Makefile
+++ b/x11/rlaunch/Makefile
@@ -3,6 +3,9 @@ DISTVERSION=	1.3.13
 PORTREVISION=	1
 CATEGORIES=	x11
 
+PATCH_SITES=	https://github.com/PonasKovas/rlaunch/commit/
+PATCHFILES=	2f73499553d4a14840ed4e092a0c93fe1e928c64.patch:-p1
+
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Fast, light-weight and modern application launcher for X11
 WWW=		https://github.com/PonasKovas/rlaunch
diff --git a/x11/rlaunch/distinfo b/x11/rlaunch/distinfo
index d08ba620f8ea..0488c221edf5 100644
--- a/x11/rlaunch/distinfo
+++ b/x11/rlaunch/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1672712171
+TIMESTAMP = 1673178400
 SHA256 (rust/crates/ansi_term-0.11.0.crate) = ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b
 SIZE (rust/crates/ansi_term-0.11.0.crate) = 17087
 SHA256 (rust/crates/atty-0.2.14.crate) = d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8
@@ -65,3 +65,5 @@ SHA256 (rust/crates/x11-dl-2.18.5.crate) = 2bf981e3a5b3301209754218f962052d4d9ee
 SIZE (rust/crates/x11-dl-2.18.5.crate) = 62951
 SHA256 (PonasKovas-rlaunch-1.3.13_GH0.tar.gz) = 2f0679dda503bf63b399bda8cde17f8ed1bd114b51f9476ba25f529a3a020e3c
 SIZE (PonasKovas-rlaunch-1.3.13_GH0.tar.gz) = 12417
+SHA256 (2f73499553d4a14840ed4e092a0c93fe1e928c64.patch) = 13355f37e92b13b8d1b712882ba1969adc3b30511dec8006a3cdcca46ef664f3
+SIZE (2f73499553d4a14840ed4e092a0c93fe1e928c64.patch) = 998