commit:     7c6908c469b50bdce26309e10f5c566d95886478
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Thu Aug 17 08:12:54 2017 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sat Sep  2 14:52:35 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c6908c4

app-misc/hexcompare: remove unused patch

 app-misc/hexcompare/files/hexcompare-1.0.1.patch | 52 ------------------------
 1 file changed, 52 deletions(-)

diff --git a/app-misc/hexcompare/files/hexcompare-1.0.1.patch 
b/app-misc/hexcompare/files/hexcompare-1.0.1.patch
deleted file mode 100644
index 8971a5e2c70..00000000000
--- a/app-misc/hexcompare/files/hexcompare-1.0.1.patch
+++ /dev/null
@@ -1,52 +0,0 @@
---- hexcompare-101/gui.c
-+++ hexcompare-101/gui.c
-@@ -39,7 +39,7 @@
- {                 
-       // With a given offset, calculate which element it corresponds to
-       // in the offset_index.            
--      int i, current_block;                       
-+      int i, current_block = 0;                       
-       for (i = 0; i < total_blocks; i++) {
-               
-               // Go block by block, and see if our offset is greater than
-@@ -62,7 +62,7 @@
-       char offset_query[32];
-       char offset_line[32];
-       int offset_size = 0;
--      int previous_size, current_size, i;
-+      int previous_size, current_size = 0, i;
-       int redo_loop = false; 
-       
-       // Endless loop until we figure out an offset size that is constant
-@@ -533,10 +533,6 @@
-       
-       // Create variables.
-       int i, j;
--      bool active_declared = false;
--      int offset_string_length = 0;
--      unsigned long temp_offset;
--      char offset_line[32];
-       
-       // Define colors block diagram.
-       init_pair(BLOCK_SAME,      COLOR_WHITE, COLOR_BLUE);
-@@ -621,12 +617,6 @@
-       // 
-       // 
-       
--      // Create variables.
--      int i, j;
--      bool active_declared = false;
--      int offset_string_length = 0;
--      unsigned long temp_offset;
--      
-       // Define colors block diagram.
-       init_pair(BLOCK_SAME,      COLOR_WHITE, COLOR_BLUE);
-       init_pair(BLOCK_DIFFERENT, COLOR_WHITE, COLOR_RED);  
-@@ -753,7 +743,6 @@
-       while((key_pressed = wgetch(main_window)) != 'q')
-       {       
-               int rows; 
--              int bytes_per_row = (width - SIDE_MARGIN*2) * bytes_per_block;
-               if (mode == OVERVIEW_MODE) rows = 5; else rows = height - 5;
-               
-               switch(key_pressed)

Reply via email to