summaryrefslogtreecommitdiffstats
path: root/tools/macos-setup-patches/spandsp-configure-patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:33 +0000
commit9f153fbfec0fb9c9ce38e749a7c6f4a5e115d4e9 (patch)
tree2784370cda9bbf2da9114d70f05399c0b229d28c /tools/macos-setup-patches/spandsp-configure-patch
parentAdding debian version 4.2.6-1. (diff)
downloadwireshark-9f153fbfec0fb9c9ce38e749a7c6f4a5e115d4e9.tar.xz
wireshark-9f153fbfec0fb9c9ce38e749a7c6f4a5e115d4e9.zip
Merging upstream version 4.4.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tools/macos-setup-patches/spandsp-configure-patch')
-rw-r--r--tools/macos-setup-patches/spandsp-configure-patch53
1 files changed, 53 insertions, 0 deletions
diff --git a/tools/macos-setup-patches/spandsp-configure-patch b/tools/macos-setup-patches/spandsp-configure-patch
new file mode 100644
index 00000000..5a898f99
--- /dev/null
+++ b/tools/macos-setup-patches/spandsp-configure-patch
@@ -0,0 +1,53 @@
+*** configure.dist 2014-06-04 07:28:14.000000000 -0700
+--- configure 2017-08-07 00:16:39.000000000 -0700
+***************
+*** 19658,19664 ****
+
+ case "${ax_cv_c_compiler_vendor}" in
+ gnu)
+! COMP_VENDOR_CFLAGS="-std=gnu99 -ffast-math -Wall -Wunused-variable -Wunused-but-set-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes $COMP_VENDOR_CFLAGS"
+ if test "$enable_avx" = "yes" ; then
+ COMP_VENDOR_CFLAGS="-mavx $COMP_VENDOR_CFLAGS"
+ fi
+--- 19658,19664 ----
+
+ case "${ax_cv_c_compiler_vendor}" in
+ gnu)
+! COMP_VENDOR_CFLAGS="-std=gnu99 -ffast-math -Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes $COMP_VENDOR_CFLAGS"
+ if test "$enable_avx" = "yes" ; then
+ COMP_VENDOR_CFLAGS="-mavx $COMP_VENDOR_CFLAGS"
+ fi
+***************
+*** 19733,19739 ****
+
+ ;;
+ intel)
+! COMP_VENDOR_CFLAGS="-std=c99 -D_POSIX_C_SOURCE=2 -D_GNU_SOURCE=1 -Wall -Wunused-variable -Wunused-but-set-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes $COMP_VENDOR_CFLAGS"
+ if test "$enable_avx" = "yes" ; then
+ COMP_VENDOR_CFLAGS="-mavx $COMP_VENDOR_CFLAGS"
+ fi
+--- 19733,19739 ----
+
+ ;;
+ intel)
+! COMP_VENDOR_CFLAGS="-std=c99 -D_POSIX_C_SOURCE=2 -D_GNU_SOURCE=1 -Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes $COMP_VENDOR_CFLAGS"
+ if test "$enable_avx" = "yes" ; then
+ COMP_VENDOR_CFLAGS="-mavx $COMP_VENDOR_CFLAGS"
+ fi
+***************
+*** 19767,19773 ****
+ COMP_VENDOR_LDFLAGS=
+ ;;
+ *)
+! COMP_VENDOR_CFLAGS="-std=c99 -Wall -Wunused-variable -Wunused-but-set-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes $COMP_VENDOR_CFLAGS"
+ COMP_VENDOR_LDFLAGS=
+ ;;
+ esac
+--- 19767,19773 ----
+ COMP_VENDOR_LDFLAGS=
+ ;;
+ *)
+! COMP_VENDOR_CFLAGS="-std=c99 -Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes $COMP_VENDOR_CFLAGS"
+ COMP_VENDOR_LDFLAGS=
+ ;;
+ esac