weechat: Update from 2.0.1 to 2.1
This commit is contained in:
parent
ba75a4e65c
commit
6dd6d3d0f3
@ -1,7 +1,7 @@
|
|||||||
TERMUX_PKG_HOMEPAGE=https://weechat.org/
|
TERMUX_PKG_HOMEPAGE=https://weechat.org/
|
||||||
TERMUX_PKG_DESCRIPTION="Fast, light and extensible IRC chat client"
|
TERMUX_PKG_DESCRIPTION="Fast, light and extensible IRC chat client"
|
||||||
TERMUX_PKG_VERSION=2.0.1
|
TERMUX_PKG_VERSION=2.1
|
||||||
TERMUX_PKG_SHA256=425f3268fc9cb2a70610554380f1d5711bb8471178ef97159ec85918bea77b4b
|
TERMUX_PKG_SHA256=a83977ba0ecc9d4cf3aac5977266ce9e584a3e05f1d797c2184c6ceb1f47063b
|
||||||
TERMUX_PKG_SRCURL=https://www.weechat.org/files/src/weechat-${TERMUX_PKG_VERSION}.tar.bz2
|
TERMUX_PKG_SRCURL=https://www.weechat.org/files/src/weechat-${TERMUX_PKG_VERSION}.tar.bz2
|
||||||
TERMUX_PKG_DEPENDS="ncurses, libgcrypt, libcurl, libgnutls, libandroid-support"
|
TERMUX_PKG_DEPENDS="ncurses, libgcrypt, libcurl, libgnutls, libandroid-support"
|
||||||
# weechat-curses is a symlink to weechat, so remove it:
|
# weechat-curses is a symlink to weechat, so remove it:
|
||||||
|
14
packages/weechat/src-gui-curses-headless-main.c.patch
Normal file
14
packages/weechat/src-gui-curses-headless-main.c.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
Submitted upstream at https://github.com/weechat/weechat/pull/1163
|
||||||
|
|
||||||
|
diff -u -r ../weechat-2.1/src/gui/curses/headless/main.c ./src/gui/curses/headless/main.c
|
||||||
|
--- ../weechat-2.1/src/gui/curses/headless/main.c 2018-03-18 07:41:40.000000000 +0100
|
||||||
|
+++ ./src/gui/curses/headless/main.c 2018-03-18 21:08:49.664939605 +0100
|
||||||
|
@@ -72,7 +72,7 @@
|
||||||
|
setsid ();
|
||||||
|
|
||||||
|
/* close all file descriptors */
|
||||||
|
- for (i = getdtablesize(); i >= 0; --i)
|
||||||
|
+ for (i = sysconf(_SC_OPEN_MAX); i >= 0; --i)
|
||||||
|
{
|
||||||
|
close (i);
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user