head 1.5; access; symbols pkgsrc-2026Q2:1.4.0.6 pkgsrc-2026Q2-base:1.4 pkgsrc-2026Q1:1.4.0.4 pkgsrc-2026Q1-base:1.4 pkgsrc-2025Q4:1.4.0.2 pkgsrc-2025Q4-base:1.4 pkgsrc-2025Q3:1.3.0.10 pkgsrc-2025Q3-base:1.3 pkgsrc-2025Q2:1.3.0.8 pkgsrc-2025Q2-base:1.3 pkgsrc-2025Q1:1.3.0.6 pkgsrc-2025Q1-base:1.3 pkgsrc-2024Q4:1.3.0.4 pkgsrc-2024Q4-base:1.3 pkgsrc-2024Q3:1.3.0.2 pkgsrc-2024Q3-base:1.3 pkgsrc-2023Q1:1.1.0.6 pkgsrc-2023Q1-base:1.1 pkgsrc-2022Q4:1.1.0.4 pkgsrc-2022Q4-base:1.1 pkgsrc-2022Q3:1.1.0.2 pkgsrc-2022Q3-base:1.1; locks; strict; comment @# @; 1.5 date 2026.07.07.14.10.08; author taca; state dead; branches; next 1.4; commitid 32zooS3EbfbbeJMG; 1.4 date 2025.09.22.09.12.34; author adam; state Exp; branches; next 1.3; commitid zP1FzYQZmiF1QGbG; 1.3 date 2024.09.15.16.35.00; author taca; state Exp; branches; next 1.2; commitid cMNYEsMS8VpbfVpF; 1.2 date 2023.04.29.13.39.53; author taca; state dead; branches; next 1.1; commitid Y3sSrndka9ywv0nE; 1.1 date 2022.09.03.15.06.52; author taca; state Exp; branches; next ; commitid Eog90ZRDLV5xDqSD; desc @@ 1.5 log @devel/ruby-rugged: update to 1.9.4 1.9.4 (2026-06-28) * Cherry-pick pull request #997 from libgit2/cmn/update-ci ci: update ruby and macOS versions * Cherry-pick pull request #998 from libgit2/cmn/typeddata Use `TypedData` instead of `Data` * Cherry-pick pull request #1003 from jhawthorn/typed_data Use TypedData APIs exclusively * Merge pull request #1006 from libgit2/cmn/updates-19 Update to libgit2 1.9.4 @ text @$NetBSD: patch-ext_rugged_extconf.rb,v 1.4 2025/09/22 09:12:34 adam Exp $ Fix the build with system libgit2 1.9.0 https://github.com/libgit2/rugged/pull/985 Allow different minor version with libgit2. --- ext/rugged/extconf.rb.orig 2025-09-22 08:34:21.937972643 +0000 +++ ext/rugged/extconf.rb @@@@ -71,12 +71,12 @@@@ if arg_config("--use-system-libraries", major = minor = nil File.readlines(File.join(LIBGIT2_DIR, "include", "git2", "version.h")).each do |line| - if !major && (matches = line.match(/^#define LIBGIT2_VER_MAJOR\s+([0-9]+)$/)) + if !major && (matches = line.match(/^#define LIBGIT2_VERSION_MAJOR\s+([0-9]+)$/)) major = matches[1] next end - if !minor && (matches = line.match(/^#define LIBGIT2_VER_MINOR\s+([0-9]+)$/)) + if !minor && (matches = line.match(/^#define LIBGIT2_VERSION_MINOR\s+([0-9]+)$/)) minor = matches[1] next end @@@@ -85,9 +85,9 @@@@ if arg_config("--use-system-libraries", end try_compile(<<-SRC) or abort "libgit2 version is not compatible, expected ~> #{major}.#{minor}.0" -#include +#include -#if LIBGIT2_VER_MAJOR != #{major} || LIBGIT2_VER_MINOR != #{minor} +#if LIBGIT2_VERSION_MAJOR != #{major} #error libgit2 version is not compatible #endif SRC @ 1.4 log @ruby-rugged: updated to 1.9.0 1.9.0 Unknown changes @ text @d1 1 a1 1 $NetBSD: patch-ext_rugged_extconf.rb,v 1.3 2024/09/15 16:35:00 taca Exp $ @ 1.3 log @devel/ruby-rugged: fix build with libgit2-1.8.1 Fix build problem of ruby-rugged package. * Allow different minor version with libgit2. Result of ruby-rugged's "rake test" are the same between libgit2 1.7.2 and 1.8.1. @ text @d1 1 a1 1 $NetBSD$ d3 1 d6 1 a6 1 --- ext/rugged/extconf.rb.orig 2024-09-15 16:28:35.670037810 +0000 d8 18 a25 1 @@@@ -87,7 +87,7 @@@@ if arg_config("--use-system-libraries", d27 2 a28 1 #include d31 1 a31 1 +#if LIBGIT2_VER_MAJOR != #{major} @ 1.2 log @devel/ruby-rugged: update to 1.6.3 1.6.2 (2023-03-17) * extconf: do not build libgit2 tests or CLI * Remove alloc from defined classes * walker: use TypedData_Get_Struct to retrieve the object * extconf: fix regexps for use-system-libraries * include_untracked_content -> show_untracked_content * show_untracked_content in index.rb as well * vendor: update to libgit2 v1.6.2 * better Ruby 3.2 support 1.6.3 (2023-03-27) * ext: correct pc filename * vendor: bump libgit2 to v1.6.3 @ text @d1 1 a1 1 $NetBSD: patch-ext_rugged_extconf.rb,v 1.1 2022/09/03 15:06:52 taca Exp $ d3 1 a3 1 More general match. d5 1 a5 1 --- ext/rugged/extconf.rb.orig 2022-07-30 14:13:40.613688545 +0000 d7 3 a9 2 @@@@ -71,12 +71,12 @@@@ if arg_config("--use-system-libraries", major = minor = nil d11 5 a15 12 File.readlines(File.join(LIBGIT2_DIR, "include", "git2", "version.h")).each do |line| - if !major && (matches = line.match(/^#define LIBGIT2_VER_MAJOR ([0-9]+)$/)) + if !major && (matches = line.match(/^#define LIBGIT2_VER_MAJOR[ \t]+([0-9]+)$/)) major = matches[1] next end - if !minor && (matches = line.match(/^#define LIBGIT2_VER_MINOR ([0-9]+)$/)) + if !minor && (matches = line.match(/^#define LIBGIT2_VER_MINOR[ \t]+([0-9]+)$/)) minor = matches[1] next end @ 1.1 log @devel/ruby-rugged: add a patch file Add a patch file missed from previous commit. @ text @d1 1 a1 1 $NetBSD$ @