From nobody@FreeBSD.org  Wed Jun  5 14:39:20 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id 85CF9AC3
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  5 Jun 2013 14:39:20 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	by mx1.freebsd.org (Postfix) with ESMTP id 784071CD2
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  5 Jun 2013 14:39:20 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r55EdKWf061774
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 5 Jun 2013 14:39:20 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r55EdKe9061773;
	Wed, 5 Jun 2013 14:39:20 GMT
	(envelope-from nobody)
Message-Id: <201306051439.r55EdKe9061773@oldred.freebsd.org>
Date: Wed, 5 Jun 2013 14:39:20 GMT
From: Florent Peterschmitt <florent@peterschmitt.fr>
To: freebsd-gnats-submit@FreeBSD.org
Subject: devel/sdl12 build fail -> xors _XData32 declaration mismatch
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         179333
>Category:       ports
>Synopsis:       devel/sdl12 build fail -> xors _XData32 declaration mismatch
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mva
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 05 14:40:00 UTC 2013
>Closed-Date:    Wed Jun 05 15:08:53 UTC 2013
>Last-Modified:  Wed Jun 05 15:08:53 UTC 2013
>Originator:     Florent Peterschmitt
>Release:        9.1-STABLE
>Organization:
>Environment:
FreeBSD katana 9.1-STABLE FreeBSD 9.1-STABLE #0 r251291: Mon Jun  3 10:20:15 CEST 2013     root@katana:/usr/obj/usr/src/sys/KATANA  amd64
>Description:
libtool: compile:  cc -O2 -pipe -msse3 -I/usr/local/include -fno-strict-aliasing -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -I/usr/local/include -DXTHREADS -DHAVE_USBHID_H -DUSBHID_NEW -D_REENTRANT -D_THREAD_SAFE -Wall -c ./src/video/x11/SDL_x11dyn.c  -fPIC -DPIC -o build/.libs/SDL_x11dyn.o
In file included from ./src/video/x11/SDL_x11dyn.c:96:
./src/video/x11/SDL_x11sym.h:168: error: conflicting types for '_XData32'
/usr/local/include/X11/Xlibint.h:599: error: previous declaration of '_XData32' was here
gmake: *** [build/SDL_x11dyn.lo] Error 1
*** [do-build] Error code 1

Stop in /usr/ports/devel/sdl12.
*** [build] Error code 1

Stop in /usr/ports/devel/sdl12.
>How-To-Repeat:
cd /usr/ports/devel/sdl12
make
>Fix:
--- src/video/x11/SDL_x11sym.h   2012-01-19 07:30:06.000000000 +0100
+++ src/video/x11/SDL_x11sym.h        2013-06-05 16:33:51.114576667 +0200
@@ -165,7 +165,7 @@
  */
 #ifdef LONG64
 SDL_X11_MODULE(IO_32BIT)
-SDL_X11_SYM(int,_XData32,(Display *dpy,register long *data,unsigned len),(dpy,data,len),return)
+SDL_X11_SYM(int,_XData32,(Display *dpy,register _Xconst long *data,unsigned len),(dpy,data,len),return)
 SDL_X11_SYM(void,_XRead32,(Display *dpy,register long *data,long len),(dpy,data,len),)
 #endif

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->mva 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Jun 5 14:40:07 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=179333 
State-Changed-From-To: open->closed 
State-Changed-By: mva 
State-Changed-When: Wed Jun 5 15:08:53 UTC 2013 
State-Changed-Why:  
This has been fixed already. Please update your ports tree. Thanks for 
reporting. 

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