Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 477730 - media-libs/libsdl-1.2.15-r4: build fails on Gentoo/FreeBSD, with USE=joystick
Summary: media-libs/libsdl-1.2.15-r4: build fails on Gentoo/FreeBSD, with USE=joystick
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-22 11:52 UTC by Yuta SATOH
Modified: 2015-02-15 22:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuta SATOH 2013-07-22 11:52:20 UTC
The following message is displayed and fails to compile.

This issue has been fixed in the upstream.
Please add the patch.
http://hg.libsdl.org/SDL/raw-rev/62ff1c0a103f


libtool: compile:  x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -DXTHREADS -DHAVE_USBHID_H -DUSBHID_NEW -D_REENTRANT -D_THREAD_SAFE -Wall -c ./src/thread/pthread/SDL_systhread.c  -fPIC -DPIC -o build/.libs/SDL_systhread.o
./src/joystick/bsd/SDL_sysjoystick.c: In function 'SDL_SYS_JoystickUpdate':
./src/joystick/bsd/SDL_sysjoystick.c:462:28: error: 'struct usb_gen_descriptor' has no member named 'ucr_data'
./src/joystick/bsd/SDL_sysjoystick.c:486:30: error: 'struct usb_gen_descriptor' has no member named 'ucr_data'
./src/joystick/bsd/SDL_sysjoystick.c:494:30: error: 'struct usb_gen_descriptor' has no member named 'ucr_data'
./src/joystick/bsd/SDL_sysjoystick.c:502:30: error: 'struct usb_gen_descriptor' has no member named 'ucr_data'
./src/joystick/bsd/SDL_sysjoystick.c: In function 'report_alloc':
./src/joystick/bsd/SDL_sysjoystick.c:585:48: error: 'struct usb_gen_descriptor' has no member named 'ucr_data'
gmake: *** [build/SDL_sysjoystick.lo] Error 1
gmake: *** Waiting for unfinished jobs....
 * ERROR: media-libs/libsdl-1.2.15-r4 failed (compile phase):




Reproducible: Always

Steps to Reproduce:
1. USE=joystick emerge media-libs/libsdl
2.
3.
Comment 1 Alexis Ballier gentoo-dev 2013-07-27 23:06:08 UTC
@games: will apply that patch unless somebody objects or beats me
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2015-02-15 22:56:27 UTC
in portage.