mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
bonnie++: update to 2.00a
Add custom meson build since the Makefile requires too much patching anyway. Stop using uClibc++. It will be removed in the near future. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
From 4f4d854b7758da89ced4dc800fcbec11667d61c8 Mon Sep 17 00:00:00 2001
|
||||
From: Rosen Penev <rosenp@gmail.com>
|
||||
Date: Mon, 22 Feb 2021 16:05:54 -0800
|
||||
Subject: [PATCH] fix wrong printf off_t format
|
||||
|
||||
It's long vs. long long. There's a macro for this.
|
||||
|
||||
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
||||
---
|
||||
port.h | 5 ++---
|
||||
1 file changed, 2 insertions(+), 3 deletions(-)
|
||||
|
||||
--- a/port.h
|
||||
+++ b/port.h
|
||||
@@ -3,14 +3,13 @@
|
||||
|
||||
#include "conf.h"
|
||||
|
||||
-
|
||||
-
|
||||
+#include <inttypes.h>
|
||||
|
||||
#ifndef _LARGEFILE64_SOURCE
|
||||
#define _LARGEFILE64_SOURCE
|
||||
#endif
|
||||
#ifdef _LARGEFILE64_SOURCE
|
||||
-#define OFF_T_PRINTF "%lld"
|
||||
+#define OFF_T_PRINTF "%" PRId64
|
||||
#else
|
||||
#define OFF_T_PRINTF "%d"
|
||||
#endif
|
||||
Reference in New Issue
Block a user