commit: 3f80775fd1204bf44e4ecd41202b591e1d953e63 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Jun 11 06:01:26 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Jun 11 06:03:18 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f80775f
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 <AT> gentoo.org> .../sbsigntools/files/sbsigntools-0.9.4-no-werror.patch | 13 +++++++++++++ app-crypt/sbsigntools/sbsigntools-0.9.4.ebuild | 4 ++++ 2 files changed, 17 insertions(+) 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"