From 7c0a04e94354c3f27f3eb0f109def86389b164a3 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Jul 17 2017 14:18:49 +0000 Subject: Keep the true_sun_len() as inline function --- 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