From 487ea2c1846835a638ca766a0d4b2ddfd78c230c Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Sat, 9 Feb 2019 16:40:51 +0000 Subject: align the face patch to the FreeBSD version --- debian/changelog | 1 + debian/patches/add_face_support.patch | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 9062ae5..8c5d2af 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ bsd-finger (0.17-15.2+kz1) unstable; urgency=medium * add support for ~/.face + * align the "face" patch to the FreeBSD version -- Vincenzo (KatolaZ) Nicosia Fri, 08 Feb 2019 05:29:08 +0000 diff --git a/debian/patches/add_face_support.patch b/debian/patches/add_face_support.patch index 55fb391..8f906a5 100644 --- a/debian/patches/add_face_support.patch +++ b/debian/patches/add_face_support.patch @@ -11,12 +11,13 @@ Author: Vincenzo 'KatolaZ' Nicosia void lflag_print(void) -@@ -99,6 +100,8 @@ +@@ -99,6 +100,9 @@ * shell * office, office phone, home phone if available */ -+ show_text(pn->dir, _PATH_FACE, "~~~~~~~~~~~~~~~~~~~~\n"); + xprintf("~~~~~~~~~~~~~~~~~~~~\n"); ++ if(show_text(pn->dir, _PATH_FACE, "")) ++ xprintf("~~~~~~~~~~~~~~~~~~~~\n"); xprintf("Login: %-15s\t\t\tName: %s\nDirectory: %-25s", pn->name, pn->realname ? pn->realname : "", pn->dir); xprintf("\tShell: %-s\n", *pn->shell ? pn->shell : _PATH_BSHELL); -- cgit v1.2.3