mirror of
https://github.com/openwrt/packages.git
synced 2025-12-26 11:16:31 +04:00
libowfat: fix compilation under GCC10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
committed by
Daniel Golle
parent
477a881f14
commit
f0db39bf0e
@@ -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
|
||||
|
||||
11
libs/libowfat/patches/010-gcc10.patch
Normal file
11
libs/libowfat/patches/010-gcc10.patch
Normal file
@@ -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,
|
||||
Reference in New Issue
Block a user