summaryrefslogtreecommitdiff
path: root/sys-apps/dchroot/files/dchroot-0.12.1-no-werror.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/dchroot/files/dchroot-0.12.1-no-werror.patch')
-rw-r--r--sys-apps/dchroot/files/dchroot-0.12.1-no-werror.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-apps/dchroot/files/dchroot-0.12.1-no-werror.patch b/sys-apps/dchroot/files/dchroot-0.12.1-no-werror.patch
new file mode 100644
index 000000000000..4cd270190456
--- /dev/null
+++ b/sys-apps/dchroot/files/dchroot-0.12.1-no-werror.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/824542
+https://bugs.gentoo.org/722920
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -3,7 +3,7 @@ mandir = ${prefix}/share/man
+ sysconfdir = $(DESTDIR)/etc
+
+ INSTALL=install
+-CFLAGS=-Wl,-z,now @CFLAGS@ @LDFLAGS@ -Wall -Wstrict-prototypes -Werror -g \
++CFLAGS=-Wl,-z,now @CFLAGS@ @LDFLAGS@ -Wall -Wstrict-prototypes \
+ -DDCHROOT_VERSION="\"@DCHROOT_VERSION@\""
+
+ all: dchroot docs