I haven't really looked into this issue in detail and don't know yet if the proposed fix is ok.
But in case you want to ahead with it: Your patch is against the wrong package. srclib/ in apache2 is never compiled. You would have to patch the apr package and rebuild apache2 with the fixed libapr1-dev.
I haven't really looked into this issue in detail and don't know yet if the proposed fix is ok.
But in case you want to ahead with it: Your patch is against the wrong package. srclib/ in apache2 is never compiled. You would have to patch the apr package and rebuild apache2 with the fixed libapr1-dev.