diff options
Diffstat (limited to 'net-im/libyahoo2/files/patch-sample_client.c')
-rw-r--r-- | net-im/libyahoo2/files/patch-sample_client.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/net-im/libyahoo2/files/patch-sample_client.c b/net-im/libyahoo2/files/patch-sample_client.c deleted file mode 100644 index 744c23d7224a..000000000000 --- a/net-im/libyahoo2/files/patch-sample_client.c +++ /dev/null @@ -1,36 +0,0 @@ ---- src/sample_client.c.orig Sun Sep 28 10:40:03 2003 -+++ src/sample_client.c Tue Sep 30 21:35:55 2003 -@@ -52,7 +52,6 @@ - #include <yahoo2_callbacks.h> - #include "yahoo_util.h" - --int fileno(FILE * stream); - - - #define MAX_PREF_LEN 255 -@@ -177,7 +176,6 @@ - - FILE *popen(const char *command, const char *type); - int pclose(FILE *stream); --int gethostname(char *name, size_t len); - - static char * get_local_addresses() - { -@@ -577,7 +575,7 @@ - if(tm) { - char timestr[255]; - -- strncpy(timestr, ctime(&tm), sizeof(timestr)); -+ strncpy(timestr, ctime((time_t *)&tm), sizeof(timestr)); - timestr[strlen(timestr) - 1] = '\0'; - - print_message(("[Offline message at %s from %s]: %s", -@@ -654,7 +652,7 @@ - } - - void ext_yahoo_got_webcam_image(int id, const char *who, -- unsigned char *image, unsigned int image_size, unsigned int real_size, -+ const unsigned char *image, unsigned int image_size, unsigned int real_size, - unsigned int timestamp) - { - static unsigned char *cur_image = NULL; |