diff options
-rw-r--r-- | converter/ppm/hpcdtoppm/Makefile | 2 | ||||
-rw-r--r-- | doc/HISTORY | 9 | ||||
-rw-r--r-- | editor/pammixmulti.c | 4 | ||||
-rw-r--r-- | version.mk | 2 |
4 files changed, 13 insertions, 4 deletions
diff --git a/converter/ppm/hpcdtoppm/Makefile b/converter/ppm/hpcdtoppm/Makefile index 59ba3630..5777a84f 100644 --- a/converter/ppm/hpcdtoppm/Makefile +++ b/converter/ppm/hpcdtoppm/Makefile @@ -19,7 +19,7 @@ install.bin install.merge: install.bin.local install.bin.local: $(PKGDIR)/bin # In June 2002, pcdovtoppm replaced pcdindex cd $(PKGDIR)/bin ; \ - $(SYMLINK) pcdovtoppm$(EXE) pcdindex$(EXE) + $(SYMLINK) pcdovtoppm pcdindex FORCE: diff --git a/doc/HISTORY b/doc/HISTORY index 0c16ff5c..e2a860aa 100644 --- a/doc/HISTORY +++ b/doc/HISTORY @@ -4,6 +4,15 @@ Netpbm. CHANGE HISTORY -------------- +21.04.11 BJH Release 10.86.21 + + Build: fix failure of pammixmulti to compile for Mingw for lack + of drand48. Always broken (pammixmulti was new in Netpbm 10.85 + (December 2018)). + + make package: fix no such file pcdovtoppm.exe failure on + Windows. + 21.03.21 BJH Release 10.86.20 pnmtopng: fix incorrect transparency in output when requesting diff --git a/editor/pammixmulti.c b/editor/pammixmulti.c index f5012d7a..d303c3de 100644 --- a/editor/pammixmulti.c +++ b/editor/pammixmulti.c @@ -285,8 +285,8 @@ randomNormal2(double * const r1P, double u1, u2; do { - u1 = drand48(); - u2 = drand48(); + u1 = (double)rand() / RAND_MAX; + u2 = (double)rand() / RAND_MAX; } while (u1 <= DBL_EPSILON); diff --git a/version.mk b/version.mk index 419a3049..5025b910 100644 --- a/version.mk +++ b/version.mk @@ -1,3 +1,3 @@ NETPBM_MAJOR_RELEASE = 10 NETPBM_MINOR_RELEASE = 86 -NETPBM_POINT_RELEASE = 20 +NETPBM_POINT_RELEASE = 21 |