pkgsrc/x11/picom/patches/patch-src_dbus.c
nia 9177052005 picom: Update to 8.2
This is a bug fix release of picom

    Fixes assertion failures related to WIN_FLAGS_SHADOW_STALE, see #479
    write-pid-path in configuration file now accepted, see #492
    Pid files are now deleted during shutdown, see #492
    Build fixes for certain platforms, see #501, #502

Thanks to @tryone144, @jialeens, and @niacat
2020-11-19 11:03:04 +00:00

15 lines
441 B
C

$NetBSD: patch-src_dbus.c,v 1.1 2020/11/19 11:03:04 nia Exp $
Arguments to ctype functions must be unsigned char.
--- src/dbus.c.orig 2020-10-24 08:44:12.000000000 +0000
+++ src/dbus.c
@@ -129,7 +129,7 @@ bool cdbus_init(session_t *ps, const cha
// underscore
char *tmp = service + strlen(CDBUS_SERVICE_NAME) + 1;
while (*tmp) {
- if (!isalnum(*tmp)) {
+ if (!isalnum((unsigned char)*tmp)) {
*tmp = '_';
}
tmp++;