summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/indent/indent_2.2.12.bb
diff options
context:
space:
mode:
authorMingli Yu <mingli.yu@windriver.com>2019-04-22 02:06:34 -0700
committerKhem Raj <raj.khem@gmail.com>2019-04-29 10:13:56 -0700
commit9fa40ad5f45ed7bf91181609a3feca3a2508ef53 (patch)
tree31ca5f7cf000f83991feb355fa75953f1784d4e4 /meta-oe/recipes-extended/indent/indent_2.2.12.bb
parentb655a3ea602eaad6b604ddab0c191039a09158d5 (diff)
downloadmeta-openembedded-9fa40ad5f45ed7bf91181609a3feca3a2508ef53.tar.gz
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>
Diffstat (limited to 'meta-oe/recipes-extended/indent/indent_2.2.12.bb')
-rw-r--r--meta-oe/recipes-extended/indent/indent_2.2.12.bb27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/indent/indent_2.2.12.bb b/meta-oe/recipes-extended/indent/indent_2.2.12.bb
new file mode 100644
index 0000000000..f2891df50d
--- /dev/null
+++ b/meta-oe/recipes-extended/indent/indent_2.2.12.bb
@@ -0,0 +1,27 @@
1SUMMARY = "A GNU program for formatting C code"
2HOMEPAGE = "http://www.gnu.org/software/indent/"
3SECTION = "Applications/Text"
4DESCRIPTION = "Indent is a GNU program for beautifying C code, so that \
5it is easier to read. Indent can also convert from one C writing style \
6to a different one. Indent understands correct C syntax and tries to handle \
7incorrect C syntax. \
8Install the indent package if you are developing applications in C and \
9you want a program to format your code."
10LICENSE = "GPLv3"
11LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
12DEPENDS = "virtual/gettext"
13
14SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz \
15 file://0001-src-indent.c-correct-the-check-for-locale.h.patch \
16 file://0001-Makefile.am-remove-regression-dir.patch \
17"
18SRC_URI[md5sum] = "4764b6ac98f6654a35da117b8e5e8e14"
19SRC_URI[sha256sum] = "e77d68c0211515459b8812118d606812e300097cfac0b4e9fb3472664263bb8b"
20
21inherit autotools gettext
22
23CFLAGS_class-native += " -Wno-error=unused-value"
24
25FILES_${PN}-doc += "/usr/doc/indent/indent.html"
26
27BBCLASSEXTEND = "native"