gengetopt: add patch to fix compilation warnings in generated code
authorThomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Fri, 3 Feb 2017 22:02:48 +0000 (23:02 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 4 Feb 2017 08:25:43 +0000 (09:25 +0100)
commit774e7b0bfdc875a168348f5b92728e566ead2eb3
treea2abb2a8720af850d35031f7205c388c1b2e53f5
parentee90313c648b7e0eb28ffad3a458f3e18bab23d7
gengetopt: add patch to fix compilation warnings in generated code

getgetopt generates code that causes compilation warnings in current
versions of gcc. If gengetopt is used for programs that set -Werror during
compilation, these compilation warnings become real problems.

Unfortunately, the gengetopt project seems dead for several years now. Last
release dates back to 2012. There is an open bug for this problem [1], with
a proposed patch, but no response from the maintainers.

Apply the patch from the bug report to fix the problem.

[1]  http://savannah.gnu.org/bugs/?40243

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/gengetopt/0001-fix-compilation-warnings-in-generated-code.patch [new file with mode: 0644]