From f0db39bf0eb0f91914bcf4c0543583c5983f7d87 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 1 Jul 2020 16:56:25 -0700 Subject: [PATCH] libowfat: fix compilation under GCC10 Signed-off-by: Rosen Penev --- libs/libowfat/Makefile | 2 +- libs/libowfat/patches/010-gcc10.patch | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 libs/libowfat/patches/010-gcc10.patch diff --git a/libs/libowfat/Makefile b/libs/libowfat/Makefile index d3618820bf..99060644f7 100644 --- a/libs/libowfat/Makefile +++ b/libs/libowfat/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libowfat PKG_VERSION:=0.32 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://www.fefe.de/libowfat diff --git a/libs/libowfat/patches/010-gcc10.patch b/libs/libowfat/patches/010-gcc10.patch new file mode 100644 index 0000000000..eca1a60e5d --- /dev/null +++ b/libs/libowfat/patches/010-gcc10.patch @@ -0,0 +1,11 @@ +--- a/io_internal.h ++++ b/io_internal.h +@@ -83,7 +83,7 @@ my_extern array io_pollfds; + my_extern long first_readable; + my_extern long first_writeable; + +-my_extern long first_deferred; ++extern long first_deferred; + + my_extern enum __io_waitmode { + UNDECIDED,