diff --git a/powerline-2.6-gcc7_fixes.patch b/powerline-2.6-gcc7_fixes.patch index 3f97702..acc871a 100644 --- a/powerline-2.6-gcc7_fixes.patch +++ b/powerline-2.6-gcc7_fixes.patch @@ -20,7 +20,7 @@ Index: powerline-2.6/client/powerline.c } -inline size_t true_sun_len(const struct sockaddr_un *ptr) { -+static size_t true_sun_len(const struct sockaddr_un *ptr) { ++static inline size_t true_sun_len(const struct sockaddr_un *ptr) { #ifdef __linux__ /* Because SUN_LEN uses strlen and abstract namespace paths begin * with a null byte, SUN_LEN is broken for these. Passing the full