diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-02-21 23:15:10 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-02-21 23:15:10 +0100 |
commit | bf12ff41d1483a3a7c3052783574e5ee6d66e108 (patch) | |
tree | 63ec7820c3f5dc267c9e213cd94c92a79131820f /community/ruby-rugged/fix-extconf-version-check.patch | |
parent | 753b0965d13f776141816e9fbacd56f172c65cdb (diff) | |
download | aports-bf12ff41d1483a3a7c3052783574e5ee6d66e108.tar.bz2 aports-bf12ff41d1483a3a7c3052783574e5ee6d66e108.tar.xz |
community/ruby-rugged: move from testing
Diffstat (limited to 'community/ruby-rugged/fix-extconf-version-check.patch')
-rw-r--r-- | community/ruby-rugged/fix-extconf-version-check.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/community/ruby-rugged/fix-extconf-version-check.patch b/community/ruby-rugged/fix-extconf-version-check.patch new file mode 100644 index 0000000000..30c65daaca --- /dev/null +++ b/community/ruby-rugged/fix-extconf-version-check.patch @@ -0,0 +1,11 @@ +--- a/ext/rugged/extconf.rb ++++ b/ext/rugged/extconf.rb +@@ -44,7 +44,7 @@ + + major = minor = nil + +- File.readlines(File.join(LIBGIT2_DIR, "include", "git2", "version.h")).each do |line| ++ File.readlines(File.join("/usr", "include", "git2", "version.h")).each do |line| + if !major && (matches = line.match(/^#define LIBGIT2_VER_MAJOR ([0-9]+)$/)) + major = matches[1] + next |