From parv@worldnet.att.net  Fri Mar  9 19:41:02 2001
Return-Path: <parv@worldnet.att.net>
Received: from mtiwmhc24.worldnet.att.net (mtiwmhc24.worldnet.att.net [204.127.131.49])
	by hub.freebsd.org (Postfix) with ESMTP id C888C37B719
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  9 Mar 2001 19:41:01 -0800 (PST)
	(envelope-from parv@worldnet.att.net)
Received: from worldnet.att.net ([32.100.199.83])
          by mtiwmhc24.worldnet.att.net
          (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP
          id <20010310034014.VWWQ14058.mtiwmhc24.worldnet.att.net@worldnet.att.net>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Sat, 10 Mar 2001 03:40:14 +0000
Received: (from parv@localhost)
	by worldnet.att.net (8.11.3/8.11.3) id f2A3e7V02579;
	Fri, 9 Mar 2001 22:40:07 -0500 (EST)
	(envelope-from parv)
Message-Id: <200103100340.f2A3e7V02579@worldnet.att.net>
Date: Fri, 9 Mar 2001 22:40:07 -0500 (EST)
From: parv_@yahoo.com
Reply-To: parv_@yahoo.com
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: "incompatible pointer" in RgbSink.c for xcolorsel
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         25643
>Category:       ports
>Synopsis:       "incompatible pointer" in RgbSink.c for xcolorsel
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 09 19:50:01 PST 2001
>Closed-Date:    Wed Jun 13 08:56:05 PDT 2001
>Last-Modified:  Wed Jun 13 08:56:16 PDT 2001
>Originator:     parv
>Release:        FreeBSD 4.3-BETA i386
>Organization:
>Environment:
System: FreeBSD moo.holy.cow 4.3-BETA FreeBSD 4.3-BETA #0: Fri Mar 9 18:45:05 EST 2001 toor@moo.holy.cow:/usr/src/sys/compile/BOVINE i386


	
>Description:
	make for xcolorsel fails; it failed today and failed in feb 2001 for the same reason
with 4.2 stable. i am using XFree86 4.0.2 if that helps. both times ports collection were 
up to date for all practical purposes. even tried deleting all the files related to
xcolorsel; no go. 

below is the "make" log:

===>  Extracting for xcolorsel-1.1a
>How-To-Repeat:
	cd /usr/ports/x11/xcolorsel && make
>Fix:
	unknown to me
>Release-Note:
>Audit-Trail:

From: Konstantinos Konstantinidis <kkonstan@duth.gr>
To: freebsd-gnats-submit@FreeBSD.org, parv_@yahoo.com
Cc:  
Subject: Re: ports/25643: "incompatible pointer" in RgbSink.c for xcolorsel
Date: Tue, 05 Jun 2001 02:06:18 +0300

 This is the same problem described in ports/25351,
 for which I just sent a fix, so I suppose someone
 should close this, or better still merge my patch
 and close both :)
 
 --kkonstan
State-Changed-From-To: open->closed 
State-Changed-By: markp 
State-Changed-When: Wed Jun 13 08:56:05 PDT 2001 
State-Changed-Why:  
Port fixed. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=25643 
>Unformatted:
 >> Checksum OK for xcolorsel-1.1a-src.tar.gz.
 ===>   xcolorsel-1.1a depends on shared library: X11.6 - found
 ===>  Patching for xcolorsel-1.1a
 ===>  Applying FreeBSD patches for xcolorsel-1.1a
 ===>   Applying FreeBSD patch /usr/ports/x11/xcolorsel/files/patch-aa
 Hmm...  Looks like a unified diff to me...
 The text leading up to this was:
 --------------------------
 |diff -ruN ./Imakefile ../xcolorsel/Imakefile
 |--- ./Imakefile	Wed Dec 14 05:31:19 1994
 |+++ ../xcolorsel/Imakefile	Sat Dec 12 00:52:04 1998
 --------------------------
 Patching file Imakefile using Plan A...
 Hunk #1 succeeded at 82.
 Hmm...  The next patch looks like a unified diff to me...
 The text leading up to this was:
 --------------------------
 |diff -ruN ./Xcolorsel.ad ../xcolorsel/Xcolorsel.ad
 |--- ./Xcolorsel.ad	Mon Nov 14 07:08:36 1994
 |+++ ../xcolorsel/Xcolorsel.ad	Sat Dec 12 00:52:04 1998
 --------------------------
 Patching file Xcolorsel.ad using Plan A...
 Hunk #1 succeeded at 71.
 done
 ===>  Configuring for xcolorsel-1.1a
 imake -DUseInstalled -I/usr/X11R6/lib/X11/config
 make Makefiles
 make includes
 make depend
 ./app2head Xcolorsel.ad > appdef.h
 rm -f .depend
 gccmakedep -f-  --   -I/usr/X11R6/include   -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO    -DHELPFILE=\"/usr/X11R6/lib/X11/xcolorsel/Xcolorsel.help\"  -- RgbText.c RgbSink.c RgbSrc.c xcolorsel.c > .depend
 In file included from RgbText.c:81:
 /usr/include/malloc.h:2: warning: #warning "this file includes <malloc.h> which is deprecated, use <stdlib.h> instead"
 In file included from xcolorsel.c:56:
 /usr/include/malloc.h:2: warning: #warning "this file includes <malloc.h> which is deprecated, use <stdlib.h> instead"
 ===>  Building for xcolorsel-1.1a
 cc -O2      -I/usr/X11R6/include   -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO    -DHELPFILE=\"/usr/X11R6/lib/X11/xcolorsel/Xcolorsel.help\" -c RgbText.c
 In file included from RgbText.c:81:
 /usr/include/malloc.h:2: warning: #warning "this file includes <malloc.h> which is deprecated, use <stdlib.h> instead"
 cc -O2      -I/usr/X11R6/include   -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO    -DHELPFILE=\"/usr/X11R6/lib/X11/xcolorsel/Xcolorsel.help\" -c RgbSink.c
 RgbSink.c:150: `_XawSinkVoidFunc' undeclared here (not in a function)
 RgbSink.c:150: syntax error before `mydisp'
 RgbSink.c:151: warning: initialization from incompatible pointer type
 RgbSink.c:152: warning: initialization from incompatible pointer type
 RgbSink.c:153: warning: initialization from incompatible pointer type
 RgbSink.c:154: warning: initialization from incompatible pointer type
 RgbSink.c:155: warning: initialization from incompatible pointer type
 RgbSink.c:156: warning: initialization from incompatible pointer type
 RgbSink.c:157: warning: initialization from incompatible pointer type
 RgbSink.c:158: warning: initialization from incompatible pointer type
 RgbSink.c:159: warning: initialization from incompatible pointer type
 *** Error code 1
 
 Stop in /usr/ports/x11/xcolorsel/work/xcolorsel.
 *** Error code 1
 
 Stop in /usr/ports/x11/xcolorsel.
 *** Error code 1
 
 Stop in /usr/ports/x11/xcolorsel.
 *** Error code 1
 
 Stop in /usr/ports/x11/xcolorsel.
 
 
 
