We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4873 - [Patch] Fix SDL_hidapi.c compilation on Linux
Summary: [Patch] Fix SDL_hidapi.c compilation on Linux
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: joystick (show other bugs)
Version: HG 2.0
Hardware: All Linux
: P2 major
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-23 21:59 UTC by Ethan Lee
Modified: 2019-12-03 14:59 UTC (History)
0 users

See Also:


Attachments
Patch to fix Linux SDL_hidapi compilation (5.10 KB, patch)
2019-11-23 21:59 UTC, Ethan Lee
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ethan Lee 2019-11-23 21:59:45 UTC
Created attachment 4067 [details]
Patch to fix Linux SDL_hidapi compilation

The latest Hg revision breaks compilation for the OS hid and libusb hid hybrid wrapper. Now that linux/hid.c does the work of dynamically loading udev, we can simply remove it from SDL_hidapi.c. Attached is the patch that does exactly this.
Comment 1 Ethan Lee 2019-12-03 14:59:36 UTC
The breaking change was backed out by https://hg.libsdl.org/SDL/rev/fcb5afd26d62