Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Oct 2007 15:24:02 GMT
From:      Warren Block <wblock@wonkity.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/117722: [patch] x11/xdm Xresources missing #endif
Message-ID:  <200710311524.l9VFO2Qe004078@www.freebsd.org>
Resent-Message-ID: <200710311530.l9VFU1bk041293@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         117722
>Category:       ports
>Synopsis:       [patch] x11/xdm Xresources missing #endif
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 31 15:30:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Warren Block
>Release:        6.2-STABLE
>Organization:
>Environment:
FreeBSD speedy.wonkity.com 6.2-STABLE FreeBSD 6.2-STABLE #0: Wed Oct 10 12:48:47 MDT 2007     root@speedy.wonkity.com:/usr/obj/usr/src/sys/SPEEDY  i386
>Description:
xdm's default Xresources file is missing a #endif at the end of the WIDTH > 800 section (line 30):

..
#if WIDTH > 800
xlogin*greetFont: -adobe-helvetica-bold-o-normal--24-240-75-75-p-138-iso8859-1
xlogin*font: -adobe-helvetica-medium-r-normal--18-180-75-75-p-98-iso8859-1
xlogin*promptFont: -adobe-helvetica-bold-r-normal--18-180-75-75-p-103-iso8859-1
xlogin*failFont: -adobe-helvetica-bold-r-normal--18-180-75-75-p-103-iso8859-1
xlogin*greetFace:       Serif-24:bold:italic
xlogin*face:            Helvetica-18
xlogin*promptFace:      Helvetica-18:bold
xlogin*failFace:        Helvetica-18:bold

#ifdef COLOR
..
>How-To-Repeat:
Run xdm, check /var/log/xdm.log for this message:

<stdin>:30:1: unterminated #if
>Fix:
Add the missing #endif:

--- Xresources.orig     2007-10-31 09:16:25.000000000 -0600
+++ Xresources  2007-10-31 09:16:36.000000000 -0600
@@ -37,6 +37,7 @@
 xlogin*face:           Helvetica-18
 xlogin*promptFace:     Helvetica-18:bold
 xlogin*failFace:       Helvetica-18:bold
+#endif
 
 #ifdef COLOR
 xlogin*borderWidth: 1


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710311524.l9VFO2Qe004078>