File: dont-try-to-build-libgit2.patch

package info (click to toggle)
ruby-rugged 1.5.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,748 kB
  • sloc: ansic: 8,746; ruby: 7,464; sh: 94; makefile: 5
file content (22 lines) | stat: -rw-r--r-- 597 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: Don't try to build libgit2
Author: Cédric Boutillier <boutil@debian.org>
Last-Update: 2020-10-08

--- a/ext/rugged/extconf.rb
+++ b/ext/rugged/extconf.rb
@@ -69,13 +69,13 @@
   dir_config('git2').any? or pkg_config('libgit2')
 
 
-  try_compile(<<-SRC) or abort "libgit2 version is not compatible"
+#  try_compile(<<-SRC) or abort "libgit2 version is not compatible"
 #include <git2/version.h>
 
 #if LIBGIT2_SOVERSION != 28
 #error libgit2 version is not compatible
 #endif
-  SRC
+#  SRC
 else
   if !find_executable('cmake')
     abort "ERROR: CMake is required to build Rugged."