From charles@x18y240.angelo.edu  Mon Oct  7 09:05:44 2002
Return-Path: <charles@x18y240.angelo.edu>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2356A37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  7 Oct 2002 09:05:44 -0700 (PDT)
Received: from x18y240.angelo.edu (x18y240.angelo.edu [204.66.18.240])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D169E43E75
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  7 Oct 2002 09:05:43 -0700 (PDT)
	(envelope-from charles@x18y240.angelo.edu)
Received: by x18y240.angelo.edu (Postfix, from userid 1001)
	id 95DC62A602; Mon,  7 Oct 2002 11:05:42 -0500 (CDT)
Message-Id: <20021007160542.95DC62A602@x18y240.angelo.edu>
Date: Mon,  7 Oct 2002 11:05:42 -0500 (CDT)
From: Charles Allen <charles.allen@angelo.edu>
Reply-To: Charles Allen <charles.allen@angelo.edu>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: xrolo port fails to build
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         43772
>Category:       ports
>Synopsis:       xrolo port fails to build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    adamw
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 07 09:10:01 PDT 2002
>Closed-Date:    Sun Nov 03 13:49:29 PST 2002
>Last-Modified:  Sun Nov 03 13:49:29 PST 2002
>Originator:     Charles Allen
>Release:        FreeBSD 4.7-RC i386
>Organization:
Angelo State University
>Environment:
System: FreeBSD x18y240.angelo.edu 4.7-RC FreeBSD 4.7-RC #5: Sun Oct 6 17:00:42 CDT 2002 charles@x18y240.angelo.edu:/usr/obj/usr/src/sys/X18Y240 i386

	Vanilla -STABLE installation, kernel, world, and ports all updated
	on Oct 6.
>Description:
	The xrolo port fails to build, complaining about previous
	declarations of calloc and malloc.  Here is the result:

===>   Returning to build of xrolo-2.6
===>   xrolo-2.6 depends on shared library: X11.6 - found
===>  Patching for xrolo-2.6
===>  Applying FreeBSD patches for xrolo-2.6
===>  Configuring for xrolo-2.6
mv -f Makefile Makefile.bak
imake -DUseInstalled -I/usr/X11R6/lib/X11/config
make Makefiles
make includes
make depend
rm -f .depend
gccmakedep -f-  -- -I$OPENWINHOME/include  -I/usr/X11R6/include    -DCSRG_BASED 
 -DFUNCPROTO=15 -DNARROWPROTO   -DSTANDALONE -DMAILER=\"/usr/bin/mail\" -DVERSIO
N=\"2.0\"               -DDONT_USE_MALLOC_LIST  -DUSE_MAKEDEPEND -- main.c panel
.c cards.c popup.c send_mail.c soundex.c phone.c > .depend
===>  Building for xrolo-2.6
cc -O -pipe       -I$OPENWINHOME/include  -I/usr/X11R6/include    -DCSRG_BASED  
-DFUNCPROTO=15 -DNARROWPROTO   -DSTANDALONE -DMAILER=\"/usr/bin/mail\" -DVERSION
=\"2.0\"                -DDONT_USE_MALLOC_LIST  -c main.c
main.c:69: conflicting types for `calloc'
/usr/include/stdlib.h:94: previous declaration of `calloc'
main.c:69: conflicting types for `malloc'
/usr/include/stdlib.h:101: previous declaration of `malloc'
*** Error code 1

Stop in /usr/ports/deskutils/xrolo/work/xrolo.
*** Error code 1

Stop in /usr/ports/deskutils/xrolo.


>How-To-Repeat:
	Go to /usr/ports/deskutils/xrolo and type "make install clean"
A
	as root.
>Fix:

	


>Release-Note:
>Audit-Trail:

From: Adam Weinberger <adam@vectors.cx>
To: Charles Allen <charles.allen@angelo.edu>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: ports/43772: xrolo port fails to build
Date: Mon, 7 Oct 2002 11:07:16 -0700

 fix is this patch, which patches ${FILESDIR}/patch-ab.
 
 
 --- patch-ab.orig	Sun Jan 17 20:16:21 1999
 +++ patch-ab	Mon Oct  7 10:43:50 2002
 @@ -17,6 +17,25 @@
    #include <xview/xview.h>
    #include <xview/panel.h>
    #include <xview/textsw.h>
 +***************
 +*** 65,72 ****
 +  
 +  extern void		init_rolo ();
 +  
 +! extern char		*check_args (), *getenv (), *strcpy (),
 +! 			*calloc (), *malloc ();
 +  
 +  extern char             *exp_fname();
 +  
 +--- 65,72 ----
 +  
 +  extern void		init_rolo ();
 +  
 +! extern char		*check_args (), *getenv (), *strcpy ();/*,
 +! 			*calloc (), *malloc ();*/
 +  
 +  extern char             *exp_fname();
 +  
  ***************
  *** 320,323 ****
    
Responsible-Changed-From-To: freebsd-ports->adamw 
Responsible-Changed-By: adamw 
Responsible-Changed-When: Sat Oct 19 15:09:17 PDT 2002 
Responsible-Changed-Why:  
I'll take care of this problem. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43772 
State-Changed-From-To: open->feedback 
State-Changed-By: adamw 
State-Changed-When: Mon Oct 21 03:59:22 PDT 2002 
State-Changed-Why:  
Waiting for approval from maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43772 
State-Changed-From-To: feedback->closed 
State-Changed-By: lkoeller 
State-Changed-When: Sun Nov 3 13:47:48 PST 2002 
State-Changed-Why:  
o Necessary patches are applied and correct build verified. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=43772 
>Unformatted:
