-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mono: Add a patch to fix mapping for libusb-1.0
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
- Loading branch information
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
recipes-mono/mono/mono-6.12.0.161/0001-Add-libusb-1.0-mapping.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
From 0c992882f427b67cffd1b7577c3de86aed1a4d11 Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?Zolt=C3=A1n=20B=C3=B6sz=C3=B6rm=C3=A9nyi?= | ||
<zboszor@gmail.com> | ||
Date: Tue, 22 Oct 2024 07:36:06 +0200 | ||
Subject: [PATCH] Add libusb-1.0 mapping | ||
MIME-Version: 1.0 | ||
Content-Type: text/plain; charset=UTF-8 | ||
Content-Transfer-Encoding: 8bit | ||
|
||
This fixes using USB devices with LibUsbDotNet and MonoLibUsb. | ||
|
||
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> | ||
Upstream-Status: Submitted [https://github.com/mono/mono/pull/21807] | ||
--- | ||
data/config.in | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/data/config.in b/data/config.in | ||
index 5758a172e19..cef832756be 100644 | ||
--- a/data/config.in | ||
+++ b/data/config.in | ||
@@ -33,6 +33,7 @@ | ||
<dllmap dll="libcairo-2.dll" target="libcairo.2.dylib" os="osx"/> | ||
<dllmap dll="libcups" target="libcups.so.2" os="!windows"/> | ||
<dllmap dll="libcups" target="libcups.dylib" os="osx"/> | ||
+ <dllmap dll="libusb-1.0" target="libusb-1.0.so.0" os="!windows"/> | ||
<dllmap dll="i:kernel32.dll"> | ||
<dllentry dll="__Internal" name="CopyMemory" target="mono_win32_compat_CopyMemory"/> | ||
<dllentry dll="__Internal" name="FillMemory" target="mono_win32_compat_FillMemory"/> | ||
-- | ||
2.47.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters