Looks like the kbsd patch cleaned up too much :)
Without this patch, the Makefile will overwrite OS_REL_CFLAGS on i386
and strip the -D_XOPEN_SOURCE define away which is required for strdup()
I've tried to merge this into 38_kbsd.dpatch but dpatch is way too
compilicated for me. Here is a patch on top.
Please alter 38_kbsd.dpatch by this,
i.e. change "OS_REL_CFLAGS = -Di386" into "OS_REL_CFLAGS += -Di386"
You can of course add "+" character manually.
--- debian/patches/38_kbsd.dpatch
+++ debian/patches/38_kbsd.dpatch
@@ -94,7 +94,7 @@
else
ifeq (,$(filter-out i%86,$(OS_TEST)))
- OS_REL_CFLAGS = -DLINUX1_2 -Di386 -D_XOPEN_SOURCE
-+ OS_REL_CFLAGS = -Di386
++ OS_REL_CFLAGS += -Di386
CPU_ARCH = x86
-else
- OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE
Petr
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org