public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-fs/autofs/files: autofs-5.1.0-fix-missing-stdarg.patch
@ 2014-06-14 15:29 Yixun Lan (dlan)
  0 siblings, 0 replies; only message in thread
From: Yixun Lan (dlan) @ 2014-06-14 15:29 UTC (permalink / raw
  To: gentoo-commits

dlan        14/06/14 15:29:00

  Added:                autofs-5.1.0-fix-missing-stdarg.patch
  Log:
  fix missing stdarg.h, bug 513196
  
  (Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key 0xAABEFD55)

Revision  Changes    Path
1.1                  net-fs/autofs/files/autofs-5.1.0-fix-missing-stdarg.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/autofs/files/autofs-5.1.0-fix-missing-stdarg.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/autofs/files/autofs-5.1.0-fix-missing-stdarg.patch?rev=1.1&content-type=text/plain

Index: autofs-5.1.0-fix-missing-stdarg.patch
===================================================================
From b9653c08896fcb08c441177e5918458f09111351 Mon Sep 17 00:00:00 2001
From: "Yixun Lan (dlan)" <dennis.yxun@gmail.com>
Date: Sat, 14 Jun 2014 23:16:36 +0800
Subject: [PATCH] fix undefined va_{start,end} error

https://bugs.gentoo.org/show_bug.cgi?id=513196

---

x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -rdynamic -pie -o automount auto
mount.o indirect.o direct.o spawn.o module.o mount.o lookup.o state.o flag.o ../
lib/autofs.a -lpthread -lnsl -ldl
../lib/autofs.a(defaults.o): In function `message':
/var/tmp/portage/net-fs/autofs-5.1.0/work/autofs-5.1.0/lib/defaults.c:179: undef
ined reference to `va_start'
/var/tmp/portage/net-fs/autofs-5.1.0/work/autofs-5.1.0/lib/defaults.c:186: undefined reference to `va_end'
collect2: error: ld returned 1 exit status
Makefile:33: recipe for target 'automount' failed
make[1]: *** [automount] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-fs/autofs-5.1.0/work/autofs-5.1.0/daemon'
Makefile:14: recipe for target 'daemon' failed
make: *** [daemon] Error 2

Signed-off-by: Yixun Lan (dlan) <dennis.yxun@gmail.com>
---
 lib/defaults.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/defaults.c b/lib/defaults.c
index 2b03ea2..5728e67 100644
--- a/lib/defaults.c
+++ b/lib/defaults.c
@@ -16,6 +16,7 @@
 
 #include <stdlib.h>
 #include <stdio.h>
+#include <stdarg.h>
 #include <ctype.h>
 #include <string.h>
 #include <sys/utsname.h>
-- 
1.8.5.2






^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-06-14 15:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-14 15:29 [gentoo-commits] gentoo-x86 commit in net-fs/autofs/files: autofs-5.1.0-fix-missing-stdarg.patch Yixun Lan (dlan)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox