commit:     ec9ddda7922e72d5f53c5b45262d3b24f67d1b18
Author:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
AuthorDate: Tue May 26 17:58:36 2020 +0000
Commit:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
CommitDate: Tue May 26 17:58:36 2020 +0000
URL:        https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=ec9ddda7

Added two fixes to genpatches

VIDEO_TVP5150 requies REGMAP_I2C to build.  Select it by default in Kconfig.
See bug #721096. Thanks to Max Steel
sign-file: full functionality with modern LibreSSL

Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org>

 0000_README                                              |  8 ++++++++
 ...TVP5150-Fix-build-issue-by-selecting-REGMAP-I2C.patch | 10 ++++++++++
 2920_sign-file-patch-for-libressl.patch                  | 16 ++++++++++++++++
 3 files changed, 34 insertions(+)

diff --git a/0000_README b/0000_README
index 639ad9e..b0aed76 100644
--- a/0000_README
+++ b/0000_README
@@ -63,6 +63,14 @@ Patch:  
2900_tmp513-Fix-build-issue-by-selecting-CONFIG_REG.patch
 From:   https://bugs.gentoo.org/710790
 Desc:   tmp513 requies REGMAP_I2C to build.  Select it by default in Kconfig. 
See bug #710790. Thanks to Phil Stracchino
 
+Patch:  2910_TVP5150-Fix-build-issue-by-selecting-REGMAP-I2C.patch
+From:   https://bugs.gentoo.org/721096
+Desc:   VIDEO_TVP5150 requies REGMAP_I2C to build.  Select it by default in 
Kconfig. See bug #721096. Thanks to Max Steel
+
+Patch:  2920_sign-file-patch-for-libressl.patch
+From:   https://bugs.gentoo.org/717166
+Desc:   sign-file: full functionality with modern LibreSSL
+
 Patch:  4567_distro-Gentoo-Kconfig.patch
 From:   Tom Wijsman <[email protected]>
 Desc:   Add Gentoo Linux support config settings and defaults.

diff --git a/2910_TVP5150-Fix-build-issue-by-selecting-REGMAP-I2C.patch 
b/2910_TVP5150-Fix-build-issue-by-selecting-REGMAP-I2C.patch
new file mode 100644
index 0000000..1bc058e
--- /dev/null
+++ b/2910_TVP5150-Fix-build-issue-by-selecting-REGMAP-I2C.patch
@@ -0,0 +1,10 @@
+--- a/drivers/media/i2c/Kconfig        2020-05-13 12:38:05.102903309 -0400
++++ b/drivers/media/i2c/Kconfig        2020-05-13 12:38:51.283171977 -0400
+@@ -378,6 +378,7 @@ config VIDEO_TVP514X
+ config VIDEO_TVP5150
+       tristate "Texas Instruments TVP5150 video decoder"
+       depends on VIDEO_V4L2 && I2C
++      select REGMAP_I2C
+       select V4L2_FWNODE
+       help
+         Support for the Texas Instruments TVP5150 video decoder.

diff --git a/2920_sign-file-patch-for-libressl.patch 
b/2920_sign-file-patch-for-libressl.patch
new file mode 100644
index 0000000..e6ec017
--- /dev/null
+++ b/2920_sign-file-patch-for-libressl.patch
@@ -0,0 +1,16 @@
+--- a/scripts/sign-file.c      2020-05-20 18:47:21.282820662 -0400
++++ b/scripts/sign-file.c      2020-05-20 18:48:37.991081899 -0400
+@@ -41,9 +41,10 @@
+  * signing with anything other than SHA1 - so we're stuck with that if such is
+  * the case.
+  */
+-#if defined(LIBRESSL_VERSION_NUMBER) || \
+-      OPENSSL_VERSION_NUMBER < 0x10000000L || \
+-      defined(OPENSSL_NO_CMS)
++#if defined(OPENSSL_NO_CMS) || \
++      ( defined(LIBRESSL_VERSION_NUMBER) \
++      && (LIBRESSL_VERSION_NUMBER < 0x3010000fL) ) || \
++      OPENSSL_VERSION_NUMBER < 0x10000000L
+ #define USE_PKCS7
+ #endif
+ #ifndef USE_PKCS7

Reply via email to