diff options
Diffstat (limited to 'pkgs/applications/networking/instant-messengers')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/freetalk/01_callbacks_const_fix.diff | 25 | ||||
-rw-r--r-- | pkgs/applications/networking/instant-messengers/silc-client/server_setup.patch | 28 |
2 files changed, 0 insertions, 53 deletions
diff --git a/pkgs/applications/networking/instant-messengers/freetalk/01_callbacks_const_fix.diff b/pkgs/applications/networking/instant-messengers/freetalk/01_callbacks_const_fix.diff deleted file mode 100644 index 5fe871601229..000000000000 --- a/pkgs/applications/networking/instant-messengers/freetalk/01_callbacks_const_fix.diff +++ /dev/null @@ -1,25 +0,0 @@ -Description: Patch to fix FTBFS due to a modified const in src/callbacks.cc -Forwarded: yes -Origin: Ubuntu, -https://bugs.launchpad.net/ubuntu/+source/freetalk/+bug/443241 -Bug-Debian: http://bugs.debian.org/560535 -Author: Jon Bernard <bernardj@gmail.com> ---- 3.2-1.orig/src/callbacks.cc 2008-11-15 10:41:22.000000000 +0000 -+++ 3.2-1/src/callbacks.cc 2009-10-21 15:50:49.000000000 +0100 -@@ -116,13 +116,13 @@ ft_msg_msg_handler (LmMessageHandler *ha - LmMessage *msg, gpointer user_data) - { - LmMessageNode *root, *body, *x; -- const char *from, *msg_str, *type; -- char *ts = NULL; -+ const char *msg_str, *type; -+ char *from, *ts = NULL; - - root = lm_message_get_node (msg); - body = lm_message_node_get_child (root, "body"); - -- from = lm_message_node_get_attribute (msg->node, "from"); -+ from = (char *) lm_message_node_get_attribute (msg->node, "from"); - - /* since the file-transfer happens in-band with messages, we can no longer - * ignore messages with no 'body' */ diff --git a/pkgs/applications/networking/instant-messengers/silc-client/server_setup.patch b/pkgs/applications/networking/instant-messengers/silc-client/server_setup.patch deleted file mode 100644 index 466194c0a8fe..000000000000 --- a/pkgs/applications/networking/instant-messengers/silc-client/server_setup.patch +++ /dev/null @@ -1,28 +0,0 @@ -Add function to replace the behaviour of server_setup_find_port which was removed from irssi on revision 5125. Fixes bug #577501. ---- a/apps/irssi/src/silc/core/client_ops.c -+++ b/apps/irssi/src/silc/core/client_ops.c -@@ -2790,6 +2790,15 @@ - silc_free(a); - } - -+/* helper function to emulate server_setup_find_port */ -+static SERVER_SETUP_REC *silc_server_setup_find_port(const char *address, -+ int port) { -+ SERVER_SETUP_REC *rec; -+ -+ rec = server_setup_find(address, port, NULL); -+ return (rec == NULL || rec->port != port) ? NULL : rec; -+} -+ - /* Find authentication data by hostname and port. The hostname may be IP - address as well.*/ - -@@ -2811,7 +2820,7 @@ - - /* Check whether we find the password for this server in our - configuration. If it's set, always send it server. */ -- setup = server_setup_find_port(hostname, port); -+ setup = silc_server_setup_find_port(hostname, port); - if (setup && setup->password) { - completion(SILC_AUTH_PASSWORD, setup->password, strlen(setup->password), - context); |