summaryrefslogtreecommitdiff
path: root/sys-apps/dchroot/files/dchroot-0.12.1-make.patch
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-10-15 12:18:21 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-10-15 16:06:45 -0400
commit0e6e22c8bad9b2757363f0855b5e1b8f7f3a8ae7 (patch)
treec5e6d12646315681483c8a537963efe5ce324fc1 /sys-apps/dchroot/files/dchroot-0.12.1-make.patch
parentba6b4630d2b4cc294a3057b1f4770650bcb12c87 (diff)
downloadgentoo-0e6e22c8bad9b2757363f0855b5e1b8f7f3a8ae7.tar.gz
gentoo-0e6e22c8bad9b2757363f0855b5e1b8f7f3a8ae7.tar.bz2
gentoo-0e6e22c8bad9b2757363f0855b5e1b8f7f3a8ae7.zip
sys-apps/dchroot: EAPI6->8, run eautoreconf for clang16
Also: * remake patch, was done on top of the sed (now removed) and they changed the same line making this kind of messy. * respect CPPFLAGS * GPL-2 -> GPL-2+ * remove dead urls, debian doesn't seem to have this anymore? (probably not very useful to keep here either) Closes: https://bugs.gentoo.org/874318 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'sys-apps/dchroot/files/dchroot-0.12.1-make.patch')
-rw-r--r--sys-apps/dchroot/files/dchroot-0.12.1-make.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/sys-apps/dchroot/files/dchroot-0.12.1-make.patch b/sys-apps/dchroot/files/dchroot-0.12.1-make.patch
new file mode 100644
index 000000000000..1c6be7a65c91
--- /dev/null
+++ b/sys-apps/dchroot/files/dchroot-0.12.1-make.patch
@@ -0,0 +1,16 @@
+https://bugs.gentoo.org/722920
+https://bugs.gentoo.org/824542
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -4,8 +4,9 @@
+
+ INSTALL=install
+-CFLAGS=-Wl,-z,now -O2 -Wall -Wstrict-prototypes -Werror -g \
++CC := @CC@
++CFLAGS := @CFLAGS@ @CPPFLAGS@ @LDFLAGS@ \
+ -DDCHROOT_VERSION="\"@DCHROOT_VERSION@\""
+
+-all: dchroot
++all: dchroot docs
+
+ docs: dchroot.1