pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/xli



Module Name:    pkgsrc
Committed By:   nat
Date:           Wed Apr 17 14:11:05 UTC 2024

Modified Files:
        pkgsrc/graphics/xli: Makefile distinfo
Added Files:
        pkgsrc/graphics/xli/patches: patch-send.c

Log Message:
Fix for bit depths lower than 8bpp.

Especially packed pixel types.

Bump PKG_REVISION


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 pkgsrc/graphics/xli/Makefile
cvs rdiff -u -r1.24 -r1.25 pkgsrc/graphics/xli/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/xli/patches/patch-send.c

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

Modified files:

Index: pkgsrc/graphics/xli/Makefile
diff -u pkgsrc/graphics/xli/Makefile:1.46 pkgsrc/graphics/xli/Makefile:1.47
--- pkgsrc/graphics/xli/Makefile:1.46   Wed Aug 16 20:45:40 2017
+++ pkgsrc/graphics/xli/Makefile        Wed Apr 17 14:11:05 2024
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.46 2017/08/16 20:45:40 wiz Exp $
+# $NetBSD: Makefile,v 1.47 2024/04/17 14:11:05 nat Exp $
 
 DISTNAME=      xli-2005-02-27
 PKGNAME=       xli-1.17.0
-PKGREVISION=   13
+PKGREVISION=   14
 CATEGORIES=    graphics x11
 #MASTER_SITES= http://pantransit.reptiles.org/prog/xli/
 

Index: pkgsrc/graphics/xli/distinfo
diff -u pkgsrc/graphics/xli/distinfo:1.24 pkgsrc/graphics/xli/distinfo:1.25
--- pkgsrc/graphics/xli/distinfo:1.24   Tue Oct 26 10:47:24 2021
+++ pkgsrc/graphics/xli/distinfo        Wed Apr 17 14:11:05 2024
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.24 2021/10/26 10:47:24 nia Exp $
+$NetBSD: distinfo,v 1.25 2024/04/17 14:11:05 nat Exp $
 
 BLAKE2s (xli-2005-02-27.tar.gz) = 52bb8b6f15e558a3d9d85566a9f669859783b0528bfd9f341e75d9231b3081d2
 SHA512 (xli-2005-02-27.tar.gz) = 132b28396ebf3832dc35ff5fa7c102539ef30a194512fe6577ce1432bb84ecd7b4368e75eaf59f26a806900f63e1bfb9a93487ce1ebe3cfef2199256a783ccf7
@@ -11,4 +11,5 @@ SHA1 (patch-ae) = 9085d53b8823ec0ce42dc8
 SHA1 (patch-af) = e6d762b19dc82377727f045b731b40c04afefe11
 SHA1 (patch-ag) = 4083e488fed49f98f8c9b57ba4cb9b9295d1d5e0
 SHA1 (patch-ah) = 963022472f8c90788197780560a7f833d745ab6b
+SHA1 (patch-send.c) = 4e35af227c9662d9528a378f22ba1e38ac09f6a6
 SHA1 (patch-xli.h) = b8660bcb6dc221ac4e6edf560810c3e3fc335ab1

Added files:

Index: pkgsrc/graphics/xli/patches/patch-send.c
diff -u /dev/null pkgsrc/graphics/xli/patches/patch-send.c:1.1
--- /dev/null   Wed Apr 17 14:11:05 2024
+++ pkgsrc/graphics/xli/patches/patch-send.c    Wed Apr 17 14:11:05 2024
@@ -0,0 +1,15 @@
+$NetBSD: patch-send.c,v 1.1 2024/04/17 14:11:05 nat Exp $
+
+Fix overflow caused by typo at bit depths < 8.
+
+--- send.c.orig        2024-04-17 02:27:43.661453625 +0000
++++ send.c
+@@ -687,7 +687,7 @@ XImageInfo *imageToXImage(Display *disp,
+       byte *src;
+ 
+       src = image->data;
+-        for (y = 0; y < image->height; ++x) {
++        for (y = 0; y < image->height; ++y) {
+         for (x = 0; x < image->width; ++x) {
+           XPutPixel(xii->ximage, x, y,
+             xii->index[c + memToVal(src, image->pixlen)]);



Home | Main Index | Thread Index | Old Index