diff options
| author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2023-02-19 08:46:05 +0000 |
|---|---|---|
| committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2023-02-19 08:47:12 +0000 |
| commit | 7cae9ac1f354a5af2066d68df6f313d59609281c (patch) | |
| tree | 3300a374d8191f0169f270026cefaac0432c1f42 /databases/ruby-bdb | |
| parent | 4195a922961b855e816a89656332012ff297ea02 (diff) | |
Diffstat (limited to 'databases/ruby-bdb')
| -rw-r--r-- | databases/ruby-bdb/files/patch-src-extconf.rb | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/databases/ruby-bdb/files/patch-src-extconf.rb b/databases/ruby-bdb/files/patch-src-extconf.rb index d3603baf22d7..3316c19a29bf 100644 --- a/databases/ruby-bdb/files/patch-src-extconf.rb +++ b/databases/ruby-bdb/files/patch-src-extconf.rb @@ -1,6 +1,6 @@ --- src/extconf.rb.orig 2011-04-06 19:35:39 UTC +++ src/extconf.rb -@@ -36,16 +36,16 @@ end +@@ -36,16 +36,16 @@ if unknown = enable_config("unknown") if unknown = enable_config("unknown") libs = if CONFIG.key?("LIBRUBYARG_STATIC") @@ -21,7 +21,15 @@ when /solaris2/ $DLDFLAGS ||= "" $DLDFLAGS += " -R#{lib_dir}" -@@ -63,10 +63,12 @@ end +@@ -53,6 +53,7 @@ $CFLAGS += " -DBDB_NO_THREAD_COMPILE" if enable_config + $bdb_libdir = lib_dir + + $CFLAGS += " -DBDB_NO_THREAD_COMPILE" if enable_config("thread") == false ++$CFLAGS += " -Wno-int-conversion" + + unique = with_config("db-uniquename") || '' + +@@ -63,10 +64,12 @@ if csv = with_config('db-version') if csv = with_config('db-version') version = csv.split(',', -1) version << '' if version.empty? @@ -36,7 +44,7 @@ else if m[2] major, minor = m[2], m[3] -@@ -94,7 +96,7 @@ catch(:done) do +@@ -94,7 +97,7 @@ catch(:done) do end next if with_ver.empty? if !unique.is_a?(String) || unique.empty? |
