ports/devel/godot-tools/files/patch-platform_linuxbsd_libudev-so__wrap.c
Chédotal Julien 3d9903862d devel/godot-tools: fix joystick driver code
Approved by:	FreeBSD@ShaneWare.Biz
PR:		284869
MFH:		2025Q1
2025-02-21 00:27:26 +01:00

11 lines
424 B
C

--- platform/linuxbsd/libudev-so_wrap.c.orig 2025-02-19 15:17:47.002070000 +0100
+++ platform/linuxbsd/libudev-so_wrap.c 2025-02-19 15:19:37.278257000 +0100
@@ -281,7 +281,7 @@
int initialize_libudev(int verbose) {
void *handle;
char *error;
- handle = dlopen("libudev.so.1", RTLD_LAZY);
+ handle = dlopen("libudev.so.0", RTLD_LAZY);
if (!handle) {
if (verbose) {
fprintf(stderr, "%s\n", dlerror());