File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ From 611f269ab768407965311ad3be56edf912c36e95 Mon Sep 17 00:00:00 2001
2+ From: =?UTF-8?q?Zolt=C3=A1n=20B=C3=B6sz=C3=B6rm=C3=A9nyi?=
3+ <zboszor@gmail.com>
4+ Date: Tue, 22 Oct 2024 07:36:06 +0200
5+ Subject: [PATCH] Add libusb-1.0 mapping
6+ MIME-Version: 1.0
7+ Content-Type: text/plain; charset=UTF-8
8+ Content-Transfer-Encoding: 8bit
9+
10+ This fixes using USB devices with LibUsbDotNet and MonoLibUsb.
11+
12+ Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
13+ Upstream-Status: Submitted [https://github.com/mono/mono/pull/21807]
14+ ---
15+ data/config.in | 1 +
16+ 1 file changed, 1 insertion(+)
17+
18+ diff --git a/data/config.in b/data/config.in
19+ index 2718b6e9f45..66cfd55ab76 100644
20+ --- a/data/config.in
21+ +++ b/data/config.in
22+ @@ -33,6 +33,7 @@
23+ <dllmap dll="libcairo-2.dll" target="$mono_libdir/libcairo.2.dylib" os="osx" />
24+ <dllmap dll="libcups" target="libcups.so.2" os="!windows"/>
25+ <dllmap dll="libcups" target="libcups.dylib" os="osx"/>
26+ + <dllmap dll="libusb-1.0" target="libusb-1.0.so.0" os="!windows"/>
27+ <dllmap dll="i:kernel32.dll">
28+ <dllentry dll="__Internal" name="CopyMemory" target="mono_win32_compat_CopyMemory"/>
29+ <dllentry dll="__Internal" name="FillMemory" target="mono_win32_compat_FillMemory"/>
30+ - -
31+ 2.47.0
32+
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ SRC_URI = "gitsm://github.com/mono/mono.git;protocol=https;branch=2020-02 \
1111 file://shm_open-test-crosscompile.diff \
1212 file://disable-mmap-MAP_32BIT-support.patch \
1313 file://0001-Allow-passing-external-mapfile-C-build-options.patch \
14+ file://0001-Add-libusb-1.0-mapping.patch \
1415"
1516
1617
You can’t perform that action at this time.
0 commit comments