aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2011-10-06 03:37:11 +0800
committerthierry <thierry@FreeBSD.org>2011-10-06 03:37:11 +0800
commit263007eed729f7fa24c93b54bc898af5961086f5 (patch)
tree985a48ec6151e38c21bdf5d44a4cc93e6f32c3c1 /x11
parent5eb99460c39b1c20cc3599aa27853a3f3881dc1a (diff)
downloadfreebsd-ports-gnome-263007eed729f7fa24c93b54bc898af5961086f5.tar.gz
freebsd-ports-gnome-263007eed729f7fa24c93b54bc898af5961086f5.tar.zst
freebsd-ports-gnome-263007eed729f7fa24c93b54bc898af5961086f5.zip
- Fix the bug reported with the latest version;
- bump PORTREVISION. PR: ports/161298 Submitted by: Guido Falsi <mad (at) madpilot.net>
Diffstat (limited to 'x11')
-rw-r--r--x11/rxvt-unicode/Makefile1
-rw-r--r--x11/rxvt-unicode/files/patch-libptytty-src-logging.C18
2 files changed, 15 insertions, 4 deletions
diff --git a/x11/rxvt-unicode/Makefile b/x11/rxvt-unicode/Makefile
index 18b7f5b82b54..9d5f4fc2be98 100644
--- a/x11/rxvt-unicode/Makefile
+++ b/x11/rxvt-unicode/Makefile
@@ -7,6 +7,7 @@
PORTNAME= rxvt-unicode
PORTVERSION= 9.12
+PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://dist.schmorp.de/rxvt-unicode/%SUBDIR%/
MASTER_SITE_SUBDIR= . Attic
diff --git a/x11/rxvt-unicode/files/patch-libptytty-src-logging.C b/x11/rxvt-unicode/files/patch-libptytty-src-logging.C
index 2be69d13a618..b0347fa1e696 100644
--- a/x11/rxvt-unicode/files/patch-libptytty-src-logging.C
+++ b/x11/rxvt-unicode/files/patch-libptytty-src-logging.C
@@ -1,6 +1,16 @@
---- libptytty/src/logging.C.orig 2011-05-31 00:59:42.000000000 +0400
-+++ libptytty/src/logging.C 2011-09-21 16:19:44.000000000 +0400
-@@ -284,11 +284,19 @@
+--- libptytty/src/logging.C.orig 2011-05-30 22:59:42.000000000 +0200
++++ libptytty/src/logging.C 2011-10-05 11:12:04.370185467 +0200
+@@ -223,7 +223,8 @@
+ // records, but most implementations of last use ut_line to
+ // associate records in wtmp file
+ strncpy (utx->ut_line, line, sizeof (utx->ut_line));
+- strncpy (utx->ut_id, id, sizeof (utx->ut_id));
++ if(id)
++ strncpy (utx->ut_id, id, sizeof (utx->ut_id));
+ utx->ut_pid = pid;
+ utx->ut_type = login ? USER_PROCESS : DEAD_PROCESS;
+ utx->ut_tv.tv_sec = time (NULL);
+@@ -284,11 +285,19 @@
#endif
#ifdef HAVE_STRUCT_UTMP
@@ -20,7 +30,7 @@
#endif
#ifdef HAVE_STRUCT_UTMP
-@@ -363,11 +371,19 @@
+@@ -363,11 +372,19 @@
#endif
#ifdef HAVE_STRUCT_UTMP