libowfat: add new patch for new compilers (aka NDK r23 post cleaning part)

This commit is contained in:
Yaksh Bariya 2022-02-16 18:36:13 +05:30
parent 1928761152
commit c0ce5cf24f
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
2 changed files with 26 additions and 1 deletions

View File

@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="GPL reimplementation of libdjb"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.32
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=http://www.fefe.de/libowfat/libowfat-$TERMUX_PKG_VERSION.tar.xz
TERMUX_PKG_SHA256=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
TERMUX_PKG_BUILD_IN_SRC=true

View File

@ -0,0 +1,25 @@
From 67729f54c2e7a24b2bebfa23b75afe607c09a67a Mon Sep 17 00:00:00 2001
From: Sebastian Pipping <sebastian@pipping.org>
Date: Thu, 26 Nov 2020 19:28:03 +0100
Subject: [PATCH] Fix build with -fno-common or GCC 10
---
io_internal.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/io_internal.h b/io_internal.h
index 6d37c11..3e378d9 100644
--- 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,
--
2.27.0