Files
ports/sysutils/bareos17-server/files/patch-src-lib_bsnprintf.c
Jose Alonso Cardenas Marquez 917d403884 sysutils/bareos-[client|server]: update to 1.7.10
* It will be the last 17.x version. Please try to update to 18.x, 19.x or 20.x
  as soon as possible
* Add CEPHFS, GfAPI, RADOS plugin support
2021-08-05 15:34:42 -05:00

19 lines
439 B
C

--- src/lib/bsnprintf.c 2021-08-04 23:06:43.246164000 -0500
+++ src/lib/bsnprintf.c 2021-08-04 23:07:16.549429000 -0500
@@ -618,6 +618,7 @@
return result;
}
+#if !defined __FreeBSD__
static int64_t round(LDOUBLE value)
{
int64_t intpart;
@@ -629,6 +630,7 @@
return intpart;
}
+#endif
static int32_t fmtfp(char *buffer, int32_t currlen, int32_t maxlen,
LDOUBLE fvalue, int min, int max, int flags)