Package "System Patches": patch for option "Ignore Whitespace" not working
-
Hi.
I guess there's a small bug in "system patches" package v0.7.2:
The option "Ignore Whitespace" is not pushed correctly to the patch command.
So here's a patch suggestion for the patcher: ;)
--- /usr/local/pkg/patches.inc 2013-02-12 01:38:49.000000000 +0100 +++ /usr/local/pkg/patches.inc.arbor 2013-02-12 01:38:31.000000000 +0100 @@ -44,1 +44,1 @@ - $whitespace = $patch['ignorewhitespace'] ? "--ignore-whitespace" : ""; + $whitespace = isset($patch['ignorewhitespace']) ? "--ignore-whitespace" : "";
–Dennis
-
committed the fix, thanks!
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.