summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2015-12-25 12:55:43 +0100
committerJeroen Roovers <jer@gentoo.org>2015-12-25 12:56:00 +0100
commit189c9e43fcd26e41ab4e8958c2d90e55246e159c (patch)
treea592654189a5c19c207d40212a9393b3f0341e7c /net-analyzer/wireshark/files/wireshark-2.1.0-sse4_2.patch
parentsci-mathematics/maxima: linguas_de support (diff)
downloadgentoo-189c9e43fcd26e41ab4e8958c2d90e55246e159c.tar.gz
gentoo-189c9e43fcd26e41ab4e8958c2d90e55246e159c.tar.bz2
gentoo-189c9e43fcd26e41ab4e8958c2d90e55246e159c.zip
net-analyzer/wireshark: Update sse4_2 patch.
Package-Manager: portage-2.2.26
Diffstat (limited to 'net-analyzer/wireshark/files/wireshark-2.1.0-sse4_2.patch')
-rw-r--r--net-analyzer/wireshark/files/wireshark-2.1.0-sse4_2.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/net-analyzer/wireshark/files/wireshark-2.1.0-sse4_2.patch b/net-analyzer/wireshark/files/wireshark-2.1.0-sse4_2.patch
new file mode 100644
index 00000000000..1f80be9f4fa
--- /dev/null
+++ b/net-analyzer/wireshark/files/wireshark-2.1.0-sse4_2.patch
@@ -0,0 +1,20 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -1101,6 +1101,7 @@
+ AC_SUBST(PIE_CFLAGS)
+ AC_SUBST(PIE_LDFLAGS)
+
++AC_ARG_ENABLE(sse4_2,[ --enable-sse4_2 Support SSE4.2 (Streaming SIMD Extensions 4.2) instructions],[
+ WS_CHECKED_CFLAGS_before_simd="$WS_CHECKED_CFLAGS"
+ AC_WIRESHARK_COMPILER_FLAGS_CHECK(-msse4.2, C)
+ if test "x$can_add_to_cflags" = "xyes"
+@@ -1132,6 +1133,9 @@
+ ac_sse4_2_flag=-xarch=sse4_2
+ fi
+ fi
++],[
++AC_MSG_RESULT(no)
++])
+
+ #
+ # All AC_WIRESHARK_COMPILER_FLAGS_CHECK are done, do not call it again!