pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

prusaslicer: Recent libhidapi renamed the library to include -libusb suffix.



Module Name:	pkgsrc-wip
Committed By:	Paul Ripke <stix%stix.id.au@localhost>
Pushed By:	stix
Date:		Mon Jul 3 15:48:17 2023 +1000
Changeset:	eda714aeaadc8bc5bd6fc27844596a6995fa6da0

Modified Files:
	prusaslicer/distinfo
Added Files:
	prusaslicer/patches/patch-src_slic3r_CMakeLists.txt

Log Message:
prusaslicer: Recent libhidapi renamed the library to include -libusb suffix.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=eda714aeaadc8bc5bd6fc27844596a6995fa6da0

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 prusaslicer/distinfo                                |  1 +
 prusaslicer/patches/patch-src_slic3r_CMakeLists.txt | 15 +++++++++++++++
 2 files changed, 16 insertions(+)

diffs:
diff --git a/prusaslicer/distinfo b/prusaslicer/distinfo
index c6ded27812..d6be67709b 100644
--- a/prusaslicer/distinfo
+++ b/prusaslicer/distinfo
@@ -16,6 +16,7 @@ SHA1 (patch-src_libslic3r_Platform.hpp) = 5626058616d04396bff6c8550951d04fe03249
 SHA1 (patch-src_libslic3r_SupportSpotsGenerator.cpp) = 332b8c8f0b4b7157d856bf0424e7c92a8a950f49
 SHA1 (patch-src_libslic3r_Thread.cpp) = 8aa488b933baa97132058f88a82eef8db73ab2f5
 SHA1 (patch-src_occt__wrapper_CMakeLists.txt) = 2e11271757bcc76f3832c8fd27943f3ef97136f1
+SHA1 (patch-src_slic3r_CMakeLists.txt) = 443efdac84f6b60f6016abaf034d40b80f5c1560
 SHA1 (patch-src_slic3r_GUI_BitmapCache.cpp) = 9a464bcb09589e12de70ce57cda17f526df33b9b
 SHA1 (patch-src_slic3r_GUI_ConfigWizard.cpp) = 01e405fe0f743d3f8e2d76b987b51ff862ae6f97
 SHA1 (patch-src_slic3r_GUI_ConfigWizard.hpp) = 6eed54e08497ec1dc6fea33263ab65d2d7e0dc0d
diff --git a/prusaslicer/patches/patch-src_slic3r_CMakeLists.txt b/prusaslicer/patches/patch-src_slic3r_CMakeLists.txt
new file mode 100644
index 0000000000..e986de7261
--- /dev/null
+++ b/prusaslicer/patches/patch-src_slic3r_CMakeLists.txt
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Recent libhidapi renamed the library to include -libusb suffix.
+
+--- src/slic3r/CMakeLists.txt.orig	2023-06-19 12:07:14.000000000 +0000
++++ src/slic3r/CMakeLists.txt
+@@ -319,7 +319,7 @@ endforeach()
+ 
+ encoding_check(libslic3r_gui)
+ 
+-target_link_libraries(libslic3r_gui libslic3r avrdude libcereal imgui GLEW::GLEW OpenGL::GL hidapi libcurl ${wxWidgets_LIBRARIES} NanoSVG::nanosvg NanoSVG::nanosvgrast)
++target_link_libraries(libslic3r_gui libslic3r avrdude libcereal imgui GLEW::GLEW OpenGL::GL hidapi-libusb libcurl ${wxWidgets_LIBRARIES} NanoSVG::nanosvg NanoSVG::nanosvgrast)
+ 
+ if (MSVC)
+     target_link_libraries(libslic3r_gui Setupapi.lib)


Home | Main Index | Thread Index | Old Index