pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/ruby-rugged/patches devel/ruby-rugged: add a pat...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b8cb958561ed
branches: trunk
changeset: 384677:b8cb958561ed
user: taca <taca%pkgsrc.org@localhost>
date: Sat Sep 03 15:06:52 2022 +0000
description:
devel/ruby-rugged: add a patch file
Add a patch file missed from previous commit.
diffstat:
devel/ruby-rugged/patches/patch-ext_rugged_extconf.rb | 21 +++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
diffs (25 lines):
diff -r 6b7ac22d3d7e -r b8cb958561ed devel/ruby-rugged/patches/patch-ext_rugged_extconf.rb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-rugged/patches/patch-ext_rugged_extconf.rb Sat Sep 03 15:06:52 2022 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-ext_rugged_extconf.rb,v 1.1 2022/09/03 15:06:52 taca Exp $
+
+More general match.
+
+--- ext/rugged/extconf.rb.orig 2022-07-30 14:13:40.613688545 +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 ([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
Home |
Main Index |
Thread Index |
Old Index