kamailio: bump to 5.6.2
[feed/telephony.git] / net / kamailio / patches / 140-redis_use_pkg-config.patch
index 86e7d7bfa46bd9efe271f2029ab1e57c86b19da9..cbcaca1d3528181bbca93c6b3ba2a8247210cb0f 100644 (file)
@@ -15,7 +15,7 @@
        HIREDISDEFS=-I$(LOCALBASE)/include
 --- a/src/modules/db_redis/Makefile
 +++ b/src/modules/db_redis/Makefile
-@@ -5,12 +5,10 @@ include ../../Makefile.defs
+@@ -5,7 +5,6 @@ include ../../Makefile.defs
  auto_gen=
  NAME=db_redis.so
  
  HIREDIS_BUILDER = $(shell \
        if pkg-config --exists hiredis; then \
                echo 'pkg-config hiredis'; \
+@@ -16,8 +15,6 @@ HIREDIS_CLUSTER_BUILDER = $(shell \
+               echo 'pkg-config hiredis_cluster'; \
        fi)
--endif
  
+-endif
+-
  ifeq ($(HIREDIS_BUILDER),)
        HIREDISDEFS=-I$(LOCALBASE)/include -I$(LOCALBASE)/include/hiredis -I/usr/include/hiredis
+       HIREDISLIBS=-L$(LOCALBASE)/lib -lhiredis
 --- a/src/modules/ndb_redis/Makefile
 +++ b/src/modules/ndb_redis/Makefile
 @@ -5,12 +5,10 @@ include ../../Makefile.defs