diff options
author | Rosen Penev <rosenp@gmail.com> | 2022-01-29 14:16:59 -0800 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2022-01-29 16:38:49 -0800 |
commit | 6e4bf0deafbdd573d6e67e10b00506185f2e8e4d (patch) | |
tree | 0708a75def0571bee170e2b8d1c04fecdb535d48 /net/radsecproxy | |
parent | 0d7ef9d9e1f8adaff22f0d91c88ab9e9d746f64b (diff) |
radsecproxy: fix compilation with newer GCC
Errors on uninitialized variable. Only on powerpc64 for some reason.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'net/radsecproxy')
-rw-r--r-- | net/radsecproxy/Makefile | 2 | ||||
-rw-r--r-- | net/radsecproxy/patches/300-uninit.patch | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/net/radsecproxy/Makefile b/net/radsecproxy/Makefile index 5207e5719..0f89fac01 100644 --- a/net/radsecproxy/Makefile +++ b/net/radsecproxy/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=radsecproxy PKG_VERSION:=1.9.0 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/radsecproxy/radsecproxy/releases/download/$(PKG_VERSION)/ 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 == '/') |