diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-04-21 08:09:15 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-04-21 08:09:15 +0200 |
commit | 4cbccad2d34b3b98e10988240656f353d53b0153 (patch) | |
tree | e5bfcea3f63317dcdef08f1d5704e352acb1dfbb /dev-ruby/hiredis/files | |
parent | dev-ruby/certificate_authority: cleanup (diff) | |
download | gentoo-4cbccad2d34b3b98e10988240656f353d53b0153.tar.gz gentoo-4cbccad2d34b3b98e10988240656f353d53b0153.tar.bz2 gentoo-4cbccad2d34b3b98e10988240656f353d53b0153.zip |
dev-ruby/hiredis: initial import of 0.6.1
New test dependency for dev-ruby/activesupport:5.2
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-ruby/hiredis/files')
-rw-r--r-- | dev-ruby/hiredis/files/hiredis-0.6.1-unvendor-hiredis.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-ruby/hiredis/files/hiredis-0.6.1-unvendor-hiredis.patch b/dev-ruby/hiredis/files/hiredis-0.6.1-unvendor-hiredis.patch new file mode 100644 index 000000000000..e8fb1f9ffa62 --- /dev/null +++ b/dev-ruby/hiredis/files/hiredis-0.6.1-unvendor-hiredis.patch @@ -0,0 +1,20 @@ +--- a/ext/hiredis_ext/extconf.rb 2015-12-29 15:53:00.000000000 +0100 ++++ b/ext/hiredis_ext/extconf.rb 2018-04-21 07:40:15.973747727 +0200 +@@ -27,15 +27,8 @@ + end + + if build_hiredis +- # Make sure hiredis is built... +- Dir.chdir(hiredis_dir) do +- success = system("#{make_program} static") +- raise "Building hiredis failed" if !success +- end +- +- # Statically link to hiredis (mkmf can't do this for us) +- $CFLAGS << " -I#{hiredis_dir}" +- $LDFLAGS << " #{hiredis_dir}/libhiredis.a" ++ $CFLAGS << ' ' << `pkg-config hiredis --cflags-only-I`.chomp ++ $LDFLAGS << ' -lhiredis' + + have_func("rb_thread_fd_select") + create_makefile('hiredis/ext/hiredis_ext') |