diff options
author | Rosen Penev <rosenp@gmail.com> | 2020-07-17 16:15:47 -0700 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2020-07-17 20:35:34 -0700 |
commit | ef646f2a70658262e40ef01cdee5d32edad70e5f (patch) | |
tree | ac8fd50e6023991ac1b6f32d6095ade1847884f3 /net/apinger | |
parent | dafbd9e5e4188135cb097ee3d793cae5258795a7 (diff) |
apinger: fix compilation with GCC 10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'net/apinger')
-rw-r--r-- | net/apinger/Makefile | 2 | ||||
-rw-r--r-- | net/apinger/patches/020-gcc10.patch | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/net/apinger/Makefile b/net/apinger/Makefile index 1c52c7578..f6837cec4 100644 --- a/net/apinger/Makefile +++ b/net/apinger/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=apinger PKG_SOURCE_DATE:=2015-04-09 PKG_SOURCE_VERSION:=78eb328721ba1a10571c19df95acddcb5f0c17c8 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/Jajcus/apinger diff --git a/net/apinger/patches/020-gcc10.patch b/net/apinger/patches/020-gcc10.patch new file mode 100644 index 000000000..32728048c --- /dev/null +++ b/net/apinger/patches/020-gcc10.patch @@ -0,0 +1,11 @@ +--- a/src/apinger.h ++++ b/src/apinger.h +@@ -111,7 +111,7 @@ struct piped_info { + }; + #endif + +-struct target *targets; ++extern struct target *targets; + + extern int foreground; + extern char *config_file; |