summaryrefslogtreecommitdiff
path: root/debian/patches/0110-getpass-prototype.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0110-getpass-prototype.patch')
-rw-r--r--debian/patches/0110-getpass-prototype.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/debian/patches/0110-getpass-prototype.patch b/debian/patches/0110-getpass-prototype.patch
index 8b2b455..ecd8ee9 100644
--- a/debian/patches/0110-getpass-prototype.patch
+++ b/debian/patches/0110-getpass-prototype.patch
@@ -6,17 +6,17 @@ Author: Steve Langasek <steve.langasek@ubuntu.com>
Origin: <upstream|backport|vendor|other>, <URL, required except if Author is present>
Bug: <URL to the upstream bug report if any, implies patch has been forwarded, optional>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=819340
-Last-Update: 2016-04-13
+Last-Update: 2016-05-15
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: trunk/lib/ipmi_main.c
===================================================================
--- trunk.orig/lib/ipmi_main.c
+++ trunk/lib/ipmi_main.c
-@@ -30,6 +30,7 @@
- * EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
- */
- #define _XOPEN_SOURCE 700
+@@ -34,6 +34,7 @@
+ (_XOPEN_SOURCE >= 500 || \
+ _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED) && \
+ !(_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600)
+#define _DEFAULT_SOURCE
#include <stdlib.h>