Files
gentoo/sys-apps/dchroot/files/dchroot-0.12.1-make.patch
Ionen Wolkens 0e6e22c8ba 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>
2022-10-15 16:06:45 -04:00

17 lines
348 B
Diff

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