diff options
author | Eric Andersen <andersen@codepoet.org> | 2007-08-10 19:07:51 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2007-08-10 19:07:51 +0000 |
commit | a7e49eb2af5d2ca6e53fb908fddfddd92696910a (patch) | |
tree | ef6625168d47591f85f98a2014f61bc697cf2427 /package/x11r7/xapp_xdm/xapp_xdm-1.1.3-urandom.patch | |
parent | 7aa1c59ebf82bd91a9e2b03178ceb4ce4fbf1b9d (diff) | |
download | buildroot-novena-a7e49eb2af5d2ca6e53fb908fddfddd92696910a.tar.gz buildroot-novena-a7e49eb2af5d2ca6e53fb908fddfddd92696910a.zip |
Merge in X11R7 patches from Julien Letessier, posted 04 Jul 2007. Doesn't
quite work yet for me, but this clearly is a huge project and not having it
quite work on the first pass is hardly unexpected. We definately want this
stuff in buildroot.
Diffstat (limited to 'package/x11r7/xapp_xdm/xapp_xdm-1.1.3-urandom.patch')
-rw-r--r-- | package/x11r7/xapp_xdm/xapp_xdm-1.1.3-urandom.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/package/x11r7/xapp_xdm/xapp_xdm-1.1.3-urandom.patch b/package/x11r7/xapp_xdm/xapp_xdm-1.1.3-urandom.patch new file mode 100644 index 000000000..ed51d8f81 --- /dev/null +++ b/package/x11r7/xapp_xdm/xapp_xdm-1.1.3-urandom.patch @@ -0,0 +1,15 @@ +--- xdm-1.1.3/configure.ac.orig 2007-06-10 15:34:10.000000000 +0200 ++++ xdm-1.1.3/configure.ac 2007-06-10 15:38:33.000000000 +0200 +@@ -152,8 +152,12 @@ + RANDOM_DEVICE="$withval", RANDOM_DEVICE="try") + + if test x$RANDOM_DEVICE = xyes -o x$RANDOM_DEVICE = xtry ; then ++ if test "$cross_compiling" = "no" ; then + AC_CHECK_FILE([/dev/urandom], [RANDOM_DEVICE=/dev/urandom], + AC_CHECK_FILE([/dev/random], [RANDOM_DEVICE=/dev/random])) ++ else ++ RANDOM_DEVICE=/dev/urandom ++ fi + if test x$RANDOM_DEVICE = xyes ; then + AC_MSG_ERROR(["random device support requested, but no random device was found."]) + else |