pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/games/xjig
Module Name: pkgsrc
Committed By: joerg
Date: Thu Mar 26 02:32:43 UTC 2020
Modified Files:
pkgsrc/games/xjig: distinfo
Added Files:
pkgsrc/games/xjig/patches: patch-gif__image.C
Log Message:
Fix const correctness for C++ compliant string.h
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/games/xjig/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/games/xjig/patches/patch-gif__image.C
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/games/xjig/distinfo
diff -u pkgsrc/games/xjig/distinfo:1.8 pkgsrc/games/xjig/distinfo:1.9
--- pkgsrc/games/xjig/distinfo:1.8 Tue Nov 3 20:57:08 2015
+++ pkgsrc/games/xjig/distinfo Thu Mar 26 02:32:43 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2015/11/03 20:57:08 agc Exp $
+$NetBSD: distinfo,v 1.9 2020/03/26 02:32:43 joerg Exp $
SHA1 (xjig-2.4.tgz) = 539ee5974d7228e69bb84de1424064f84cac7577
RMD160 (xjig-2.4.tgz) = 8abe64ebd9045eb4c39db9cec7f2907212c26b1c
@@ -6,3 +6,4 @@ SHA512 (xjig-2.4.tgz) = bf84110779d2a105
Size (xjig-2.4.tgz) = 124272 bytes
SHA1 (patch-aa) = d2999a3388c91c8d90cca3b62ae007d8202cb8ac
SHA1 (patch-ab) = 6055c5acc964b1bb7b4ef98b6cf14289c8e6c7da
+SHA1 (patch-gif__image.C) = 0090f0169a6919fad5a46cc31dccccc14dd748a9
Added files:
Index: pkgsrc/games/xjig/patches/patch-gif__image.C
diff -u /dev/null pkgsrc/games/xjig/patches/patch-gif__image.C:1.1
--- /dev/null Thu Mar 26 02:32:43 2020
+++ pkgsrc/games/xjig/patches/patch-gif__image.C Thu Mar 26 02:32:43 2020
@@ -0,0 +1,15 @@
+$NetBSD: patch-gif__image.C,v 1.1 2020/03/26 02:32:43 joerg Exp $
+
+--- gif_image.C.orig 2020-03-25 13:57:03.791661713 +0000
++++ gif_image.C
+@@ -58,8 +58,8 @@ GifImage::GifImage(const char *filename,
+ : lockcount(0) {
+ first=0;
+ LoadGIF( filename );
+- name = strrchr(filename,'/');
+- if (name) name=strdup(name+1);
++ const char *filename2 = strrchr(filename,'/');
++ if (filename2) name=strdup(filename2+1);
+ else name=strdup(filename);
+
+ if (autocrop&&!fastinfo_flag) CropImage();
Home |
Main Index |
Thread Index |
Old Index