tags 552835 + patch tags 552835 + pending thanks Dear maintainer,
I've prepared an NMU for ent (versioned as 1.1debian-1.1) and uploaded it to DELAYED/2. Please feel free to tell me if I should delay it longer.
-- Jakub Wilk
diff -u ent-1.1debian/debian/changelog ent-1.1debian/debian/changelog
--- ent-1.1debian/debian/changelog
+++ ent-1.1debian/debian/changelog
@@ -1,3 +1,12 @@
+ent (1.1debian-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Remove private definition of log2() function; use the function provided by
+ the C library library instead (closes: #552835).
+ * Add ‘Depends: ${misc:Depends}’.
+
+ -- Jakub Wilk <[email protected]> Sat, 17 Jul 2010 18:41:09 +0200
+
ent (1.1debian-1) unstable; urgency=low
* New upstream release
diff -u ent-1.1debian/debian/control ent-1.1debian/debian/control
--- ent-1.1debian/debian/control
+++ ent-1.1debian/debian/control
@@ -7,7 +7,7 @@
Package: ent
Architecture: any
-Depends: ${shlibs:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}
Description: pseudorandom number sequence test program
This program applies various tests to sequences of bytes stored in
files and reports the results of those tests. The program is useful
only in patch2:
unchanged:
--- ent-1.1debian.orig/randtest.c
+++ ent-1.1debian/randtest.c
@@ -7,26 +7,18 @@
*/
+#define _ISOC99_SOURCE
#include <math.h>
#define FALSE 0
#define TRUE 1
-#define log2of10 3.32192809488736234787
-
static int binary = FALSE; /* Treat input as a bitstream */
static long ccount[256], /* Bins to count occurrences of values */
totalc = 0; /* Total bytes counted */
static double prob[256]; /* Probabilities per bin for entropy */
-/* LOG2 -- Calculate log to the base 2 */
-
-static double log2(double x)
-{
- return log2of10 * log10(x);
-}
-
#define MONTEN 6 /* Bytes used as Monte Carlo
co-ordinates. This should be no more
bits than the mantissa of your
signature.asc
Description: Digital signature

