1 |
commit: 53531cafc4e6fb29eff0f86ede4bcd5b3c5df154 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Dec 1 15:49:06 2017 +0000 |
4 |
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 5 16:02:12 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53531caf |
7 |
|
8 |
app-forensics/sleuthkit: remove unused patch |
9 |
|
10 |
.../sleuthkit/files/sleuthkit-4.4.2-c89-fix.patch | 29 ---------------------- |
11 |
1 file changed, 29 deletions(-) |
12 |
|
13 |
diff --git a/app-forensics/sleuthkit/files/sleuthkit-4.4.2-c89-fix.patch b/app-forensics/sleuthkit/files/sleuthkit-4.4.2-c89-fix.patch |
14 |
deleted file mode 100644 |
15 |
index 5d4f91e98b9..00000000000 |
16 |
--- a/app-forensics/sleuthkit/files/sleuthkit-4.4.2-c89-fix.patch |
17 |
+++ /dev/null |
18 |
@@ -1,29 +0,0 @@ |
19 |
-From 7caca2f8be471be337f7aea70cd900164bf070eb Mon Sep 17 00:00:00 2001 |
20 |
-From: Gokturk Yuksek <gokturk@g.o> |
21 |
-Date: Tue, 15 Aug 2017 21:04:24 -0400 |
22 |
-Subject: [PATCH] tsk/img/aff: loop initial declarations are not allowed in C89 |
23 |
- |
24 |
-Declaring an integer inside a for loop as in for(int i;;) is not |
25 |
-allowed in C89 and causes a build failure. Fix it by declaring the |
26 |
-variable just before the for loop. |
27 |
---- |
28 |
- tsk/img/aff.c | 3 ++- |
29 |
- 1 file changed, 2 insertions(+), 1 deletion(-) |
30 |
- |
31 |
-diff --git a/tsk/img/aff.c b/tsk/img/aff.c |
32 |
-index fd9c4ff..a832bfb 100644 |
33 |
---- a/tsk/img/aff.c |
34 |
-+++ b/tsk/img/aff.c |
35 |
-@@ -216,7 +216,8 @@ aff_close(TSK_IMG_INFO * img_info) |
36 |
- { |
37 |
- IMG_AFF_INFO *aff_info = (IMG_AFF_INFO *) img_info; |
38 |
- af_close(aff_info->af_file); |
39 |
-- for (int i = 0; i < img_info->num_img; i++) { |
40 |
-+ int i; |
41 |
-+ for (i = 0; i < img_info->num_img; i++) { |
42 |
- if (img_info->images[i]) |
43 |
- free(img_info->images[i]); |
44 |
- } |
45 |
--- |
46 |
-2.10.2 |
47 |
- |