summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-06-11 07:01:26 +0100
committerSam James <sam@gentoo.org>2022-06-11 07:03:18 +0100
commit3f80775fd1204bf44e4ecd41202b591e1d953e63 (patch)
tree24db7110cb622d86638ae52c69b91744c4599f63 /app-crypt
parentmedia-sound/strawberry: Bump to version 1.0.5 (diff)
downloadgentoo-3f80775fd1204bf44e4ecd41202b591e1d953e63.tar.gz
gentoo-3f80775fd1204bf44e4ecd41202b591e1d953e63.tar.bz2
gentoo-3f80775fd1204bf44e4ecd41202b591e1d953e63.zip
app-crypt/sbsigntools: drop Werror
Closes: https://bugs.gentoo.org/832212 Bug: https://bugs.gentoo.org/845372 Bug: https://bugs.gentoo.org/828947 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/sbsigntools/files/sbsigntools-0.9.4-no-werror.patch13
-rw-r--r--app-crypt/sbsigntools/sbsigntools-0.9.4.ebuild4
2 files changed, 17 insertions, 0 deletions
diff --git a/app-crypt/sbsigntools/files/sbsigntools-0.9.4-no-werror.patch b/app-crypt/sbsigntools/files/sbsigntools-0.9.4-no-werror.patch
new file mode 100644
index 000000000000..42650929b87c
--- /dev/null
+++ b/app-crypt/sbsigntools/files/sbsigntools-0.9.4-no-werror.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/832212
+https://bugs.gentoo.org/845372
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -7,7 +7,7 @@ AM_CFLAGS = -Wall -Wextra --std=gnu99
+ common_SOURCES = idc.c idc.h image.c image.h fileio.c fileio.h \
+ efivars.h $(coff_headers)
+ common_LDADD = ../lib/ccan/libccan.a $(libcrypto_LIBS)
+-common_CFLAGS = -I$(top_srcdir)/lib/ccan/ -Werror
++common_CFLAGS = -I$(top_srcdir)/lib/ccan/
+
+ sbsign_SOURCES = sbsign.c $(common_SOURCES)
+ sbsign_LDADD = $(common_LDADD)
diff --git a/app-crypt/sbsigntools/sbsigntools-0.9.4.ebuild b/app-crypt/sbsigntools/sbsigntools-0.9.4.ebuild
index b8865b50a89d..ba90949d3bc3 100644
--- a/app-crypt/sbsigntools/sbsigntools-0.9.4.ebuild
+++ b/app-crypt/sbsigntools/sbsigntools-0.9.4.ebuild
@@ -26,6 +26,10 @@ DEPEND="${RDEPEND}
sys-libs/binutils-libs
virtual/pkgconfig"
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.9.4-no-werror.patch
+)
+
src_prepare() {
mv "${WORKDIR}"/lib/ccan "${S}"/lib || die "mv failed"
rmdir "${WORKDIR}"/lib || die "rmdir failed"