Le Thu, Nov 07, 2024 at 08:20:56AM +0100, Antoine Jacoutot a écrit :
> On Tue, Nov 05, 2024 at 09:39:38AM -0700, Thomas Frohwein wrote:
> > CVSROOT:    /cvs
> > Module name:        ports
> > Changes by: [email protected]    2024/11/05 09:39:38
> > 
> > Modified files:
> >     devel/sdl2     : Makefile 
> > 
> > Log message:
> > Enable wayland support in sdl2. Some testing and ok landry@
> 
> This is somewhat broken.
> As you can see during the build:
> 
> cc -O2 -pipe -g -I/usr/local/include -DUSING_GENERATED_CONFIG_H -Iinclude 
> -I/exopi-obj/pobj/sdl2-2.30.9/SDL2-2.30.9/include -idirafter 
> /exopi-obj/pobj/sdl2-2.30.9/SDL2-2.30.9/src/video/khronos 
> -DSDL_BUILD_MAJOR_VERSION=2 -DSDL_BUILD_MINOR
> _VERSION=30 -DSDL_BUILD_MICRO_VERSION=9 -mmmx -m3dnow -msse -msse2 -msse3 
> -Wall -Wno-unused-local-typedefs -fno-strict-aliasing -fvisibility=hidden 
> -Wdeclaration-after-statement -Werror=declaration-after-statement 
> -I/usr/X11R6/include -I/
> usr/X11R6/include -I/usr/X11R6/include/libdrm -I/usr/X11R6/include 
> -I/usr/local/include -I/usr/local/include/libepoll-shim -Igen -DHAVE_USBHID_H 
> -DUSBHID_UCR_DATA -DUSBHID_NEW -D_REENTRANT -MMD -MT 
> build/SDL_waylanddatamanager.lo -c /exop
> i-obj/pobj/sdl2-2.30.9/SDL2-2.30.9/src/video/wayland/SDL_waylanddatamanager.c 
> -fPIC -DPIC -o build/.libs/SDL_waylanddatamanager.o
> /exopi-obj/pobj/sdl2-2.30.9/SDL2-2.30.9/src/video/wayland/SDL_waylanddatamanager.c:78:5:
>  warning: call to undeclared function 'sigtimedwait'; ISO C99 and later do 
> not support implicit function declarations [-Wimplicit-function-declaration
> ]
>     sigtimedwait(&sig_set, 0, &zerotime);

interesting, since we dont have that function..
dunno what it would need, but the few apps ive tested didnt exercise
that codepath.

so either we drop the line, or revert the commit enabling wayland ?

Landry

Reply via email to