summaryrefslogtreecommitdiff
path: root/net/freeswitch/patches/500-libshout-deprecated.patch
diff options
context:
space:
mode:
authorSebastian Kemper <sebastian_ml@gmx.net>2023-08-18 14:23:53 +0200
committerSebastian Kemper <sebastian_ml@gmx.net>2023-08-18 14:23:56 +0200
commit999a8a9ff1df8af205dcb0d43603f316334b6592 (patch)
tree57845d530ac892cffafacae35db3f988dbf14cfc /net/freeswitch/patches/500-libshout-deprecated.patch
parentbd1a8deebe7060a80461047637b4c04ed3e096bf (diff)
freeswitch: bump to 1.10.10
- bump to 1.10.10 - remove TARGET_CFLAGS workarounds - remove BROKEN from modules av & python3 - remove 500-libshout-deprecated.patch - refresh other patches Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Diffstat (limited to 'net/freeswitch/patches/500-libshout-deprecated.patch')
-rw-r--r--net/freeswitch/patches/500-libshout-deprecated.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/net/freeswitch/patches/500-libshout-deprecated.patch b/net/freeswitch/patches/500-libshout-deprecated.patch
deleted file mode 100644
index 4bc6209..0000000
--- a/net/freeswitch/patches/500-libshout-deprecated.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-Prevent compile from failing due to mod-shout using deprecated libshout
-declarations.
-
----
-
---- a/configure.ac
-+++ b/configure.ac
-@@ -373,8 +373,20 @@ if test "$ax_cv_c_compiler_vendor" = "gn
- [ac_cv_gcc_supports_w_no_err_format_truncation=no])])
- CFLAGS="$saved_CFLAGS"
- AC_MSG_RESULT($ac_cv_gcc_supports_w_no_err_format_truncation)
-+
-+ saved_CFLAGS="$CFLAGS"
-+ AC_CACHE_CHECK([whether compiler supports -Wno-error=deprecated-declarations],
-+ [ac_cv_gcc_supports_w_no_err_deprecated_declarations], [
-+ CFLAGS="$CFLAGS -Wno-error=deprecated-declarations"
-+ AC_TRY_COMPILE([],[return 0;],
-+ [ac_cv_gcc_supports_w_no_err_deprecated_declarations=yes],
-+ [ac_cv_gcc_supports_w_no_err_deprecated_declarations=no])])
-+ CFLAGS="$saved_CFLAGS"
-+ AC_MSG_RESULT($ac_cv_gcc_supports_w_no_err_deprecated_declarations)
- fi
-
-+AM_CONDITIONAL([W_NO_ERR_DEPRECATED_DECLARATIONS], [test x$ac_cv_gcc_supports_w_no_err_deprecated_declarations = xyes])
-+
- # tweak compiler specific flags
- if test "x${ax_cv_c_compiler_vendor}" = "xsun" ; then
- APR_ADDTO(SWITCH_AM_CFLAGS, -KPIC)
---- a/src/mod/formats/mod_shout/Makefile.am
-+++ b/src/mod/formats/mod_shout/Makefile.am
-@@ -12,6 +12,10 @@ mod_shout_la_CPPFLAGS = $(CURL_CFLAGS) $
- mod_shout_la_LIBADD = $(switch_builddir)/libfreeswitch.la
- mod_shout_la_LDFLAGS = $(CURL_LIBS) -avoid-version -module -no-undefined -shared $(SHOUT_LIBS) $(MP3LAME_LIBS) $(MPG123_LIBS)
-
-+if W_NO_ERR_DEPRECATED_DECLARATIONS
-+mod_shout_la_CFLAGS += -Wno-error=deprecated-declarations
-+endif
-+
- else
- install: error
- all: error