Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jun 2013 14:39:20 GMT
From:      Florent Peterschmitt <florent@peterschmitt.fr>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/179333: devel/sdl12 build fail -> xors _XData32 declaration mismatch
Message-ID:  <201306051439.r55EdKe9061773@oldred.freebsd.org>
Resent-Message-ID: <201306051440.r55Ee0gB054648@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         179333
>Category:       ports
>Synopsis:       devel/sdl12 build fail -> xors _XData32 declaration mismatch
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 05 14:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306051439.r55EdKe9061773>