[Bug 247905] devel/sdl20: build error
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Jul 11 05:48:38 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247905
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 at FreeBSD.org
Reporter: rozhuk.im at gmail.com
Flags: maintainer-feedback?(amdmi3 at FreeBSD.org)
Assignee: amdmi3 at FreeBSD.org
With HIDAPI option
...
g -isystem /usr/local/include -fno-strict-aliasing -std=c99
-fdebug-prefix-map=/tmp/ports/usr/ports/devel/sdl20/work/SDL2-2.0.12=.
-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/khronos
-mmmx -msse -msse2 -Wall -fno-strict-aliasing -fvisibility=hidden
-Wdeclaration-after-statement -Werror=declaration-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 -o
build/SDL_hidapi.lo
libtool: compile: cc -O2 -pipe -O3 -pipe -funroll-loops -DSTRIP_FBSDID
-D_FORTIFY_SOURCE=2 -mretpoline -DLIBICONV_PLUG -fstack-protector-strong
-isystem /usr/local/include -fno-strict-aliasing -std=c99
-fdebug-prefix-map=/tmp/ports/usr/ports/devel/sdl20/work/SDL2-2.0.12=.
-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/khronos
-mmmx -msse -msse2 -Wall -fno-strict-aliasing -fvisibility=hidden
-Wdeclaration-after-statement -Werror=declaration-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
-fPIC -DPIC -o build/.libs/SDL_hidapi.o
/tmp/ports/usr/ports/devel/sdl20/work/SDL2-2.0.12/src/hidapi/SDL_hidapi.c:101: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:305: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:304: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:305:7:
error: a parameter list without types is only allowed in a function definition
F(hid_write);
^
....
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list