From malcolm.kay@internode.on.net  Sat Mar  1 00:57:21 2008
Return-Path: <malcolm.kay@internode.on.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 0F653106566B
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  1 Mar 2008 00:57:21 +0000 (UTC)
	(envelope-from malcolm.kay@internode.on.net)
Received: from ipmail04.adl2.internode.on.net (ipmail04.adl2.internode.on.net [203.16.214.57])
	by mx1.freebsd.org (Postfix) with ESMTP id 9973E8FC23
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  1 Mar 2008 00:57:20 +0000 (UTC)
	(envelope-from malcolm.kay@internode.on.net)
Received: from ppp121-45-113-59.lns11.adl6.internode.on.net (HELO alpha.home) ([121.45.113.59])
  by ipmail04.adl2.internode.on.net with ESMTP; 01 Mar 2008 11:12:01 +1030
Message-Id: <200803011112.00231.malcolm.kay@internode.on.net>
Date: Sat, 1 Mar 2008 11:12:00 +1030
From: Malcolm Kay <malcolm.kay@internode.on.net>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [patch] xcolors built from port fails to find rgb.txt

>Number:         121247
>Category:       ports
>Synopsis:       [patch] x11/xcolors built from port fails to find rgb.txt
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    gahr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 01 01:00:00 UTC 2008
>Closed-Date:    Wed Mar 12 10:48:41 UTC 2008
>Last-Modified:  Wed Mar 12 10:50:02 UTC 2008
>Originator:     Malcolm Kay
>Release:        FreeBSD 6.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD xi.home 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Wed Jan 16 04:45:45 UTC 2008 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386

>Description:
        /usr/port/x11/xcolors when built, installed and execute complains
    it is unable to find /usr/share/Xll/rgb.txt and aborts.
    Port version: xcolors-1.3_1
>How-To-Repeat:
        Build from port, install and execute (under Xorg).

>Fix:
    Replace /usr/ports/x11/xcolors/patch-aa with
quote/
--- Imakefile.orig      1994-06-07 09:58:45.000000000 +0930
+++ Imakefile   2008-02-24 22:57:27.000000000 +1030
@@ -1,6 +1,6 @@
 XCOMM $XConsortium: Imakefile,v 1.2 94/06/06 20:28:45 gildea Exp $
 
-RGBDBFILE = DefaultRGBDatabase
+RGBDBFILE = $(LIBDIR)/rgb
 
         DEPLIBS = XawClientDepLibs
 LOCAL_LIBRARIES = XawClientLibs
@@ -8,12 +8,7 @@
            OBJS = xcolors.o
   SYS_LIBRARIES = -lm
 
-#if BuildServer
         DEFINES = -DRGB_TXT=\"$(RGBDBFILE).txt\"
-#else
-       /* rgb.txt will not be installed, so find it in build tree */
-       DEFINES = -DRGB_TXT=\"$(RGBSRC)/rgb.txt\"
-#endif
 
 ComplexProgramTarget(xcolors)
 InstallAppDefaults(Xcolors)
/quote

Only the change of RGBDBFILE value is different from the original patch file.
 
Now rebuild, reinstall and rerun.

It would seem that the basic problem is in the configuration
files /usr/local/lib/X11/config/* used by imake and associated 
with xorg version 7.3 and installed here by xorg-cf-files-1.0.2_2 
This could lead to problems with other ports of X applications.

Your attention is appreciated.
Malcolm Kay
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->gahr 
Responsible-Changed-By: gahr 
Responsible-Changed-When: Wed Mar 12 02:45:11 UTC 2008 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121247 
State-Changed-From-To: open->closed 
State-Changed-By: gahr 
State-Changed-When: Wed Mar 12 10:48:41 UTC 2008 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121247 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/121247: commit references a PR
Date: Wed, 12 Mar 2008 10:48:01 +0000 (UTC)

 gahr        2008-03-12 10:47:53 UTC
 
   FreeBSD ports repository
 
   Modified files:
     x11/xcolors          Makefile 
     x11/xcolors/files    patch-aa 
   Log:
   - Make port find rgb.txt
   
   PR:             121247
   Submitted by:   Malcolm Kay <malcolm.kay@internode.on.net>
   Approved by:    miwi (mentor)
   
   Revision  Changes    Path
   1.28      +2 -1      ports/x11/xcolors/Makefile
   1.2       +10 -2     ports/x11/xcolors/files/patch-aa
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
