[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#377023: xdm: FTBFS on GNU/kFreeBSD



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.

--- 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"
         ;;

the upstream version now has a patch that was added for hurd, and I'd
like to know if it's enough to make it build on kfreebsd too.  Please
find that patch attached.

No, it is not enough.

If it's not enough, could you please send us an updated patch

 case $host_os in
-    linux*|gnu*)
+    linux*|gnu*|*-gnu)
         OS_CFLAGS="-D_XOPEN_SOURCE"
        SU="su"
         ;;

Similarly for configure or regenerate configure by autoconf.

Petr




Reply to: