3 Commits

Author SHA1 Message Date
Mingli Yu
9fa40ad5f4 indent: Upgrade to 2.2.12
Add two patches to fix the build error.

Add -Wno-error=unused-value for native build
to silence below error:
| In file included from ../../indent-2.2.12/src/indent.h:60:0,
                 from ../../indent-2.2.12/src/indent.c:77:
| ../../indent-2.2.12/src/indent.c: In function 'main':
| ../../indent-2.2.12/src/libgettext.h:88:5: error: statement with no effect [-Werror=unused-value]
     ((void) (Domainname), (const char *) (Dirname))
     ^
| ../../indent-2.2.12/src/indent.c:1064:5: note: in expansion of macro 'bindtextdomain'
     bindtextdomain(PACKAGE, LOCALEDIR);

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-29 10:13:56 -07:00
Bian Naimeng
a804a9f994 indent: license should be GPLv3
The license of indent should be GPLv3

Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
Acked-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-04-13 12:55:52 +02:00
Qian Lei
7f24cb1fe4 indent: Add new recipe
Indent is a GNU program for beautifying C code, so that it is easier
to read. Indent can also convert from one C writing style to a different
one. Indent understands correct C syntax and tries to handle incorrect C
syntax.

Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-11-28 13:41:01 +01:00