diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-04-13 07:23:55 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-04-13 07:23:55 +0200 |
commit | af01c58f23a400d7c0d7af331a85fb44f50682d7 (patch) | |
tree | 792c821771be6812cdb33296af8fcf618b1e4451 /debian/patches/0110-getpass-prototype.patch | |
parent | b8872c3c0fcda7bc9824b1d84e910f1af664a492 (diff) |
New debian/patches/0110-getpass-prototype.patch
Diffstat (limited to 'debian/patches/0110-getpass-prototype.patch')
-rw-r--r-- | debian/patches/0110-getpass-prototype.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/patches/0110-getpass-prototype.patch b/debian/patches/0110-getpass-prototype.patch new file mode 100644 index 0000000..8b2b455 --- /dev/null +++ b/debian/patches/0110-getpass-prototype.patch @@ -0,0 +1,23 @@ +Description: use necessary source dialect to ensure getpass() availability + getpass is a deprecated function, and building with either c99 or gnu99 + does not ensure this function's availability. So instead, declare + _DEFAULT_SOURCE so that the function remains available. +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 +--- +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 ++#define _DEFAULT_SOURCE + + #include <stdlib.h> + #include <stdio.h> |