Skip to content

Commit

Permalink
ovito: 3.11.0 -> 3.11.1 (#359535)
Browse files Browse the repository at this point in the history
  • Loading branch information
symphorien authored Dec 18, 2024
2 parents 51c976d + 28a8a3a commit 17cfee7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkgs/applications/graphics/ovito/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,16 @@

stdenv.mkDerivation rec {
pname = "ovito";
version = "3.11.0";
version = "3.11.1";

src = fetchFromGitLab {
owner = "stuko";
repo = "ovito";
rev = "v${version}";
hash = "sha256-egiA6z1e8ZS7i4CIVjsCKJP1wQSRpmSKitoVTszu0Mc=";
hash = "sha256-ulzcsFAiZDg8nABQXNB2/MS7lZdK3czGHLKgKDWS15E=";
fetchSubmodules = true;
};
patches = [ ./zstd.patch ];

nativeBuildInputs = [
cmake
Expand Down
13 changes: 13 additions & 0 deletions pkgs/applications/graphics/ovito/zstd.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/src/ovito/core/CMakeLists.txt b/src/ovito/core/CMakeLists.txt
index 1b49746a6..7fda02bf4 100755
--- a/src/ovito/core/CMakeLists.txt
+++ b/src/ovito/core/CMakeLists.txt
@@ -188,7 +188,7 @@ IF(ZLIB_FOUND)
IF(OVITO_BUILD_CONDA)
TARGET_LINK_LIBRARIES(Core PUBLIC zstd::libzstd)
ELSE()
- TARGET_LINK_LIBRARIES(Core PUBLIC zstd::libzstd_static)
+ TARGET_LINK_LIBRARIES(Core PUBLIC zstd::libzstd)
ENDIF()
# Build the zstd zlib-wrapper source files.
TARGET_INCLUDE_DIRECTORIES(Core PUBLIC "$<BUILD_INTERFACE:${OVITO_SOURCE_BASE_DIR}/src/3rdparty/zstd/zlibWrapper>")

0 comments on commit 17cfee7

Please sign in to comment.