diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2014-03-12 11:45:57 +0800 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-03-29 15:53:44 +0100 |
commit | 5e3ded0d75b00bb212b373a42851db98b79e28c1 (patch) | |
tree | 0b80c1779dc139c8db099cc47054e60f15eaa824 /package/iprutils/iprutils-01-dont-use-gettext.patch | |
parent | 1acff22d5e34a91ed6e2f87312962160612fbd3d (diff) | |
download | buildroot-5e3ded0d75b00bb212b373a42851db98b79e28c1.tar.gz buildroot-5e3ded0d75b00bb212b373a42851db98b79e28c1.zip |
package/iprutils: Add IBM Power RAID utilities
[Thomas: add patch to allow passing CFLAGS from the environment, use
TARGET_CONFIGURE_OPTS instead of manually passing CC/LD, add upstream
URL in Config.in, use the Makefile install target instead of
open-coding the installation in iprutils.mk.]
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/iprutils/iprutils-01-dont-use-gettext.patch')
-rw-r--r-- | package/iprutils/iprutils-01-dont-use-gettext.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/package/iprutils/iprutils-01-dont-use-gettext.patch b/package/iprutils/iprutils-01-dont-use-gettext.patch new file mode 100644 index 0000000000..8d3d5dd9d4 --- /dev/null +++ b/package/iprutils/iprutils-01-dont-use-gettext.patch @@ -0,0 +1,30 @@ +From 0aa3952890e14f5447147ae4d0d37c515e4fefea Mon Sep 17 00:00:00 2001 +From: Jeremy Kerr <jk@ozlabs.org> +Date: Fri, 26 Jul 2013 13:07:22 +0800 +Subject: [PATCH] iprconfig: Don't use gettext + +... since we don't have any translations. + +Signed-off-by: Jeremy Kerr <jk@ozlabs.org> +--- + iprconfig.h | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +diff --git a/iprconfig.h b/iprconfig.h +index 867b5ac..a9cdf5e 100644 +--- a/iprconfig.h ++++ b/iprconfig.h +@@ -11,9 +11,7 @@ + * + **/ + +-#include <libintl.h> +- +-#define _(string) gettext(string) ++#define _(string) (string) + #define __(string) (string) + #define EXIT_FLAG 0x8000 /* stops at given screen on exit call */ + #define CANCEL_FLAG 0x4000 /* stops at given screen on quit call */ +-- +1.7.10.4 + |