pkgsrc-WIP-changes archive

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

xlax: small fix.



Module Name:	pkgsrc-wip
Committed By:	Paolo Vincenzo Olivo <vms%retrobsd.ddns.net@localhost>
Pushed By:	vms
Date:		Tue Dec 6 21:46:02 2022 +0100
Changeset:	1ae6ce8561227bcb6a7a4c7c2a8849af0cece40d

Modified Files:
	xlax/distinfo
	xlax/patches/patch-xlax.c

Log Message:
xlax: small fix.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1ae6ce8561227bcb6a7a4c7c2a8849af0cece40d

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

diffstat:
 xlax/distinfo             |  2 +-
 xlax/patches/patch-xlax.c | 12 +++++++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diffs:
diff --git a/xlax/distinfo b/xlax/distinfo
index 59ee7d1a71..317f2d02a7 100644
--- a/xlax/distinfo
+++ b/xlax/distinfo
@@ -4,5 +4,5 @@ BLAKE2s (xlax2.4.tar.gz) = 90e7169a24fd5c1805ff27576b876cfbc4991be4e95e2bc58644a
 SHA512 (xlax2.4.tar.gz) = 294aad75a5ca8dc396c6e07044f66b36e7a99d6cb10a3d89f39660223e0b5063d302b34dd804b272df9d951a7f2bcf1cf1c8a3746d97ae1fb836c9bbcc9e2dd9
 Size (xlax2.4.tar.gz) = 15804 bytes
 SHA1 (patch-vroot.h) = 86fd4d6637bf37503c21e1891e19bf0b8a579e5e
-SHA1 (patch-xlax.c) = fde6e86dfbcfcebde1840aa69f5862fbdb8f0e23
+SHA1 (patch-xlax.c) = d09739837c4307579a898a2da7d5031992a0d4ff
 SHA1 (patch-xlax.h) = e6e146997a48a2ed6f15b56657e6a911fedee9c9
diff --git a/xlax/patches/patch-xlax.c b/xlax/patches/patch-xlax.c
index 3890e45ce2..f0b9ca42f4 100644
--- a/xlax/patches/patch-xlax.c
+++ b/xlax/patches/patch-xlax.c
@@ -1,6 +1,7 @@
 $NetBSD$
 
-* Fix warning about int signedness mismatch.
+* Fix warnings about int signedness mismatch.
+* Fix warnings about int to pointer conversion. 
 * Use libbsd on Linux to support strlcpy().
 
 --- xlax.c.orig	2008-07-31 20:18:25.000000000 +0000
@@ -17,6 +18,15 @@ $NetBSD$
  #include "xlax.h"
  #include "vroot.h"
  
+@@ -50,7 +55,7 @@ XKeyEvent tmpevents[MAXEVENTS];
+ int tmpeventindex;
+ int tmpwindex;
+   
+-int 
++uintptr_t 
+   WindowIndex;
+ 
+ char *prefix="xlax:";
 @@ -70,7 +75,7 @@ XErrorEvent *myerr;
    XGetErrorText(mydisp, myerr->error_code, msg, 80);
    (void) fprintf(stderr, "%s\n", msg);


Home | Main Index | Thread Index | Old Index