From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jun 5 14:40:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.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 BAB1BAD2 for ; Wed, 5 Jun 2013 14:40:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 9D2A91CDA for ; Wed, 5 Jun 2013 14:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r55Ee0oc054649 for ; Wed, 5 Jun 2013 14:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r55Ee0gB054648; Wed, 5 Jun 2013 14:40:00 GMT (envelope-from gnats) Resent-Date: Wed, 5 Jun 2013 14:40:00 GMT Resent-Message-Id: <201306051440.r55Ee0gB054648@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Florent Peterschmitt 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 ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/179333: devel/sdl12 build fail -> xors _XData32 declaration mismatch X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2013 14:40:00 -0000 >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: