Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Package "System Patches": patch for option "Ignore Whitespace" not working

    pfSense Packages
    2
    2
    1.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      dneuhaeuser
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        committed the fix, thanks!

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.