libowfat: add new patch for new compilers (aka NDK r23 post cleaning part)
This commit is contained in:
parent
1928761152
commit
c0ce5cf24f
@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="GPL reimplementation of libdjb"
|
|||||||
TERMUX_PKG_LICENSE="GPL-2.0"
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||||
TERMUX_PKG_MAINTAINER="@termux"
|
TERMUX_PKG_MAINTAINER="@termux"
|
||||||
TERMUX_PKG_VERSION=0.32
|
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_SRCURL=http://www.fefe.de/libowfat/libowfat-$TERMUX_PKG_VERSION.tar.xz
|
||||||
TERMUX_PKG_SHA256=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
|
TERMUX_PKG_SHA256=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
|
||||||
TERMUX_PKG_BUILD_IN_SRC=true
|
TERMUX_PKG_BUILD_IN_SRC=true
|
||||||
|
25
packages/libowfat/io_internal.h.patch
Normal file
25
packages/libowfat/io_internal.h.patch
Normal 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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user