]> git.pld-linux.org Git - packages/flux.git/blame - flux-AC_C_BIGENDIAN.patch
- build fixes needed on current systems
[packages/flux.git] / flux-AC_C_BIGENDIAN.patch
CommitLineData
4c6cb015 1--- flux-0.4.1/configure.in~ Sat Dec 15 21:07:30 2001
2+++ flux-0.4.1/configure.in Sat Dec 15 21:07:30 2001
3@@ -189,7 +189,7 @@
4 AC_DECL_SYS_SIGLIST
5 AC_HEADER_TIME
6
7-WK_CHECK_ENDIAN
8+AC_C_BIGENDIAN
9
10 WK_CHECK_TYPEDEF(byte, HAVE_BYTE_TYPEDEF)
11 WK_CHECK_TYPEDEF(ushort, HAVE_USHORT_TYPEDEF)
12--- flux-0.4.1/src/cipher/rmd160.c~ Sat Dec 15 21:06:25 2001
13+++ flux-0.4.1/src/cipher/rmd160.c Sat Dec 15 21:06:25 2001
14@@ -175,7 +175,7 @@
15
16
17 u32 a,b,c,d,e,aa,bb,cc,dd,ee,t;
18- #ifdef BIG_ENDIAN_HOST
19+ #ifdef WORDS_BIGENDIAN
20 u32 x[16];
21 { int i;
22 byte *p2, *p1;
23@@ -510,7 +510,7 @@
24 transform( hd, hd->buf );
25
26 p = hd->buf;
27- #ifdef BIG_ENDIAN_HOST
28+ #ifdef WORDS_BIGENDIAN
29 #define X(a) do { *p++ = hd->h##a ; *p++ = hd->h##a >> 8; \
30 *p++ = hd->h##a >> 16; *p++ = hd->h##a >> 24; } while(0)
31 #else /* little endian */
32--- flux-0.4.1/src/random/gather_unix.c~ Sat Dec 15 21:09:45 2001
33+++ flux-0.4.1/src/random/gather_unix.c Sat Dec 15 21:09:45 2001
34@@ -61,15 +61,6 @@
35
36 /* OS-specific includes */
37
38-#ifdef __osf__
39- /* Somewhere in the morass of system-specific cruft which OSF/1 pulls in
40- * via the following includes are various endianness defines, so we
41- * undefine the cryptlib ones, which aren't really needed for this module
42- * anyway */
43-# undef BIG_ENDIAN
44-# undef LITTLE_ENDIAN
45-#endif /* __osf__ */
46-
47 #include <unistd.h>
48 #include <signal.h>
49 #include <fcntl.h>
This page took 0.051527 seconds and 4 git commands to generate.