From 6e4bf0deafbdd573d6e67e10b00506185f2e8e4d Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 29 Jan 2022 14:16:59 -0800 Subject: radsecproxy: fix compilation with newer GCC Errors on uninitialized variable. Only on powerpc64 for some reason. Signed-off-by: Rosen Penev --- net/radsecproxy/patches/300-uninit.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 net/radsecproxy/patches/300-uninit.patch (limited to 'net/radsecproxy/patches/300-uninit.patch') diff --git a/net/radsecproxy/patches/300-uninit.patch b/net/radsecproxy/patches/300-uninit.patch new file mode 100644 index 000000000..578c86826 --- /dev/null +++ b/net/radsecproxy/patches/300-uninit.patch @@ -0,0 +1,11 @@ +--- a/gconfig.c ++++ b/gconfig.c +@@ -119,7 +119,7 @@ FILE *pushgconfpaths(struct gconffile ** + int i; + FILE *f = NULL; + glob_t globbuf; +- char *path, *curfile = NULL, *dir; ++ char *path = NULL, *curfile = NULL, *dir; + + /* if cfgpath is relative, make it relative to current config */ + if (*cfgpath == '/') -- cgit v1.2.3