mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
cad/horizon-eda: update to 2.7.2
Initial diff by Thomas <tom.longshine@web.de>, tweak and ok by me and ok tb@.
This commit is contained in:
@@ -2,9 +2,8 @@ COMMENT = electronic design automation package
|
||||
|
||||
GH_ACCOUNT = horizon-eda
|
||||
GH_PROJECT = horizon
|
||||
GH_TAGNAME = v2.6.0
|
||||
GH_TAGNAME = v2.7.2
|
||||
PKGNAME = ${DISTNAME:S/horizon/horizon-eda/}
|
||||
REVISION = 3
|
||||
|
||||
CATEGORIES = cad
|
||||
|
||||
@@ -30,6 +29,7 @@ MODULES = devel/meson
|
||||
|
||||
BUILD_DEPENDS = devel/cmake/core \
|
||||
graphics/glm \
|
||||
graphics/py-cairo \
|
||||
net/cppzmq
|
||||
RUN_DEPENDS = devel/desktop-file-utils \
|
||||
x11/gtk+4,-guic
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
SHA256 (horizon-2.6.0.tar.gz) = 5+aAoFuSrIq0tqMvuOOxe8KYJF09PZIk6bP3+1W4ElY=
|
||||
SIZE (horizon-2.6.0.tar.gz) = 4358268
|
||||
SHA256 (horizon-2.7.2.tar.gz) = a2BffkxG2JSmSZfg9g66k359aNkItNcVzS3eM2S9eaI=
|
||||
SIZE (horizon-2.7.2.tar.gz) = 4373492
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
From 3b6b783db797b593119756821c04ac64b66b7ffa Mon Sep 17 00:00:00 2001
|
||||
From: "Lukas K." <lu@0x83.eu>
|
||||
Date: Sun, 20 Oct 2024 21:41:00 +0200
|
||||
Subject: [PATCH] make it build with libgit 1.8.2
|
||||
|
||||
Index: src/pool-prj-mgr/pool-mgr/pool_git_box.cpp
|
||||
--- src/pool-prj-mgr/pool-mgr/pool_git_box.cpp.orig
|
||||
+++ src/pool-prj-mgr/pool-mgr/pool_git_box.cpp
|
||||
@@ -631,7 +631,7 @@ void PoolGitBox::handle_pr()
|
||||
git_signature_default(&signature.ptr, repo);
|
||||
|
||||
git_oid new_commit_oid;
|
||||
-#if (LIBGIT2_VER_MAJOR == 1) && (LIBGIT2_VER_MINOR == 8)
|
||||
+#if (LIBGIT2_VER_MAJOR == 1) && (LIBGIT2_VER_MINOR == 8) && (LIBGIT2_VER_REVISION < 2)
|
||||
std::array<git_commit *, 2> parents;
|
||||
#else
|
||||
std::array<const git_commit *, 2> parents;
|
||||
@@ -1,26 +0,0 @@
|
||||
From 3b6b783db797b593119756821c04ac64b66b7ffa Mon Sep 17 00:00:00 2001
|
||||
From: "Lukas K." <lu@0x83.eu>
|
||||
Date: Sun, 20 Oct 2024 21:41:00 +0200
|
||||
Subject: [PATCH] make it build with libgit 1.8.2
|
||||
|
||||
Index: src/pool-prj-mgr/pool-mgr/pool_remote_box.cpp
|
||||
--- src/pool-prj-mgr/pool-mgr/pool_remote_box.cpp.orig
|
||||
+++ src/pool-prj-mgr/pool-mgr/pool_remote_box.cpp
|
||||
@@ -1137,7 +1137,7 @@ void PoolRemoteBox::create_pr_thread()
|
||||
|
||||
autofree_ptr<git_commit> parent_commit(git_commit_free);
|
||||
git_commit_lookup(&parent_commit.ptr, repo, &parent_oid);
|
||||
-#if (LIBGIT2_VER_MAJOR == 1) && (LIBGIT2_VER_MINOR == 8)
|
||||
+#if (LIBGIT2_VER_MAJOR == 1) && (LIBGIT2_VER_MINOR == 8) && (LIBGIT2_VER_REVISION < 2)
|
||||
git_commit *parent_commit_p = parent_commit.ptr;
|
||||
#else
|
||||
const git_commit *parent_commit_p = parent_commit.ptr;
|
||||
@@ -1287,7 +1287,7 @@ void PoolRemoteBox::update_pr_thread()
|
||||
throw std::runtime_error("error getting default signature");
|
||||
}
|
||||
|
||||
-#if (LIBGIT2_VER_MAJOR == 1) && (LIBGIT2_VER_MINOR == 8)
|
||||
+#if (LIBGIT2_VER_MAJOR == 1) && (LIBGIT2_VER_MINOR == 8) && (LIBGIT2_VER_REVISION < 2)
|
||||
git_commit *parent_commit_p = latest_commit.ptr;
|
||||
#else
|
||||
const git_commit *parent_commit_p = latest_commit.ptr;
|
||||
Reference in New Issue
Block a user