radsecproxy: fix compilation with newer GCC
[feed/packages.git] / 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 (file)
index 0000000..578c868
--- /dev/null
@@ -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 == '/')