[PATCH]: Endian problem in libnm-util
- From: "Christan Chiesa" <christanc gmail com>
- To: networkmanager-list gnome org
- Subject: [PATCH]: Endian problem in libnm-util
- Date: Fri, 4 Aug 2006 17:29:26 +0200
Hello,
i friend of mine told me that WPA+plain text pw doesn't work on ppc. After some
debug he has found that sha1.c (libnm-utils) isn't built with the
-DWORDS_BIGENDIAN flag. I cannot reproduce this bug because i don't
have a ppc machine but i wrote a simple patch that could solve this
bug.
Thank you.
christian
--- configure.in 2006-07-13 16:01:15.000000000 +0200
+++ configure.in.new 2006-08-04 14:30:57.000000000 +0200
@@ -320,6 +320,10 @@
AC_MSG_RESULT(no)
fi
+if "$target_cpu" = "powerpc"
+ CPU_CFLAGS="-DWORDS_BIGENDIAN $CPU_CFLAGS"
+fi
+
AC_OUTPUT([
Makefile
include/Makefile
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]