Include inttypes.h for PRI helpers
This commit is contained in:
parent
cd6d6b1e94
commit
42ef5e0c34
30
0001-log-Include-inttypes.h-for-PRI-helpers.patch
Normal file
30
0001-log-Include-inttypes.h-for-PRI-helpers.patch
Normal file
@ -0,0 +1,30 @@
|
||||
From 0c89d779f93ea95398dfbcda079eb3ad2424c0ca Mon Sep 17 00:00:00 2001
|
||||
From: Cyrill Gorcunov <gorcunov@openvz.org>
|
||||
Date: Thu, 24 Apr 2014 22:57:57 +0400
|
||||
Subject: [PATCH] log: Include inttypes.h for PRI helpers
|
||||
|
||||
https://bugzilla.openvz.org/show_bug.cgi?id=2949
|
||||
|
||||
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
|
||||
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
|
||||
Signed-off-by: Andrey Vagin <avagin@openvz.org>
|
||||
---
|
||||
include/log.h | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/include/log.h b/include/log.h
|
||||
index 9948098..65a65ac 100644
|
||||
--- a/include/log.h
|
||||
+++ b/include/log.h
|
||||
@@ -1,6 +1,8 @@
|
||||
#ifndef __CR_LOG_H__
|
||||
#define __CR_LOG_H__
|
||||
|
||||
+#include <inttypes.h>
|
||||
+
|
||||
#include "criu-log.h"
|
||||
|
||||
extern int log_init(const char *output);
|
||||
--
|
||||
1.9.3
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Name: criu
|
||||
Version: 1.2
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Provides: crtools = %{version}-%{release}
|
||||
Obsoletes: crtools <= 1.0-2
|
||||
Summary: Tool for Checkpoint/Restore in User-space
|
||||
@ -8,6 +8,7 @@ Group: System Environment/Base
|
||||
License: GPLv2
|
||||
URL: http://criu.org/
|
||||
Source0: http://download.openvz.org/criu/criu-%{version}.tar.bz2
|
||||
Patch0: 0001-log-Include-inttypes.h-for-PRI-helpers.patch
|
||||
|
||||
BuildRequires: protobuf-c-devel asciidoc xmlto
|
||||
|
||||
@ -33,6 +34,7 @@ This package contains header files and libraries for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n criu-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
# %{?_smp_mflags} does not work
|
||||
@ -67,6 +69,9 @@ ln -s %{_sbindir}/criu $RPM_BUILD_ROOT%{_sbindir}/crtools
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Aug 07 2014 Andrew Vagin <avagin@openvz.org> - 1.2-4
|
||||
- Include inttypes.h for PRI helpers
|
||||
|
||||
* Thu Aug 07 2014 Andrew Vagin <avagin@openvz.org> - 1.2-3
|
||||
- Rebuilt for https://bugzilla.redhat.com/show_bug.cgi?id=1126751
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user