mirror of
https://github.com/coolsnowwolf/packages.git
synced 2025-05-02 02:30:02 +08:00
radsecproxy: fix compilation with newer GCC
Errors on uninitialized variable. Only on powerpc64 for some reason. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
3e0d2918df
commit
5f798a6239
@ -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)/
|
||||
|
11
net/radsecproxy/patches/300-uninit.patch
Normal file
11
net/radsecproxy/patches/300-uninit.patch
Normal file
@ -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 == '/')
|
Loading…
Reference in New Issue
Block a user