Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jul 2020 05:48:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 247905] devel/sdl20: build error
Message-ID:  <bug-247905-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247905

            Bug ID: 247905
           Summary: devel/sdl20: build error
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: amdmi3@FreeBSD.org
          Reporter: rozhuk.im@gmail.com
             Flags: maintainer-feedback?(amdmi3@FreeBSD.org)
          Assignee: amdmi3@FreeBSD.org

With HIDAPI option

...
g -isystem /usr/local/include -fno-strict-aliasing -std=3Dc99=20
-fdebug-prefix-map=3D/tmp/ports/usr/ports/devel/sdl20/work/SDL2-2.0.12=3D.
-DLIBICONV_PLUG -isystem /usr/local/include -DUSING_GENERATED_CONFIG_H
-Iinclude -I/tmp/ports/usr/ports/devel/sdl20/work/SDL2-2.0.12/include
-idirafter /tmp/ports/usr/ports/devel/sdl20/work/SDL2-2.0.12/src/video/khro=
nos=20
-mmmx -msse -msse2 -Wall -fno-strict-aliasing -fvisibility=3Dhidden
-Wdeclaration-after-statement -Werror=3Ddeclaration-after-statement=20
-I/usr/local/include -I/usr/local/include -I/usr/local/include/libdrm=20
-I/usr/local/include  -DHAVE_USBHID_H -DUSBHID_NEW
-I/tmp/ports/usr/ports/devel/sdl20/work/SDL2-2.0.12/src/hidapi/hidapi=20
-D_REENTRANT -D_THREAD_SAFE -MMD -MT build/SDL_hidapi.lo -c
/tmp/ports/usr/ports/devel/sdl20/work/SDL2-2.0.12/src/hidapi/SDL_hidapi.c -o
build/SDL_hidapi.lo
libtool: compile:  cc -O2 -pipe -O3 -pipe -funroll-loops -DSTRIP_FBSDID
-D_FORTIFY_SOURCE=3D2 -mretpoline -DLIBICONV_PLUG -fstack-protector-strong
-isystem /usr/local/include -fno-strict-aliasing -std=3Dc99
-fdebug-prefix-map=3D/tmp/ports/usr/ports/devel/sdl20/work/SDL2-2.0.12=3D.
-DLIBICONV_PLUG -isystem /usr/local/include -DUSING_GENERATED_CONFIG_H
-Iinclude -I/tmp/ports/usr/ports/devel/sdl20/work/SDL2-2.0.12/include
-idirafter /tmp/ports/usr/ports/devel/sdl20/work/SDL2-2.0.12/src/video/khro=
nos
-mmmx -msse -msse2 -Wall -fno-strict-aliasing -fvisibility=3Dhidden
-Wdeclaration-after-statement -Werror=3Ddeclaration-after-statement
-I/usr/local/include -I/usr/local/include -I/usr/local/include/libdrm
-I/usr/local/include -DHAVE_USBHID_H -DUSBHID_NEW
-I/tmp/ports/usr/ports/devel/sdl20/work/SDL2-2.0.12/src/hidapi/hidapi
-D_REENTRANT -D_THREAD_SAFE -MMD -MT build/SDL_hidapi.lo -c
/tmp/ports/usr/ports/devel/sdl20/work/SDL2-2.0.12/src/hidapi/SDL_hidapi.c=20
-fPIC -DPIC -o build/.libs/SDL_hidapi.o
/tmp/ports/usr/ports/devel/sdl20/work/SDL2-2.0.12/src/hidapi/SDL_hidapi.c:1=
01:2:
error: Need a hid.c for this platform!
#error Need a hid.c for this platform!
 ^
/tmp/ports/usr/ports/devel/sdl20/work/SDL2-2.0.12/src/hidapi/SDL_hidapi.c:3=
05:5:
error: type name requires a specifier or qualifier
    F(hid_write);
    ^
/tmp/ports/usr/ports/devel/sdl20/work/SDL2-2.0.12/src/hidapi/SDL_hidapi.c:3=
04:14:
note: expanded from macro 'F'
#define F(x) typeof(x) *x
             ^
/tmp/ports/usr/ports/devel/sdl20/work/SDL2-2.0.12/src/hidapi/SDL_hidapi.c:3=
05:7:
error: a parameter list without types is only allowed in a function definit=
ion
    F(hid_write);
      ^
....

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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