f7d5bb5879
see https://libtiff.gitlab.io/libtiff/releases/v4.5.0.html
- bump major, libs now uses a symbol map cf
https://gitlab.com/libtiff/libtiff/-/merge_requests/361
- some private symbols were used by comms/hylafax, which will be fixed in a few.
- drop patch-Makefile_in, use --disable-contrib instead (prompted by naddy@)
- disable sphinx, install provided built doc
- enable debug packages (prompted by naddy@)
- switch to an https homepage (prompted by rsadowski@)
- drop str* patches, some were merged upstream in
72e90d07fb
,
others are pointless (discussed with sthen@)
a switch to cmake might happen later.
tested in a bulk build by ajacoutot@, thanks !
13 lines
394 B
Plaintext
13 lines
394 B
Plaintext
Index: libtiff/tif_luv.c
|
|
--- libtiff/tif_luv.c.orig
|
|
+++ libtiff/tif_luv.c
|
|
@@ -776,7 +776,7 @@ static int tiff_itrunc(double x, int m)
|
|
return (int)x;
|
|
/* Silence CoverityScan warning about bad crypto function */
|
|
/* coverity[dont_call] */
|
|
- return (int)(x + rand() * (1. / RAND_MAX) - .5);
|
|
+ return (int)(x + arc4random() * (1. / RAND_MAX) - .5);
|
|
}
|
|
|
|
#if !LOGLUV_PUBLIC
|