1 |
commit: 189c9e43fcd26e41ab4e8958c2d90e55246e159c |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 25 11:55:43 2015 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 25 11:56:00 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=189c9e43 |
7 |
|
8 |
net-analyzer/wireshark: Update sse4_2 patch. |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
.../wireshark/files/wireshark-2.1.0-sse4_2.patch | 20 ++++++++++++++++++++ |
13 |
net-analyzer/wireshark/wireshark-99999999.ebuild | 8 ++++---- |
14 |
2 files changed, 24 insertions(+), 4 deletions(-) |
15 |
|
16 |
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 |
17 |
new file mode 100644 |
18 |
index 0000000..1f80be9 |
19 |
--- /dev/null |
20 |
+++ b/net-analyzer/wireshark/files/wireshark-2.1.0-sse4_2.patch |
21 |
@@ -0,0 +1,20 @@ |
22 |
+--- a/configure.ac |
23 |
++++ b/configure.ac |
24 |
+@@ -1101,6 +1101,7 @@ |
25 |
+ AC_SUBST(PIE_CFLAGS) |
26 |
+ AC_SUBST(PIE_LDFLAGS) |
27 |
+ |
28 |
++AC_ARG_ENABLE(sse4_2,[ --enable-sse4_2 Support SSE4.2 (Streaming SIMD Extensions 4.2) instructions],[ |
29 |
+ WS_CHECKED_CFLAGS_before_simd="$WS_CHECKED_CFLAGS" |
30 |
+ AC_WIRESHARK_COMPILER_FLAGS_CHECK(-msse4.2, C) |
31 |
+ if test "x$can_add_to_cflags" = "xyes" |
32 |
+@@ -1132,6 +1133,9 @@ |
33 |
+ ac_sse4_2_flag=-xarch=sse4_2 |
34 |
+ fi |
35 |
+ fi |
36 |
++],[ |
37 |
++AC_MSG_RESULT(no) |
38 |
++]) |
39 |
+ |
40 |
+ # |
41 |
+ # All AC_WIRESHARK_COMPILER_FLAGS_CHECK are done, do not call it again! |
42 |
|
43 |
diff --git a/net-analyzer/wireshark/wireshark-99999999.ebuild b/net-analyzer/wireshark/wireshark-99999999.ebuild |
44 |
index 4a25e68..26e146c 100644 |
45 |
--- a/net-analyzer/wireshark/wireshark-99999999.ebuild |
46 |
+++ b/net-analyzer/wireshark/wireshark-99999999.ebuild |
47 |
@@ -13,8 +13,8 @@ LICENSE="GPL-2" |
48 |
SLOT="0/${PV}" |
49 |
KEYWORDS="" |
50 |
IUSE=" |
51 |
- adns +caps crypt doc doc-pdf geoip +gtk3 ipv6 kerberos lua +netlink +pcap |
52 |
- portaudio +qt4 qt5 sbc selinux smi cpu_flags_x86_sse4_2 ssl zlib |
53 |
+ adns +caps cpu_flags_x86_sse4_2 crypt doc doc-pdf geoip +gtk3 ipv6 kerberos |
54 |
+ lua +netlink +pcap portaudio +qt4 qt5 sbc selinux smi ssl zlib |
55 |
" |
56 |
REQUIRED_USE=" |
57 |
ssl? ( crypt ) |
58 |
@@ -97,9 +97,9 @@ src_prepare() { |
59 |
epatch \ |
60 |
"${FILESDIR}"/${PN}-1.6.13-ldflags.patch \ |
61 |
"${FILESDIR}"/${PN}-1.11.0-oldlibs.patch \ |
62 |
- "${FILESDIR}"/${PN}-1.99.0.1975-sse4_2.patch \ |
63 |
"${FILESDIR}"/${PN}-99999999-pkgconfig.patch \ |
64 |
- "${FILESDIR}"/${PN}-1.99.8-qtchooser.patch |
65 |
+ "${FILESDIR}"/${PN}-1.99.8-qtchooser.patch \ |
66 |
+ "${FILESDIR}"/${PN}-2.1.0-sse4_2.patch |
67 |
|
68 |
epatch_user |