FreeBSD Bugzilla – Attachment 226141 Details for
Bug 256912
emulators/yuzu-qt5: build fails when pkgconf is present
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Do not use pkgconf to find libusb for FreeBSD
yuzu.diff (text/plain), 863 bytes, created by
Jung-uk Kim
on 2021-06-30 19:56:23 UTC
(
hide
)
Description:
Do not use pkgconf to find libusb for FreeBSD
Filename:
MIME Type:
Creator:
Jung-uk Kim
Created:
2021-06-30 19:56:23 UTC
Size:
863 bytes
patch
obsolete
>--- emulators/yuzu/files/patch-libusb.orig 2021-06-30 15:44:17.417073000 -0400 >+++ emulators/yuzu/files/patch-libusb 2021-06-30 14:59:43.000000000 -0400 >@@ -0,0 +1,22 @@ >+--- CMakeLists.txt.orig 2021-06-28 18:51:49 UTC >++++ CMakeLists.txt >+@@ -423,11 +423,15 @@ endif() >+ >+ # Ensure libusb is properly configured (based on dolphin libusb include) >+ if(NOT APPLE AND NOT YUZU_USE_BUNDLED_LIBUSB) >+- include(FindPkgConfig) >+- if (PKG_CONFIG_FOUND) >+- pkg_check_modules(LIBUSB QUIET libusb-1.0>=1.0.24) >+- else() >++ if (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD") >+ find_package(LibUSB) >++ else() >++ include(FindPkgConfig) >++ if (PKG_CONFIG_FOUND) >++ pkg_check_modules(LIBUSB QUIET libusb-1.0>=1.0.24) >++ else() >++ find_package(LibUSB) >++ endif() >+ endif() >+ >+ if (LIBUSB_FOUND)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 256912
: 226141