From 1cfd05d1ccc2412dcb9a4ad426072c70df73c3ef Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sat, 1 Jul 2017 08:46:42 +0200 Subject: [PATCH] weechat: Drop res_init() patches They are no longer needed with unified headers. --- packages/weechat/declare-res-init.patch | 39 ------------------------- 1 file changed, 39 deletions(-) delete mode 100644 packages/weechat/declare-res-init.patch diff --git a/packages/weechat/declare-res-init.patch b/packages/weechat/declare-res-init.patch deleted file mode 100644 index 52bd992fb..000000000 --- a/packages/weechat/declare-res-init.patch +++ /dev/null @@ -1,39 +0,0 @@ -diff -u -r ../weechat-1.6/src/core/wee-network.c ./src/core/wee-network.c ---- ../weechat-1.6/src/core/wee-network.c 2016-10-02 03:35:04.000000000 -0400 -+++ ./src/core/wee-network.c 2016-10-09 14:54:05.867352606 -0400 -@@ -65,6 +65,9 @@ - #include "wee-string.h" - #include "../plugins/plugin.h" - -+#ifdef __ANDROID__ -+int res_init(); -+#endif - - int network_init_gnutls_ok = 0; - -diff -u -r ../weechat-1.6/src/plugins/irc/irc-server.c ./src/plugins/irc/irc-server.c ---- ../weechat-1.6/src/plugins/irc/irc-server.c 2016-10-02 03:35:04.000000000 -0400 -+++ ./src/plugins/irc/irc-server.c 2016-10-09 14:52:31.256766303 -0400 -@@ -66,6 +66,9 @@ - #include "irc-redirect.h" - #include "irc-sasl.h" - -+#ifdef __ANDROID__ -+int res_init(); -+#endif - - struct t_irc_server *irc_servers = NULL; - struct t_irc_server *last_irc_server = NULL; -diff -u -r ../weechat-1.6/src/plugins/xfer/xfer.c ./src/plugins/xfer/xfer.c ---- ../weechat-1.6/src/plugins/xfer/xfer.c 2016-10-02 03:35:04.000000000 -0400 -+++ ./src/plugins/xfer/xfer.c 2016-10-09 14:52:31.256766303 -0400 -@@ -46,6 +46,9 @@ - #include "xfer-network.h" - #include "xfer-upgrade.h" - -+#ifdef __ANDROID__ -+int res_init(); -+#endif - - WEECHAT_PLUGIN_NAME(XFER_PLUGIN_NAME); - WEECHAT_PLUGIN_DESCRIPTION(N_("DCC file transfer and direct chat"));