Add include-stdint.patch from upstream to fix build errors.

This commit is contained in:
Timo Aaltonen
2011-11-01 09:52:28 -04:00
parent 73f24a0ad9
commit 0be24fe960
3 changed files with 39 additions and 0 deletions

1
debian/changelog vendored
View File

@@ -12,6 +12,7 @@ freeipa (2.1.3-1) UNRELEASED; urgency=low
* Fix dependencies.
* Add fix_dnsclient.py.patch, we don't use autconfig.
* Add add_debian.py.patch, platform support code.
* Add include-stdint.patch from upstream to fix build errors.
-- Michele Baldessari <michele@pupazzo.org> Sat, 06 Dec 2008 21:01:24 +0100

37
debian/patches/include-stdint.patch vendored Normal file
View File

@@ -0,0 +1,37 @@
From 45aa80195204329c1fb6f0fd1c8e8142618da604 Mon Sep 17 00:00:00 2001
From: Marko Myllynen <myllynen@redhat.com>
Date: Wed, 21 Sep 2011 15:03:55 +0300
Subject: [PATCH] include <stdint.h> for uintptr_t
---
daemons/ipa-slapi-plugins/common/util.h | 1 +
ipa-client/ipa-client-common.h | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/daemons/ipa-slapi-plugins/common/util.h b/daemons/ipa-slapi-plugins/common/util.h
index 8804fbe..eb3ddc0 100644
--- a/daemons/ipa-slapi-plugins/common/util.h
+++ b/daemons/ipa-slapi-plugins/common/util.h
@@ -40,6 +40,7 @@
#define EOK 0
#define EFAIL -1
+#include <stdint.h>
#ifndef discard_const
#define discard_const(ptr) ((void *)((uintptr_t)(ptr)))
#endif
diff --git a/ipa-client/ipa-client-common.h b/ipa-client/ipa-client-common.h
index b738fb4..e831c59 100644
--- a/ipa-client/ipa-client-common.h
+++ b/ipa-client/ipa-client-common.h
@@ -23,6 +23,7 @@
#include <libintl.h>
#define _(STRING) gettext(STRING)
+#include <stdint.h>
#ifndef discard_const
#define discard_const(ptr) ((void *)((uintptr_t)(ptr)))
#endif
--
1.7.4.1

View File

@@ -2,3 +2,4 @@
#02_configure.patch
fix_dnsclient.py.patch
add_debian.py.patch
include-stdint.patch