diff options
| author | Sebastian Kemper <sebastian_ml@gmx.net> | 2018-07-22 09:32:44 +0200 |
|---|---|---|
| committer | Sebastian Kemper <sebastian_ml@gmx.net> | 2018-07-22 11:21:57 +0200 |
| commit | add8ec104f50cda339d07bbec8bef4335873636a (patch) | |
| tree | c0ee501b2a1594b7f60314b806d9495eda104883 | |
| parent | f6f229b1f20fd172150cb3f90a5fcbb8082015ea (diff) | |
freeswitch-stable: backport pcre fix
Backport from master.
This patch is strictly speaking only needed for pcre 8.42 and up.
Add it anyway in case pcre maintainer decides to bump the version.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
| -rw-r--r-- | net/freeswitch-stable/Makefile | 2 | ||||
| -rw-r--r-- | net/freeswitch-stable/patches/350-fix-pcre-pointer-type.patch | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/net/freeswitch-stable/Makefile b/net/freeswitch-stable/Makefile index b22ef45..c416b60 100644 --- a/net/freeswitch-stable/Makefile +++ b/net/freeswitch-stable/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PRG_NAME:=freeswitch PKG_NAME:=$(PRG_NAME)-stable PKG_VERSION:=1.6.20 -PKG_RELEASE:=7 +PKG_RELEASE:=8 PKG_MAINTAINER:=Sebastian Kemper <sebastian_ml@gmx.net> PKG_SOURCE:=$(PRG_NAME)-$(PKG_VERSION).tar.xz diff --git a/net/freeswitch-stable/patches/350-fix-pcre-pointer-type.patch b/net/freeswitch-stable/patches/350-fix-pcre-pointer-type.patch new file mode 100644 index 0000000..dbbd0ff --- /dev/null +++ b/net/freeswitch-stable/patches/350-fix-pcre-pointer-type.patch @@ -0,0 +1,11 @@ +--- a/src/switch_regex.c ++++ b/src/switch_regex.c +@@ -37,7 +37,7 @@ SWITCH_DECLARE(switch_regex_t *) switch_ + int options, const char **errorptr, int *erroroffset, const unsigned char *tables) + { + +- return pcre_compile(pattern, options, errorptr, erroroffset, tables); ++ return (switch_regex_t *)pcre_compile(pattern, options, errorptr, erroroffset, tables); + + } + |
