From d3a33b65b13532c7b0931815d10545dd4456bbb8 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 02 Jun 2013 17:35:25 -0400 Subject: Initial commit. --- (limited to 'patches/01_better-handle-unrecognized-options.patch') diff --git a/patches/01_better-handle-unrecognized-options.patch b/patches/01_better-handle-unrecognized-options.patch new file mode 100644 index 0000000..87f4f1a --- /dev/null +++ b/patches/01_better-handle-unrecognized-options.patch @@ -0,0 +1,17 @@ +From: "P. J. McDermott" +Description: Better handle unecognized options + optind needs to be incremented for every option. + +--- src.orig/configure 2012-11-16 15:41:08.000000000 -0500 ++++ src/configure 2013-06-02 17:19:30.619119593 -0400 +@@ -256,9 +256,7 @@ + if [ ${?} -ne 0 ]; then + printf 'warning: unrecognized %s name: %s\n' \ + "${_type}" "${_opt}" >&2 +- continue +- fi +- if ${_optarg_set}; then ++ elif ${_optarg_set}; then + _opt="$(printf '%s' "${_opt}" | tr -c '[a-z0-9]' '_')" + eval "${_opt}"=\"\$\{_optarg\}\" + else -- cgit v0.9.1