pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/xbindkeys



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Nov 24 10:25:24 UTC 2020

Modified Files:
        pkgsrc/x11/xbindkeys: Makefile Makefile.common distinfo
Added Files:
        pkgsrc/x11/xbindkeys/patches: patch-options.c

Log Message:
xbindkeys: Update to 1.8.7

2020-05-23  Philippe Brochard <hocwp%free.fr@localhost>

        * Fix some compilation warnings

2020-05-23 Jason Miller  <jasom%fastmail.com@localhost>

        * Prevent scheme functions to be garbage collected


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/x11/xbindkeys/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/x11/xbindkeys/Makefile.common
cvs rdiff -u -r1.11 -r1.12 pkgsrc/x11/xbindkeys/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/xbindkeys/patches/patch-options.c

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

Modified files:

Index: pkgsrc/x11/xbindkeys/Makefile
diff -u pkgsrc/x11/xbindkeys/Makefile:1.22 pkgsrc/x11/xbindkeys/Makefile:1.23
--- pkgsrc/x11/xbindkeys/Makefile:1.22  Sun Mar  8 16:51:51 2020
+++ pkgsrc/x11/xbindkeys/Makefile       Tue Nov 24 10:25:24 2020
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.22 2020/03/08 16:51:51 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2020/11/24 10:25:24 nia Exp $
 
-PKGREVISION= 1
 .include "Makefile.common"
 
 CONFIGURE_ARGS+=       --disable-tk

Index: pkgsrc/x11/xbindkeys/Makefile.common
diff -u pkgsrc/x11/xbindkeys/Makefile.common:1.14 pkgsrc/x11/xbindkeys/Makefile.common:1.15
--- pkgsrc/x11/xbindkeys/Makefile.common:1.14   Sat Jan 18 23:35:58 2020
+++ pkgsrc/x11/xbindkeys/Makefile.common        Tue Nov 24 10:25:24 2020
@@ -1,17 +1,18 @@
-# $NetBSD: Makefile.common,v 1.14 2020/01/18 23:35:58 rillig Exp $
+# $NetBSD: Makefile.common,v 1.15 2020/11/24 10:25:24 nia Exp $
 #
 # used by x11/xbindkeys-tk/Makefile
 
-DISTNAME=      xbindkeys-1.8.6
+DISTNAME=      xbindkeys-1.8.7
 CATEGORIES=    x11
 MASTER_SITES=  http://www.nongnu.org/xbindkeys/
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://www.nongnu.org/xbindkeys/xbindkeys.html
 COMMENT=       Launches shell commands with your keyboard or your mouse
+LICENSE=       gnu-gpl-v2
 
 DISTINFO_FILE= ${.CURDIR}/../../x11/xbindkeys/distinfo
-#PATCHDIR=     ${.CURDIR}/../../x11/xbindkeys/patches
+PATCHDIR=      ${.CURDIR}/../../x11/xbindkeys/patches
 
 GNU_CONFIGURE= yes
 

Index: pkgsrc/x11/xbindkeys/distinfo
diff -u pkgsrc/x11/xbindkeys/distinfo:1.11 pkgsrc/x11/xbindkeys/distinfo:1.12
--- pkgsrc/x11/xbindkeys/distinfo:1.11  Thu Sep 15 15:58:49 2016
+++ pkgsrc/x11/xbindkeys/distinfo       Tue Nov 24 10:25:24 2020
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.11 2016/09/15 15:58:49 wiz Exp $
+$NetBSD: distinfo,v 1.12 2020/11/24 10:25:24 nia Exp $
 
-SHA1 (xbindkeys-1.8.6.tar.gz) = 913d772613fe0b05307d02417f6e6d8badbc296a
-RMD160 (xbindkeys-1.8.6.tar.gz) = 5c3fe8a1c343729033b287e47c2689724ae8ebba
-SHA512 (xbindkeys-1.8.6.tar.gz) = 3c77541eae9f87d2020c2272984c221094276dae2a8690c5cec9fe1b23c0139229b8f56876170da70684aeaa128642349b6835c375d473186cbf8123517173ba
-Size (xbindkeys-1.8.6.tar.gz) = 151941 bytes
+SHA1 (xbindkeys-1.8.7.tar.gz) = eb5eed246ccec4f5a513b0a0e7367ba669c77dba
+RMD160 (xbindkeys-1.8.7.tar.gz) = c8c53a5625e4a956a365a593800c01ccad54d1c6
+SHA512 (xbindkeys-1.8.7.tar.gz) = a6b1478e8ef4bedc686fdd15abc11a8a592ac17c69e1a5a13f60e735e9be9646faed62e980cdac4aa7bc7e3253237465de38dee98935dd3f9911d4e48209b2e9
+Size (xbindkeys-1.8.7.tar.gz) = 177532 bytes
+SHA1 (patch-options.c) = 2341200cf21a380c8f79c9d7ab37860766999245

Added files:

Index: pkgsrc/x11/xbindkeys/patches/patch-options.c
diff -u /dev/null pkgsrc/x11/xbindkeys/patches/patch-options.c:1.1
--- /dev/null   Tue Nov 24 10:25:24 2020
+++ pkgsrc/x11/xbindkeys/patches/patch-options.c        Tue Nov 24 10:25:24 2020
@@ -0,0 +1,42 @@
+$NetBSD: patch-options.c,v 1.1 2020/11/24 10:25:24 nia Exp $
+
+Argument to ctype functions must be unsigned char.
+
+--- options.c.orig     2020-05-23 16:22:19.000000000 +0000
++++ options.c
+@@ -708,7 +708,7 @@ get_rc_file (void)
+                         /* is a numeric keycode (c:nnn) ? */
+                         if (line2[0] == 'c' && line2[1] == ':')
+                           {
+-                            if (isdigit (line2[2]))
++                            if (isdigit ((unsigned char)line2[2]))
+                               {
+                                 type = CODE;
+                                 keycode = strtol (line2+2, (char **) NULL, 0);
+@@ -725,7 +725,7 @@ get_rc_file (void)
+                           /* is a numeric modifier (m:nnn) ? */
+                         if (line2[0] == 'm' && line2[1] == ':')
+                           {
+-                            if (isdigit (line2[2]))
++                            if (isdigit ((unsigned char)line2[2]))
+                               {
+                                 modifier |= strtol (line2+2, (char **) NULL, 0);
+                               }
+@@ -741,7 +741,7 @@ get_rc_file (void)
+                           /* is a mouse button (b:nnn) ? */
+                         if (line2[0] == 'b' && line2[1] == ':')
+                           {
+-                            if (isdigit (line2[2]))
++                            if (isdigit ((unsigned char)line2[2]))
+                               {
+                                 type = BUTTON;
+                                 button = strtol (line2+2, (char **) NULL, 0);
+@@ -967,7 +967,7 @@ SCM extract_key (SCM key, KeyType_t *typ
+   //Check for special numeric stuff.
+   //This way is really far nicer looking and more efficient than
+   //having three copies of the code.
+-  if(strlen (str) > 2 && str[1] == ':' && isdigit (str[2]))
++  if(strlen (str) > 2 && str[1] == ':' && isdigit ((unsigned char)str[2]))
+     {
+       switch (str[0])
+         {



Home | Main Index | Thread Index | Old Index