]> git.pld-linux.org Git - packages/zbar.git/blob - zbar-no-gettext.h.patch
3009488bfdf31742eba0c05cceb08ac826b6c1ba
[packages/zbar.git] / zbar-no-gettext.h.patch
1 From a133aea7880bbb56d75535e534716d0e16a3b61a Mon Sep 17 00:00:00 2001
2 From: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
3 Date: Tue, 28 Jul 2020 09:47:03 +0200
4 Subject: zbarcam, zbarimg: get rid of gettext.h
5
6 This doesn't seem to be needed at all for translations to
7 work. Also, gettext.h uses a different license. So, let's get
8 rid of it.
9
10 Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
11 ---
12  zbar/gettext.h    | 294 ------------------------------------------------------
13  zbarcam/zbarcam.c |   1 -
14  zbarimg/zbarimg.c |   1 -
15  3 files changed, 296 deletions(-)
16  delete mode 100644 zbar/gettext.h
17
18 diff --git a/zbarcam/zbarcam.c b/zbarcam/zbarcam.c
19 index f7ea281..ad30101 100644
20 --- a/zbarcam/zbarcam.c
21 +++ b/zbarcam/zbarcam.c
22 @@ -35,7 +35,6 @@
23  #include <zbar.h>
24  
25  #ifdef ENABLE_NLS
26 -#include "../zbar/gettext.h"
27  # include <libintl.h>
28  # define _(string) gettext(string)
29  #else
30 diff --git a/zbarimg/zbarimg.c b/zbarimg/zbarimg.c
31 index 0796fd8..d05d832 100644
32 --- a/zbarimg/zbarimg.c
33 +++ b/zbarimg/zbarimg.c
34 @@ -40,7 +40,6 @@
35  #include <zbar.h>
36  
37  #ifdef ENABLE_NLS
38 -#include "../zbar/gettext.h"
39  # include <libintl.h>
40  # define _(string) gettext(string)
41  #else
42 -- 
43 cgit v1.2.1
44
This page took 0.05255 seconds and 2 git commands to generate.