summaryrefslogtreecommitdiff
path: root/sys-kernel/cryptodev
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-04-10 17:26:49 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-04-10 17:26:49 +0100
commit6957f5c65b02bba533954eabc0b62f5de36be206 (patch)
tree21d8ab8f61dffd9cccc82d0badb68982516a6855 /sys-kernel/cryptodev
parente91a1aaa5ec8fab37f0fd082ac6024d41c6651e2 (diff)
gentoo resync : 10.04.2018
Diffstat (limited to 'sys-kernel/cryptodev')
-rw-r--r--sys-kernel/cryptodev/Manifest3
-rw-r--r--sys-kernel/cryptodev/cryptodev-1.9.ebuild4
-rw-r--r--sys-kernel/cryptodev/files/cryptodev-1.9-fix-build-with-4.14-629958.patch44
3 files changed, 49 insertions, 2 deletions
diff --git a/sys-kernel/cryptodev/Manifest b/sys-kernel/cryptodev/Manifest
index cca3b0e40261..e37c844250c9 100644
--- a/sys-kernel/cryptodev/Manifest
+++ b/sys-kernel/cryptodev/Manifest
@@ -1,6 +1,7 @@
+AUX cryptodev-1.9-fix-build-with-4.14-629958.patch 1481 BLAKE2B d79780ae1c89f4a32c9e6cd75d3acfa2e0ccf1a00baa2f86d52cf42d4fb0a50c50848e1bdcc667b4defd3cef530ef36e9522700fc4f457d9e909ca545312a9b6 SHA512 3afc89f9099a68688d2e1fc5558444e841971ff42268f93b01bec5173360c8c0e234ff08641422c74dff67d8928d268d3604a897150e8e2b718ff8a374f8a48e
DIST cryptodev-linux-1.7.tar.gz 52827 BLAKE2B b64b317dfae942c0323acec6cf14b4bf7c6313b60b95d925f0c1c02b1d0b55d17ee8924d5fba1a4f18c5c9b3fd24d437103159986c03dc6c6251ee05d19f17dd SHA512 b0073bc547782973587654cb14205ec624059ef46f88ed2b36236d37203f9231ffb8124489b1b2fea735eb7f89bd1011f0d1546eae7b6f562e26ec7a72a59b6c
DIST cryptodev-linux-1.9.tar.gz 54409 BLAKE2B 48427235409c792001f420c8a66ab4320457a1cf22c1bf47c8d0a40ef82491ffe64a27b7f2e7ed92f3b8b426fc8425bd15b2bf9c875bb222de8b738022adf99f SHA512 8aff822e834d7d77f2b954b3f6de22d7de9659dac27b8a185b7ca060ff4b17bd38e287bb5c19043a53f5015a3f000d31be961695152bad0fb9f55785b2753d29
EBUILD cryptodev-1.7.ebuild 1137 BLAKE2B 5089baf94476297c84e5a1ab0c0aff7bb801e1327428dc03eb5912ed13e7f472d4275d31b3e78457a0a2ee32e12220bce91f84e2e3829ee22e529a78824a19d2 SHA512 8ff5d43309c5603a8c5c3c6ba9ca7f6c93f7dbc4c436392a941794cf0a30397e73df768878380903637f43ed23f7db0ba8a506b61f65886f2eb017c5c32d4c0f
-EBUILD cryptodev-1.9.ebuild 1033 BLAKE2B dfb031a2cea190ecd2345f4962e78d080774712c602b6a6c24b21650aa4a73a5fc90fbc6fb312f357d3a84dc04e77d4cf4d952e7dd53246ad69a840e61bbbcbf SHA512 afe5b1680f3ba8f89699eb78f93e7c799ca98de878af37be817a2adfacf0bdca9a8e73e618947f01f759fe8fb254004019a53684c0e88a791f7b8ae715f02151
+EBUILD cryptodev-1.9.ebuild 1103 BLAKE2B cc59b4e0fb50af0f75450a785b0de280710debfc64500f092f232d62c45fe8a45886a20d35ee43fba67af455c512e00dfb6321b8e2b83d4c9a4b44e54b86c949 SHA512 4d42f1894211d2d978f197bd6d37583e426f90be177c88d8bebe8f138606fd15deddd5a582d60a82c56d790ca67bdab7c541fa37262188dcad4df20b8bc90e98
EBUILD cryptodev-9999.ebuild 1189 BLAKE2B 9bdd5027cafdca9dfd95eba4454ea43707bb9d00e7e6d690b2084f8947d0294c1e1a7e770804a31927bd2f8d415c4d0d740a5e0a0ea9ec44f5da4548a3508997 SHA512 afb8b8f4bd773f1a6b3f64d09f22f7586b0607bacced011b9d2451fd314a7f7bfb3a6e1024cb8d05b0fd44c73e673568763e3a11a17b1294032a31cbf6c37be8
MISC metadata.xml 360 BLAKE2B ec570cb633441235a0f888839eeb527768af36c41bfd15d585f96847c2aab439e3a905026d4a467b2e78c36af6fb2c296857392928e65bbdabd3b3fa1a6e43c9 SHA512 807fc52ffe59b350f713eefadcd4ed84bc34310a47d9f0d2079279155cc17674e341677b4d3ce3fd1d752741d2ee70d427d5948dc16bf4780a60d0dc8a33ec1c
diff --git a/sys-kernel/cryptodev/cryptodev-1.9.ebuild b/sys-kernel/cryptodev/cryptodev-1.9.ebuild
index 3f606909802d..e4e62d997e60 100644
--- a/sys-kernel/cryptodev/cryptodev-1.9.ebuild
+++ b/sys-kernel/cryptodev/cryptodev-1.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -22,6 +22,8 @@ S=${WORKDIR}/${PN}-linux-${PV}
MODULE_NAMES="cryptodev(extra:${S})"
+PATCHES="${FILESDIR}/cryptodev-1.9-fix-build-with-4.14-629958.patch"
+
pkg_pretend() {
if use kernel_linux ; then
CONFIG_CHECK="~CRYPTO ~CRYPTO_BLKCIPHER ~CRYPTO_AEAD"
diff --git a/sys-kernel/cryptodev/files/cryptodev-1.9-fix-build-with-4.14-629958.patch b/sys-kernel/cryptodev/files/cryptodev-1.9-fix-build-with-4.14-629958.patch
new file mode 100644
index 000000000000..8a78d5ec8765
--- /dev/null
+++ b/sys-kernel/cryptodev/files/cryptodev-1.9-fix-build-with-4.14-629958.patch
@@ -0,0 +1,44 @@
+From f0d69774afb27ffc62bf353465fba145e70cb85a Mon Sep 17 00:00:00 2001
+From: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
+Date: Mon, 4 Sep 2017 11:05:08 +0200
+Subject: [PATCH] ioctl.c: Fix build with linux 4.13
+
+git/ioctl.c:1127:3: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init]
+ {0, },
+ ^
+note: (near initialization for 'verbosity_ctl_dir[1]')
+git/ioctl.c:1136:3: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init]
+ {0, },
+ ^
+
+Linux kernel has added -Werror=designated-init around 4.11 (c834f0e8a8b)
+triggering build errors with gcc 5 and 6 (but not with gcc 4)
+
+Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
+Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com>
+---
+ ioctl.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/ioctl.c b/ioctl.c
+index 0385203..8d4a162 100644
+--- a/ioctl.c
++++ b/ioctl.c
+@@ -1124,7 +1124,7 @@ static struct ctl_table verbosity_ctl_dir[] = {
+ .mode = 0644,
+ .proc_handler = proc_dointvec,
+ },
+- {0, },
++ {},
+ };
+
+ static struct ctl_table verbosity_ctl_root[] = {
+@@ -1133,7 +1133,7 @@ static struct ctl_table verbosity_ctl_root[] = {
+ .mode = 0555,
+ .child = verbosity_ctl_dir,
+ },
+- {0, },
++ {},
+ };
+ static struct ctl_table_header *verbosity_sysctl_header;
+ static int __init init_cryptodev(void)