a80cc8758cf977ba754e5e6c577401a7fcc28f87
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / iprutils / 0001-Don-t-use-gettext.patch
1 From 34fb0785f1d66ba1f79b470223426031f6258782 Mon Sep 17 00:00:00 2001
2 From: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
3 Date: Wed, 17 Sep 2014 17:48:54 +0100
4 Subject: [PATCH 1/3] iprutils: Don't use gettext
5
6 ... since we don't have any translation.
7
8 Based on the former patch by Jeremy Kerr.
9
10 Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
11 ---
12  iprconfig.h |    4 +---
13  1 files changed, 1 insertions(+), 3 deletions(-)
14
15 diff --git a/iprconfig.h b/iprconfig.h
16 index cad591a..4a1fa0d 100644
17 --- a/iprconfig.h
18 +++ b/iprconfig.h
19 @@ -11,9 +11,7 @@
20   *
21   **/
22  
23 -#include <libintl.h>
24 -
25 -#define _(string) gettext(string)
26 +#define _(string) (string)
27  #define __(string) (string)
28  #define EXIT_FLAG              0x8000  /* stops at given screen on exit call */
29  #define CANCEL_FLAG            0x4000  /* stops at given screen on quit call */
30 -- 
31 1.7.1
32