From raaf@luna.afraid.org  Wed Feb  1 09:16:57 2006
Return-Path: <raaf@luna.afraid.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A969816A420
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  1 Feb 2006 09:16:57 +0000 (GMT)
	(envelope-from raaf@luna.afraid.org)
Received: from gw.luna.afraid.org (lls-c-13303.adsl.wanadoo.nl [81.69.81.3])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4A99643D48
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  1 Feb 2006 09:16:55 +0000 (GMT)
	(envelope-from raaf@luna.afraid.org)
Received: by gw.luna.afraid.org (Postfix, from userid 1001)
	id ACFF568; Wed,  1 Feb 2006 10:16:53 +0100 (CET)
Message-Id: <20060201091653.ACFF568@gw.luna.afraid.org>
Date: Wed,  1 Feb 2006 10:16:53 +0100 (CET)
From: Raaf <raaf@luna.afraid.org>
Reply-To: Raaf <raaf@luna.afraid.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: xawtv fails to build when devel/libevent is installed
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         92673
>Category:       ports
>Synopsis:       multimedia/xawtv: xawtv fails to build when devel/libevent is installed
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    oliver
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 01 09:20:02 GMT 2006
>Closed-Date:    Sat Feb 11 11:25:42 GMT 2006
>Last-Modified:  Sat Feb 11 11:25:42 GMT 2006
>Originator:     Raaf
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD 6.0-RELEASE


	
>Description:
	When the devel/libevent port is installed xawtv fails to build

>How-To-Repeat:
Install devel/libevent then build xawtv:
[...]
cc -O -pipe -O -pipe -I/usr/local/include -L/usr/local/lib -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include/X11/fonts -I. -I./vbistuff -I./x11 -I./jwz -I./common -I./console -I./x11 -I./structs -I./libng -Llibng -DCONFIGFILE="/usr/X11R6/lib/X11/xawtvrc" -DLIBDIR="/usr/X11R6/lib/xawtv" -DDATADIR="/usr/X11R6/share/xawtv" -DVERSION="3.95" -fPIC -Wp,-MD,mk/x11_xt.tmp -c -o x11/xt.o x11/xt.c
x11/xt.c: In function `EventAction':
x11/xt.c:2041: error: too many arguments to function `event_dispatch'
gmake: *** [x11/xt.o] Error 1
*** Error code 2

Stop in /usr/ports/multimedia/xawtv.
	
>Fix:
	Don't know exactly how to fix it but the problem is that if devel/libevent
	is installed the header /usr/local/include/event.h is included instead of
	the event.h included with xawtv.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->petef 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Feb 1 09:24:13 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer 

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

From: Phil Oleson <poleson@verio.net>
To: bug-followup@FreeBSD.org
Cc: raaf@luna.afraid.org
Subject: Re: ports/92673 : xawtv fails to build when devel/libevent is installed
Date: Fri, 03 Feb 2006 19:14:51 -0700

 This patch isn't elegant, but it's a fix for this.
 
     -Phil.
 
 --- Makefile.old        Sat Nov 12 05:00:52 2005
 +++ Makefile    Fri Feb  3 19:09:25 2006
 @@ -34,7 +34,7 @@
  USE_XPM=       yes
  USE_X_PREFIX=  yes
  USE_REINPLACE= yes
 -CONFIGURE_ENV= LIBS="-L${PREFIX}/lib -L${LOCALBASE}/lib"
 +CONFIGURE_ENV= LIBS="-L${PREFIX}/lib -L${LOCALBASE}/lib" 
 CFLAGS="-I${WRKSRC}/common"
  MAKE_ENV=      verbose=yes
  INSTALLS_SHLIB=        yes
 
 
Responsible-Changed-From-To: petef->oliver 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Feb 6 05:08:04 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer of multimedia/xawtv. 

To submitter: adding the literal name of the port at the beginning of the 
Synopsis will help to keep PRs from being misidentified like this and thus 
being misassigned. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=92673 
State-Changed-From-To: open->closed 
State-Changed-By: oliver 
State-Changed-When: Sat Feb 11 11:25:32 UTC 2006 
State-Changed-Why:  
Fixed, Thanks! 

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