Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-misc/regex-markup/files: regex-markup-0.10.0-locale.patch
Date: Wed, 20 Jun 2012 12:23:43
Message-Id: 20120620122319.0BB2320033@flycatcher.gentoo.org
jlec        12/06/20 12:23:18

  Added:                regex-markup-0.10.0-locale.patch
  Log:
  app-misc/regex-markup: Fix missing declerations, #240044; bump EAPI=4; add missing configure options
  
  (Portage version: 2.2.0_alpha110/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  app-misc/regex-markup/files/regex-markup-0.10.0-locale.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/regex-markup/files/regex-markup-0.10.0-locale.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/regex-markup/files/regex-markup-0.10.0-locale.patch?rev=1.1&content-type=text/plain

Index: regex-markup-0.10.0-locale.patch
===================================================================
 src/cacheline.c |    2 ++
 src/remark.c    |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/cacheline.c b/src/cacheline.c
index 8c6f97b..f395c60 100644
--- a/src/cacheline.c
+++ b/src/cacheline.c
@@ -27,6 +27,8 @@
 #include "getline.h"		/* Gnulib/GNU Libc */
 #include "version-etc.h"	/* Gnulib */
 
+#include <locale.h>
+
 enum {
     HELP_OPT = 256,
     VERSION_OPT
diff --git a/src/remark.c b/src/remark.c
index dcf8327..8998112 100644
--- a/src/remark.c
+++ b/src/remark.c
@@ -44,6 +44,7 @@
 #include "common/intutil.h"
 /* regex-markup */
 #include "remark.h"
+#include <locale.h>
 
 #define PROGRAM "remark"