pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/security/steghide
Module Name: pkgsrc
Committed By: tnn
Date: Mon Apr 25 15:01:53 UTC 2022
Modified Files:
pkgsrc/security/steghide: distinfo
pkgsrc/security/steghide/patches: patch-src_BmpFile.cc
Added Files:
pkgsrc/security/steghide/patches: patch-src_AUtils.h
Log Message:
steghide: avoid ambiguous math functions
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/security/steghide/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/security/steghide/patches/patch-src_AUtils.h
cvs rdiff -u -r1.1 -r1.2 \
pkgsrc/security/steghide/patches/patch-src_BmpFile.cc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/security/steghide/distinfo
diff -u pkgsrc/security/steghide/distinfo:1.9 pkgsrc/security/steghide/distinfo:1.10
--- pkgsrc/security/steghide/distinfo:1.9 Tue Oct 26 11:18:03 2021
+++ pkgsrc/security/steghide/distinfo Mon Apr 25 15:01:53 2022
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2021/10/26 11:18:03 nia Exp $
+$NetBSD: distinfo,v 1.10 2022/04/25 15:01:53 tnn Exp $
BLAKE2s (steghide-0.5.1.tar.gz) = 38a3ca6889fc8b460ee4922517e7f2ee9257a7fed7f8dc20ed7e5bdcdcbb4621
SHA512 (steghide-0.5.1.tar.gz) = 6cda3e33e91123fbc5caa112efcacf09180505abd4f6f229878cd443817c60a04498aead02509c7532fd6924225c6b752820c51e452a83c520f228273d610a57
@@ -14,5 +14,6 @@ SHA1 (patch-ah) = c19a9ae3976147704c7e0b
SHA1 (patch-ai) = 9ae6443ee9a997a859456a712327cc7d17ede0f4
SHA1 (patch-aj) = 36039401484d85cec20bc157b29f55e219a762b3
SHA1 (patch-ak) = 404abb1935208b9eba9711677e1514154486543b
-SHA1 (patch-src_BmpFile.cc) = fb2c6ac488ddb50f993ac9179a557ccda393b7f5
+SHA1 (patch-src_AUtils.h) = 7a3c001943ce0802f15119b3d32b4fc6ad00b4af
+SHA1 (patch-src_BmpFile.cc) = 0a0ee8f65f4e808ec2514e4bfad9e09864c5ab3e
SHA1 (patch-src_Graph.cc) = 211d2607ccb5b9c4de0a91497a14376d89e0fe63
Index: pkgsrc/security/steghide/patches/patch-src_BmpFile.cc
diff -u pkgsrc/security/steghide/patches/patch-src_BmpFile.cc:1.1 pkgsrc/security/steghide/patches/patch-src_BmpFile.cc:1.2
--- pkgsrc/security/steghide/patches/patch-src_BmpFile.cc:1.1 Sat Mar 2 17:57:08 2013
+++ pkgsrc/security/steghide/patches/patch-src_BmpFile.cc Mon Apr 25 15:01:53 2022
@@ -1,8 +1,19 @@
-$NetBSD: patch-src_BmpFile.cc,v 1.1 2013/03/02 17:57:08 joerg Exp $
+$NetBSD: patch-src_BmpFile.cc,v 1.2 2022/04/25 15:01:53 tnn Exp $
---- src/BmpFile.cc.orig 2013-03-01 15:07:01.000000000 +0000
+avoid ambiguous math functions
+
+--- src/BmpFile.cc.orig 2003-09-28 15:30:30.000000000 +0000
+++ src/BmpFile.cc
-@@ -214,10 +214,10 @@ std::vector<SampleValueAdjacencyList*> B
+@@ -36,6 +36,8 @@
+ #include "common.h"
+ #include "error.h"
+
++using std:sqrt;
++
+ BmpFile::BmpFile (BinaryIO *io)
+ : CvrStgFile()
+ {
+@@ -214,10 +216,10 @@ std::vector<SampleValueAdjacencyList*> B
// create reservoir - for every i reservoir[i] contains the sample values that are neighbourss of
// the sample value with label i and have a lower label (and have already been found)
// This is necessary to use collapsing trees together with bucket sort (without huge increase in memory usage)
Added files:
Index: pkgsrc/security/steghide/patches/patch-src_AUtils.h
diff -u /dev/null pkgsrc/security/steghide/patches/patch-src_AUtils.h:1.1
--- /dev/null Mon Apr 25 15:01:53 2022
+++ pkgsrc/security/steghide/patches/patch-src_AUtils.h Mon Apr 25 15:01:53 2022
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_AUtils.h,v 1.1 2022/04/25 15:01:53 tnn Exp $
+
+avoid ambiguous math functions
+
+--- src/AUtils.h.orig 2003-10-05 10:17:50.000000000 +0000
++++ src/AUtils.h
+@@ -24,7 +24,7 @@
+ #include <cmath>
+ #ifndef log2
+ // this is in an #ifndef because some cmath implementations #define log2 and some not
+-# define log2(x) (log(x) / log(2.0))
++# define log2(x) (log((double)(x)) / log(2.0))
+ #endif
+
+ /**
Home |
Main Index |
Thread Index |
Old Index