On Thu, Jul 6, 2006 at 11:24:41 +0200, Petr Salinger wrote: > 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" > ;; > Hi Petr, 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. If it's not enough, could you please send us an updated patch, and report it upstream on bugs.freedesktop.org? Thanks, Julien
From aee9b7f645c12a2a3bc6605726669dbb7b5f3985 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith <Alan.Coopersmith@sun.com> Date: Tue, 27 Jun 2006 16:33:25 +0000 Subject: [PATCH] Bugzilla #7317 <https://bugs.freedesktop.org/show_bug.cgi?id=7317> xdm needs to define _XOPEN_SOURCE to build on Hurd (J.P. Larocque) --- ChangeLog | 6 ++++++ configure.ac | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 74de196..88405ec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-06-27 Alan Coopersmith <alan.coopersmith@sun.com> + + * configure.ac: + Bugzilla #7317 <https://bugs.freedesktop.org/show_bug.cgi?id=7317> + xdm needs to define _XOPEN_SOURCE to build on Hurd (J.P. Larocque) + 2006-06-26 Alan Coopersmith <alan.coopersmith@sun.com> * greet.h: diff --git a/configure.ac b/configure.ac index c92d0e6..45094ce 100644 --- a/configure.ac +++ b/configure.ac @@ -21,7 +21,7 @@ dnl PERFORMANCE OF THIS SOFTWARE. dnl dnl Process this file with autoconf to create configure. -dnl $XdotOrg: app/xdm/configure.ac,v 1.41 2006/06/02 23:12:12 alanc Exp $ +dnl $XdotOrg: app/xdm/configure.ac,v 1.42 2006/06/03 01:01:21 alanc Exp $ AC_PREREQ([2.57]) AC_INIT(xdm,[1.0.99],[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],xdm) @@ -122,7 +122,7 @@ fi case $host_os in - linux*) + linux*|gnu*) OS_CFLAGS="-D_XOPEN_SOURCE" SU="su" ;; -- 1.4.3.3
Attachment:
signature.asc
Description: Digital signature