diff --git a/x11/rxvt-devel/Makefile b/x11/rxvt-devel/Makefile index 6b11fbd31769..69ed215185e6 100644 --- a/x11/rxvt-devel/Makefile +++ b/x11/rxvt-devel/Makefile @@ -9,8 +9,7 @@ # the same distfile. PORTNAME= rxvt -PORTVERSION= 2.7.6 -PORTREVISION= 1 +PORTVERSION= 2.7.7 CATEGORIES= x11 MASTER_SITES= ftp://ftp.rxvt.org/pub/rxvt/%SUBDIR%/ \ ftp://mason.primenet.com.au/pub/rxvt/%SUBDIR%/ \ diff --git a/x11/rxvt-devel/distinfo b/x11/rxvt-devel/distinfo index 24f1595023f1..fda76e0b1956 100644 --- a/x11/rxvt-devel/distinfo +++ b/x11/rxvt-devel/distinfo @@ -1 +1 @@ -MD5 (rxvt-2.7.6.tar.bz2) = 31aa4d89b9cd7f968254d1920ca07078 +MD5 (rxvt-2.7.7.tar.bz2) = bef3e08385b06268744f360d0070c205 diff --git a/x11/rxvt-devel/files/patch-src::command.c b/x11/rxvt-devel/files/patch-src::command.c index 6f3e7e9a7bcb..32cabe35a474 100644 --- a/x11/rxvt-devel/files/patch-src::command.c +++ b/x11/rxvt-devel/files/patch-src::command.c @@ -1,11 +1,11 @@ --- src/command.c.orig Thu Apr 5 03:52:39 2001 +++ src/command.c Fri Jun 22 13:36:57 2001 -@@ -2796,7 +2796,7 @@ rxvt_tt_printf(rxvt_t *r, const char *fm +@@ -2878,7 +2878,7 @@ unsigned char buf[256]; va_start(arg_ptr, fmt); -- vsprintf(buf, fmt, arg_ptr); -+ vsnprintf(buf, sizeof(buf), fmt, arg_ptr); +- vsprintf((char *)buf, fmt, arg_ptr); ++ vsnprintf((char *)buf, sizeof((char *) buf), fmt, arg_ptr); va_end(arg_ptr); - rxvt_tt_write(r, buf, STRLEN(buf)); + rxvt_tt_write(r, buf, (unsigned int)STRLEN(buf)); }