aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2011-12-24 00:44:11 +0800
committerthierry <thierry@FreeBSD.org>2011-12-24 00:44:11 +0800
commit771fc4116709eae7d913be5f2398bb24b226d2fa (patch)
treeecf590b718ef78cb946216993dc6d34840248287 /x11
parenta26d153415873cd71dc82dd069cb68cf125a1e06 (diff)
downloadfreebsd-ports-gnome-771fc4116709eae7d913be5f2398bb24b226d2fa.tar.gz
freebsd-ports-gnome-771fc4116709eae7d913be5f2398bb24b226d2fa.tar.zst
freebsd-ports-gnome-771fc4116709eae7d913be5f2398bb24b226d2fa.zip
Fix build on 9.x.
PR: ports/163561 Submitted by: Guido Falsi <mad (at) madpilot.net> Patch from: flo
Diffstat (limited to 'x11')
-rw-r--r--x11/rxvt-unicode/files/patch-libptytty-src-logging.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11/rxvt-unicode/files/patch-libptytty-src-logging.C b/x11/rxvt-unicode/files/patch-libptytty-src-logging.C
index 0f1b887bedc3..dd856dbf2649 100644
--- a/x11/rxvt-unicode/files/patch-libptytty-src-logging.C
+++ b/x11/rxvt-unicode/files/patch-libptytty-src-logging.C
@@ -5,7 +5,7 @@
// records, but most implementations of last use ut_line to
// associate records in wtmp file
- strncpy (utx->ut_line, line, sizeof (utx->ut_line));
-+ if(id)
++ if(line)
+ strncpy (utx->ut_line, line, sizeof (utx->ut_line));
fill_id (utx->ut_id, line, sizeof (utx->ut_id));
utx->ut_pid = pid;