public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/sleuthkit/files/
@ 2017-12-05 16:03 Göktürk Yüksek
  0 siblings, 0 replies; only message in thread
From: Göktürk Yüksek @ 2017-12-05 16:03 UTC (permalink / raw
  To: gentoo-commits

commit:     53531cafc4e6fb29eff0f86ede4bcd5b3c5df154
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Fri Dec  1 15:49:06 2017 +0000
Commit:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Tue Dec  5 16:02:12 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53531caf

app-forensics/sleuthkit: remove unused patch

 .../sleuthkit/files/sleuthkit-4.4.2-c89-fix.patch  | 29 ----------------------
 1 file changed, 29 deletions(-)

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
deleted file mode 100644
index 5d4f91e98b9..00000000000
--- a/app-forensics/sleuthkit/files/sleuthkit-4.4.2-c89-fix.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 7caca2f8be471be337f7aea70cd900164bf070eb Mon Sep 17 00:00:00 2001
-From: Gokturk Yuksek <gokturk@gentoo.org>
-Date: Tue, 15 Aug 2017 21:04:24 -0400
-Subject: [PATCH] tsk/img/aff: loop initial declarations are not allowed in C89
-
-Declaring an integer inside a for loop as in for(int i;;) is not
-allowed in C89 and causes a build failure. Fix it by declaring the
-variable just before the for loop.
----
- tsk/img/aff.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/tsk/img/aff.c b/tsk/img/aff.c
-index fd9c4ff..a832bfb 100644
---- a/tsk/img/aff.c
-+++ b/tsk/img/aff.c
-@@ -216,7 +216,8 @@ aff_close(TSK_IMG_INFO * img_info)
- {
-     IMG_AFF_INFO *aff_info = (IMG_AFF_INFO *) img_info;
-     af_close(aff_info->af_file);
--	for (int i = 0; i < img_info->num_img; i++) {
-+	int i;
-+	for (i = 0; i < img_info->num_img; i++) {
- 		if (img_info->images[i])
- 			free(img_info->images[i]);
- 	}
--- 
-2.10.2
-


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-12-05 16:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-05 16:03 [gentoo-commits] repo/gentoo:master commit in: app-forensics/sleuthkit/files/ Göktürk Yüksek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox