aboutsummaryrefslogtreecommitdiffstats
path: root/main/freeswitch/pcre.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-04-03 15:05:46 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-04-06 05:19:22 +0000
commit2147a3ccdded85b9920f7497927d05862e67707a (patch)
tree0ad6124ec5818c4cf430c2e9516d7761f33548aa /main/freeswitch/pcre.patch
parent8632337a910a4612344aad5e9f312956fa1f4d1b (diff)
downloadaports-2147a3ccdded85b9920f7497927d05862e67707a.tar.bz2
aports-2147a3ccdded85b9920f7497927d05862e67707a.tar.xz
main/freeswitch: rebuild against libressl-2.7
Diffstat (limited to 'main/freeswitch/pcre.patch')
-rw-r--r--main/freeswitch/pcre.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/freeswitch/pcre.patch b/main/freeswitch/pcre.patch
new file mode 100644
index 0000000000..54aafabdb9
--- /dev/null
+++ b/main/freeswitch/pcre.patch
@@ -0,0 +1,13 @@
+diff --git a/src/switch_regex.c b/src/switch_regex.c
+index 0531491..0435115 100644
+--- a/src/switch_regex.c
++++ b/src/switch_regex.c
+@@ -37,7 +37,7 @@ SWITCH_DECLARE(switch_regex_t *) switch_regex_compile(const char *pattern,
+ 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);
+
+ }
+