alonbl      15/05/06 19:58:05

  Added:                loop-aes-3.7c-linux4.patch
  Log:
  Fix linux-4 compatibility, bug#547182, thanks to Hank Leininger
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
BF20DC51)

Revision  Changes    Path
1.1                  sys-fs/loop-aes/files/loop-aes-3.7c-linux4.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/loop-aes/files/loop-aes-3.7c-linux4.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/loop-aes/files/loop-aes-3.7c-linux4.patch?rev=1.1&content-type=text/plain

Index: loop-aes-3.7c-linux4.patch
===================================================================
>From 9b7f9272a5462e03daea0b316f9047e103866ed3 Mon Sep 17 00:00:00 2001
From: Alon Bar-Lev <alon.bar...@gmail.com>
Date: Wed, 6 May 2015 22:51:54 +0300
Subject: [PATCH] build: support linux-4

---
 loop-h-version.h   | 4 +++-
 loop.c-4.x.patched | 1 +
 loop.h-4.x.patched | 1 +
 3 files changed, 5 insertions(+), 1 deletion(-)
 create mode 120000 loop.c-4.x.patched
 create mode 120000 loop.h-4.x.patched

diff --git a/loop-h-version.h b/loop-h-version.h
index 8e6a734..84a538c 100644
--- a/loop-h-version.h
+++ b/loop-h-version.h
@@ -1,5 +1,7 @@
 #include <linux/version.h>
-#if LINUX_VERSION_CODE >= 0x30000
+#if LINUX_VERSION_CODE >= 0x40000
+# include "loop.h-4.x.patched"
+#elif LINUX_VERSION_CODE >= 0x30000
 # include "loop.h-3.x.patched"
 #elif LINUX_VERSION_CODE >= 0x20600
 # include "loop.h-2.6.patched"
diff --git a/loop.c-4.x.patched b/loop.c-4.x.patched
new file mode 120000
index 0000000..b6e51c3
--- /dev/null
+++ b/loop.c-4.x.patched
@@ -0,0 +1 @@
+loop.c-3.x.patched
\ No newline at end of file
diff --git a/loop.h-4.x.patched b/loop.h-4.x.patched
new file mode 120000
index 0000000..0924ecb
--- /dev/null
+++ b/loop.h-4.x.patched
@@ -0,0 +1 @@
+loop.h-3.x.patched
\ No newline at end of file
-- 
2.3.6





Reply via email to