OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.8 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../shadow/shadow-4.1.5-stdarg.patch
  5. # Copyright (C) 2012 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. From 04d19a920ea0cf74f977006e3f8241bf77cbc16b Mon Sep 17 00:00:00 2001
  17. From: Mike Frysinger <vapier@gentoo.org>
  18. Date: Sun, 12 Feb 2012 22:41:05 -0500
  19. Subject: [PATCH] copydir: include stdarg.h for va_* funcs
  20. Building on newer systems fails due to using stdargs but not including
  21. the header file:
  22. copydir.c: In function 'error_acl':
  23. copydir.c:126:2: warning: implicit declaration of function 'va_start' [-Wimplicit-function-declaration]
  24. copydir.c:132:2: warning: implicit declaration of function 'va_end' [-Wimplicit-function-declaration]
  25. ...
  26. libmisc/copydir.c:126: undefined reference to 'va_start'
  27. libmisc/copydir.c:132: undefined reference to 'va_end'
  28. ...
  29. make[2]: *** [useradd] Error 1
  30. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
  31. ---
  32. libmisc/copydir.c | 1 +
  33. 1 files changed, 1 insertions(+), 0 deletions(-)
  34. diff --git a/libmisc/copydir.c b/libmisc/copydir.c
  35. index 7cb5f56..c6cbe6b 100644
  36. --- a/libmisc/copydir.c
  37. +++ b/libmisc/copydir.c
  38. @@ -40,6 +40,7 @@
  39. #include <sys/time.h>
  40. #include <fcntl.h>
  41. #include <stdio.h>
  42. +#include <stdarg.h>
  43. #include "prototypes.h"
  44. #include "defines.h"
  45. #ifdef WITH_SELINUX
  46. --
  47. 1.7.8.4