pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/zidrav
Module Name: pkgsrc
Committed By: he
Date: Sun Sep 18 13:49:00 UTC 2022
Modified Files:
pkgsrc/sysutils/zidrav: Makefile distinfo
pkgsrc/sysutils/zidrav/patches: patch-core.h
Log Message:
sysutils/zidrav: use an unsigned long for crc_table[]
...for the benefit of LP32 platforms, avoiding
error: narrowing conversion of '2567524794' from 'long unsigned int'
to 'long int'
Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/sysutils/zidrav/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/sysutils/zidrav/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/zidrav/patches/patch-core.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/sysutils/zidrav/Makefile
diff -u pkgsrc/sysutils/zidrav/Makefile:1.7 pkgsrc/sysutils/zidrav/Makefile:1.8
--- pkgsrc/sysutils/zidrav/Makefile:1.7 Sat Jan 18 23:35:22 2020
+++ pkgsrc/sysutils/zidrav/Makefile Sun Sep 18 13:49:00 2022
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.7 2020/01/18 23:35:22 rillig Exp $
+# $NetBSD: Makefile,v 1.8 2022/09/18 13:49:00 he Exp $
#
DISTNAME= zidrav4unix-1.2.0
PKGNAME= zidrav-1.20
+PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=zidrav/}
Index: pkgsrc/sysutils/zidrav/distinfo
diff -u pkgsrc/sysutils/zidrav/distinfo:1.5 pkgsrc/sysutils/zidrav/distinfo:1.6
--- pkgsrc/sysutils/zidrav/distinfo:1.5 Tue Oct 26 11:20:30 2021
+++ pkgsrc/sysutils/zidrav/distinfo Sun Sep 18 13:49:00 2022
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2021/10/26 11:20:30 nia Exp $
+$NetBSD: distinfo,v 1.6 2022/09/18 13:49:00 he Exp $
BLAKE2s (zidrav4unix-1.2.0.tar.gz) = 98e5ecb4f8f8548e6993deb468d1259753ce5496e840d54a9be877f1a648efc2
SHA512 (zidrav4unix-1.2.0.tar.gz) = f1fc2b2621e3d02bf51995241f7f95e40b58bca17132a0a296babb586c489d1667fbc2901b5dc02890f89e685ce1f4c068a950bb58e1e445d278acc234d03951
Size (zidrav4unix-1.2.0.tar.gz) = 18448 bytes
SHA1 (patch-aa) = 7e1c6bcb375d38a1aa7f3eaa4fa00e779465860a
-SHA1 (patch-core.h) = f5497f376545fe24554a3ecb7f7f12c59b30e3f9
+SHA1 (patch-core.h) = 48f815a68f24c1c531b5beff93ae4492ea4c5d8a
Index: pkgsrc/sysutils/zidrav/patches/patch-core.h
diff -u pkgsrc/sysutils/zidrav/patches/patch-core.h:1.1 pkgsrc/sysutils/zidrav/patches/patch-core.h:1.2
--- pkgsrc/sysutils/zidrav/patches/patch-core.h:1.1 Tue Nov 22 20:04:40 2011
+++ pkgsrc/sysutils/zidrav/patches/patch-core.h Sun Sep 18 13:49:00 2022
@@ -1,4 +1,7 @@
-$NetBSD: patch-core.h,v 1.1 2011/11/22 20:04:40 joerg Exp $
+$NetBSD: patch-core.h,v 1.2 2022/09/18 13:49:00 he Exp $
+
+Include <string.h> and use an unsigned long for crc_table[]
+for the benefit of LP32 platforms.
--- core.h.orig 2011-11-22 19:25:48.000000000 +0000
+++ core.h
@@ -10,3 +13,12 @@ $NetBSD: patch-core.h,v 1.1 2011/11/22 2
using namespace std;
+@@ -48,7 +49,7 @@ public:
+ #define QSV KSigver( ZQ, QVER )
+
+
+-const long crc_table[256] = { // it's just easier this way, alright? It's one K of data, I'm allowed a global if I want one
++const unsigned long crc_table[256] = { // it's just easier this way, alright? It's one K of data, I'm allowed a global if I want one
+ 0x00000000L, 0x77073096L, 0xee0e612cL, 0x990951baL, 0x076dc419L,
+ 0x706af48fL, 0xe963a535L, 0x9e6495a3L, 0x0edb8832L, 0x79dcb8a4L,
+ 0xe0d5e91eL, 0x97d2d988L, 0x09b64c2bL, 0x7eb17cbdL, 0xe7b82d07L,
Home |
Main Index |
Thread Index |
Old Index