Bug#377023: xdm: FTBFS on GNU/kFreeBSD
Package: xdm
Severity: important
Version: 1:1.0.5-1
Tags: patch
Hi,
the current version fails to build on GNU/kFreeBSD.
The same problem probably also affects hurd.
It needs small tweak for configure.ac/configure.
Please find patch bellow.
It would also be nice if you can ask upstream
to include this change.
Thanks in advance
Petr
only in patch2:
unchanged:
--- xdm-1.0.5.orig/configure.ac
+++ xdm-1.0.5/configure.ac
@@ -121,7 +121,7 @@
case $host_os in
- linux*)
+ linux*|*-gnu)
OS_CFLAGS="-D_XOPEN_SOURCE"
SU="su"
;;
diff -u xdm-1.0.5/configure xdm-1.0.5/configure
--- xdm-1.0.5/configure
+++ xdm-1.0.5/configure
@@ -23376,7 +23376,7 @@
case $host_os in
- linux*)
+ linux*|*-gnu)
OS_CFLAGS="-D_XOPEN_SOURCE"
SU="su"
;;
Reply to: