pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/ruby-rugged
Module Name: pkgsrc
Committed By: taca
Date: Sun Sep 15 16:35:00 UTC 2024
Modified Files:
pkgsrc/devel/ruby-rugged: distinfo
Added Files:
pkgsrc/devel/ruby-rugged/patches: patch-ext_rugged_extconf.rb
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/devel/ruby-rugged/distinfo
cvs rdiff -u -r0 -r1.3 \
pkgsrc/devel/ruby-rugged/patches/patch-ext_rugged_extconf.rb
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/ruby-rugged/distinfo
diff -u pkgsrc/devel/ruby-rugged/distinfo:1.27 pkgsrc/devel/ruby-rugged/distinfo:1.28
--- pkgsrc/devel/ruby-rugged/distinfo:1.27 Sat Feb 10 14:09:37 2024
+++ pkgsrc/devel/ruby-rugged/distinfo Sun Sep 15 16:34:59 2024
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.27 2024/02/10 14:09:37 taca Exp $
+$NetBSD: distinfo,v 1.28 2024/09/15 16:34:59 taca Exp $
BLAKE2s (rugged-1.7.2.gem) = ac085f3522f17a9b862e598d472084fa778144245650770928dfdc721e2cb74b
SHA512 (rugged-1.7.2.gem) = 0853deed123cb6241854141770cdeeafe56c8264f2d04cb122a799f9cdc118830a6a1a2421843c8254765a5dc0de4991e431c27ea7abda27cec78d7002c06ffa
Size (rugged-1.7.2.gem) = 1835008 bytes
+SHA1 (patch-ext_rugged_extconf.rb) = 83dba8d6f1226ad9d87a62d8db43a168073a2e26
Added files:
Index: pkgsrc/devel/ruby-rugged/patches/patch-ext_rugged_extconf.rb
diff -u /dev/null pkgsrc/devel/ruby-rugged/patches/patch-ext_rugged_extconf.rb:1.3
--- /dev/null Sun Sep 15 16:35:00 2024
+++ pkgsrc/devel/ruby-rugged/patches/patch-ext_rugged_extconf.rb Sun Sep 15 16:35:00 2024
@@ -0,0 +1,15 @@
+$NetBSD: patch-ext_rugged_extconf.rb,v 1.3 2024/09/15 16:35:00 taca Exp $
+
+Allow different minor version with libgit2.
+
+--- ext/rugged/extconf.rb.orig 2024-09-15 16:28:35.670037810 +0000
++++ ext/rugged/extconf.rb
+@@ -87,7 +87,7 @@ if arg_config("--use-system-libraries",
+ try_compile(<<-SRC) or abort "libgit2 version is not compatible, expected ~> #{major}.#{minor}.0"
+ #include <git2/version.h>
+
+-#if LIBGIT2_VER_MAJOR != #{major} || LIBGIT2_VER_MINOR != #{minor}
++#if LIBGIT2_VER_MAJOR != #{major}
+ #error libgit2 version is not compatible
+ #endif
+ SRC
Home |
Main Index |
Thread Index |
Old Index