From: | "Peter Volkov (pva)" <pva@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-analyzer/wireshark/files: wireshark-0.99.8-libpcap-compile.patch |
Date: | Mon, 17 Mar 2008 01:19:26 |
Message-Id: | E1Jb40a-0004CA-2j@stork.gentoo.org |
1 | pva 08/03/17 01:19:24 |
2 | |
3 | Added: wireshark-0.99.8-libpcap-compile.patch |
4 | Log: |
5 | Missed patch added, thank steev for IRC notification. |
6 | (Portage version: 2.1.4.4) |
7 | |
8 | Revision Changes Path |
9 | 1.1 net-analyzer/wireshark/files/wireshark-0.99.8-libpcap-compile.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/wireshark/files/wireshark-0.99.8-libpcap-compile.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/wireshark/files/wireshark-0.99.8-libpcap-compile.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: wireshark-0.99.8-libpcap-compile.patch |
15 | =================================================================== |
16 | Index: gtk/packet_list.c |
17 | =================================================================== |
18 | --- gtk/packet_list.c (revision 24415) |
19 | +++ gtk/packet_list.c (revision 24416) |
20 | @@ -790,11 +790,11 @@ |
21 | if (adj->value >= adj->upper - adj->page_size) { |
22 | at_end = TRUE; |
23 | } |
24 | - |
25 | +#ifdef HAVE_LIBPCAP |
26 | if (adj->value > 0 && at_end != last_at_end && at_end != auto_scroll_live) { |
27 | menu_auto_scroll_live_changed(at_end); |
28 | } |
29 | - |
30 | +#endif |
31 | last_at_end = at_end; |
32 | return at_end; |
33 | } |
34 | Index: gtk/main.c |
35 | =================================================================== |
36 | --- gtk/main.c (revision 24415) |
37 | +++ gtk/main.c (revision 24416) |
38 | @@ -3048,9 +3048,10 @@ |
39 | packet_list_set_column_titles(); |
40 | |
41 | menu_recent_read_finished(); |
42 | +#ifdef HAVE_LIBPCAP |
43 | menu_auto_scroll_live_changed(auto_scroll_live); |
44 | +#endif |
45 | |
46 | - |
47 | switch (user_font_apply()) { |
48 | case FA_SUCCESS: |
49 | break; |
50 | |
51 | |
52 | |
53 | -- |
54 | gentoo-commits@l.g.o mailing list |