diff --git a/net-im/gaim/Makefile b/net-im/gaim/Makefile index 9baad7faba59..484c89f2ee94 100644 --- a/net-im/gaim/Makefile +++ b/net-im/gaim/Makefile @@ -6,6 +6,7 @@ PORTNAME= gaim PORTVERSION= 0.78 +PORTREVISION= 1 CATEGORIES?= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} diff --git a/net-im/gaim/files/patch-src_protocols_oscar_oscar.c b/net-im/gaim/files/patch-src_protocols_oscar_oscar.c new file mode 100644 index 000000000000..050faa3b1966 --- /dev/null +++ b/net-im/gaim/files/patch-src_protocols_oscar_oscar.c @@ -0,0 +1,11 @@ +--- src/protocols/oscar/oscar.c.orig Tue Jun 1 18:12:11 2004 ++++ src/protocols/oscar/oscar.c Tue Jun 1 18:12:58 2004 +@@ -3127,7 +3127,7 @@ + * Note: There *may* be some clients which send messages as HTML formatted - + * they need to be special-cased somehow. + */ +- if (isdigit(gaim_account_get_username(account)[0]) && isdigit(userinfo->sn[0])) { ++ if (isdigit(gaim_account_get_username(account)[0]) && isdigit(userinfo->sn[0]) && g_strncasecmp(tmp, "", 6)) { + /* being recevied by ICQ from ICQ - escape HTML so it is displayed as sent */ + gchar *tmp2 = gaim_escape_html(tmp); + g_free(tmp); diff --git a/net/gaim/Makefile b/net/gaim/Makefile index 9baad7faba59..484c89f2ee94 100644 --- a/net/gaim/Makefile +++ b/net/gaim/Makefile @@ -6,6 +6,7 @@ PORTNAME= gaim PORTVERSION= 0.78 +PORTREVISION= 1 CATEGORIES?= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} diff --git a/net/gaim/files/patch-src_protocols_oscar_oscar.c b/net/gaim/files/patch-src_protocols_oscar_oscar.c new file mode 100644 index 000000000000..050faa3b1966 --- /dev/null +++ b/net/gaim/files/patch-src_protocols_oscar_oscar.c @@ -0,0 +1,11 @@ +--- src/protocols/oscar/oscar.c.orig Tue Jun 1 18:12:11 2004 ++++ src/protocols/oscar/oscar.c Tue Jun 1 18:12:58 2004 +@@ -3127,7 +3127,7 @@ + * Note: There *may* be some clients which send messages as HTML formatted - + * they need to be special-cased somehow. + */ +- if (isdigit(gaim_account_get_username(account)[0]) && isdigit(userinfo->sn[0])) { ++ if (isdigit(gaim_account_get_username(account)[0]) && isdigit(userinfo->sn[0]) && g_strncasecmp(tmp, "", 6)) { + /* being recevied by ICQ from ICQ - escape HTML so it is displayed as sent */ + gchar *tmp2 = gaim_escape_html(tmp); + g_free(tmp);