summaryrefslogtreecommitdiff
path: root/dev-ruby/hiredis/files/hiredis-0.6.1-unvendor-hiredis.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/hiredis/files/hiredis-0.6.1-unvendor-hiredis.patch')
-rw-r--r--dev-ruby/hiredis/files/hiredis-0.6.1-unvendor-hiredis.patch6
1 files changed, 3 insertions, 3 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
index e8fb1f9ffa62..885d6d15819e 100644
--- a/dev-ruby/hiredis/files/hiredis-0.6.1-unvendor-hiredis.patch
+++ b/dev-ruby/hiredis/files/hiredis-0.6.1-unvendor-hiredis.patch
@@ -1,5 +1,5 @@
---- 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
+--- a/ext/hiredis_ext/extconf.rb
++++ b/ext/hiredis_ext/extconf.rb
@@ -27,15 +27,8 @@
end
@@ -13,7 +13,7 @@
- # 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
++ $CFLAGS << ' ' << `${PKG_CONFIG} hiredis --cflags-only-I`.chomp
+ $LDFLAGS << ' -lhiredis'
have_func("rb_thread_fd_select")