public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-apps/kbd/files: kbd-2.0.1-stdarg.patch
@ 2014-01-06 15:32 Mike Frysinger (vapier)
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2014-01-06 15:32 UTC (permalink / raw
  To: gentoo-commits

vapier      14/01/06 15:32:50

  Added:                kbd-2.0.1-stdarg.patch
  Log:
  Add missing stdarg.h include to fix building for some C libraries #497200 by Anthony Basile.
  
  (Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key D2E96200)

Revision  Changes    Path
1.1                  sys-apps/kbd/files/kbd-2.0.1-stdarg.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kbd/files/kbd-2.0.1-stdarg.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kbd/files/kbd-2.0.1-stdarg.patch?rev=1.1&content-type=text/plain

Index: kbd-2.0.1-stdarg.patch
===================================================================
From 7955ccd650dc3235df3bf6333222c2811dd43141 Mon Sep 17 00:00:00 2001
From: Mike Frysinger <vapier@gentoo.org>
Date: Mon, 6 Jan 2014 10:27:23 -0500
Subject: [PATCH] libkeymap: include stdarg.h where used

Some of these headers use va_list but don't include stdarg.h for it.

Reported-by: Anthony Basile <blueness@gentoo.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 src/libkeymap/contextP.h      | 2 ++
 src/libkeymap/keymap/common.h | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/src/libkeymap/contextP.h b/src/libkeymap/contextP.h
index e3798e3..8ee3fab 100644
--- a/src/libkeymap/contextP.h
+++ b/src/libkeymap/contextP.h
@@ -1,6 +1,8 @@
 #ifndef LK_CONTEXTP_H
 #define LK_CONTEXTP_H
 
+#include <stdarg.h>
+
 #include "keymap.h"
 
 /**
diff --git a/src/libkeymap/keymap/common.h b/src/libkeymap/keymap/common.h
index 6b9cead..987b564 100644
--- a/src/libkeymap/keymap/common.h
+++ b/src/libkeymap/keymap/common.h
@@ -6,6 +6,8 @@
 #ifndef LK_COMMON_H
 #define LK_COMMON_H
 
+#include <stdarg.h>
+
 #include <keymap/context.h>
 
 /** Initializes the structures necessary to read and/or parse keymap.
-- 
1.8.4.3






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

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

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-06 15:32 [gentoo-commits] gentoo-x86 commit in sys-apps/kbd/files: kbd-2.0.1-stdarg.patch Mike Frysinger (vapier)

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