summaryrefslogtreecommitdiffstats
path: root/recipes-extended/groff/groff_1.18.1.4.bb
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2017-10-03 22:26:42 +0200
committerRoss Burton <ross.burton@intel.com>2017-10-04 15:34:40 +0100
commitc7f97f199a6dd54d3f369f0465a6bfd2cfa739b9 (patch)
tree0d6a33c4cc7b7fa15251fe77e378881b1c9f8c31 /recipes-extended/groff/groff_1.18.1.4.bb
parent08afd879388514af24e2c720066d479cfc71a433 (diff)
downloadmeta-gplv2-c7f97f199a6dd54d3f369f0465a6bfd2cfa739b9.tar.gz
groff: Drop local getopt implementation in favor of the one from glibc
This avoids the following error with GCC 7: In file included from /usr/include/bits/getopt_posix.h:27:0, from /usr/include/unistd.h:872, from src/libs/libgroff/maxfilename.cc:28: /usr/include/bits/getopt_core.h:91:12: error: declaration of 'int getopt(int, char* const*, const char*) throw ()' has a different exception specifier extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) ^~~~~~ In file included from src/include/lib.h:42:0, from src/libs/libgroff/maxfilename.cc:23: src/include/groff-getopt.h:50:12: note: from previous declaration 'int getopt(int, char* const*, const char*)' extern int getopt(int, // __argc ^~~~~~ Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'recipes-extended/groff/groff_1.18.1.4.bb')
-rw-r--r--recipes-extended/groff/groff_1.18.1.4.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-extended/groff/groff_1.18.1.4.bb b/recipes-extended/groff/groff_1.18.1.4.bb
index 0d1520d..a31cbf1 100644
--- a/recipes-extended/groff/groff_1.18.1.4.bb
+++ b/recipes-extended/groff/groff_1.18.1.4.bb
@@ -15,6 +15,7 @@ SRC_URI = "${GNU_MIRROR}/${BPN}/old/${BP}.tar.gz \
15 file://groff-1.18.1.4-fix-bindir.patch \ 15 file://groff-1.18.1.4-fix-bindir.patch \
16 file://fix-narrowing-conversion-error.patch \ 16 file://fix-narrowing-conversion-error.patch \
17 file://0001-Make-it-build-with-compile-time-hardening-enabled.patch \ 17 file://0001-Make-it-build-with-compile-time-hardening-enabled.patch \
18 file://0002-Drop-local-getopt-implementation-in-favor-of-the-one.patch \
18" 19"
19 20
20inherit autotools texinfo 21inherit autotools texinfo