1 |
commit: 7c6908c469b50bdce26309e10f5c566d95886478 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Aug 17 08:12:54 2017 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 2 14:52:35 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c6908c4 |
7 |
|
8 |
app-misc/hexcompare: remove unused patch |
9 |
|
10 |
app-misc/hexcompare/files/hexcompare-1.0.1.patch | 52 ------------------------ |
11 |
1 file changed, 52 deletions(-) |
12 |
|
13 |
diff --git a/app-misc/hexcompare/files/hexcompare-1.0.1.patch b/app-misc/hexcompare/files/hexcompare-1.0.1.patch |
14 |
deleted file mode 100644 |
15 |
index 8971a5e2c70..00000000000 |
16 |
--- a/app-misc/hexcompare/files/hexcompare-1.0.1.patch |
17 |
+++ /dev/null |
18 |
@@ -1,52 +0,0 @@ |
19 |
---- hexcompare-101/gui.c |
20 |
-+++ hexcompare-101/gui.c |
21 |
-@@ -39,7 +39,7 @@ |
22 |
- { |
23 |
- // With a given offset, calculate which element it corresponds to |
24 |
- // in the offset_index. |
25 |
-- int i, current_block; |
26 |
-+ int i, current_block = 0; |
27 |
- for (i = 0; i < total_blocks; i++) { |
28 |
- |
29 |
- // Go block by block, and see if our offset is greater than |
30 |
-@@ -62,7 +62,7 @@ |
31 |
- char offset_query[32]; |
32 |
- char offset_line[32]; |
33 |
- int offset_size = 0; |
34 |
-- int previous_size, current_size, i; |
35 |
-+ int previous_size, current_size = 0, i; |
36 |
- int redo_loop = false; |
37 |
- |
38 |
- // Endless loop until we figure out an offset size that is constant |
39 |
-@@ -533,10 +533,6 @@ |
40 |
- |
41 |
- // Create variables. |
42 |
- int i, j; |
43 |
-- bool active_declared = false; |
44 |
-- int offset_string_length = 0; |
45 |
-- unsigned long temp_offset; |
46 |
-- char offset_line[32]; |
47 |
- |
48 |
- // Define colors block diagram. |
49 |
- init_pair(BLOCK_SAME, COLOR_WHITE, COLOR_BLUE); |
50 |
-@@ -621,12 +617,6 @@ |
51 |
- // |
52 |
- // |
53 |
- |
54 |
-- // Create variables. |
55 |
-- int i, j; |
56 |
-- bool active_declared = false; |
57 |
-- int offset_string_length = 0; |
58 |
-- unsigned long temp_offset; |
59 |
-- |
60 |
- // Define colors block diagram. |
61 |
- init_pair(BLOCK_SAME, COLOR_WHITE, COLOR_BLUE); |
62 |
- init_pair(BLOCK_DIFFERENT, COLOR_WHITE, COLOR_RED); |
63 |
-@@ -753,7 +743,6 @@ |
64 |
- while((key_pressed = wgetch(main_window)) != 'q') |
65 |
- { |
66 |
- int rows; |
67 |
-- int bytes_per_row = (width - SIDE_MARGIN*2) * bytes_per_block; |
68 |
- if (mode == OVERVIEW_MODE) rows = 5; else rows = height - 5; |
69 |
- |
70 |
- switch(key_pressed) |