Gentoo Archives: gentoo-commits

From: "Fabian Groffen (grobian)" <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-projects commit in pax-utils: porting.h
Date: Sun, 25 Oct 2009 20:42:36
Message-Id: E1N29v9-0002aa-7v@stork.gentoo.org
1 grobian 09/10/25 20:42:35
2
3 Modified: porting.h
4 Log:
5 allow pax-utils to detect endianness on HP-UX, patch by Michael Haubenwallner
6
7 Revision Changes Path
8 1.37 pax-utils/porting.h
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/porting.h?rev=1.37&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/porting.h?rev=1.37&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/porting.h?r1=1.36&r2=1.37
13
14 Index: porting.h
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v
17 retrieving revision 1.36
18 retrieving revision 1.37
19 diff -u -r1.36 -r1.37
20 --- porting.h 30 Dec 2008 12:30:52 -0000 1.36
21 +++ porting.h 25 Oct 2009 20:42:34 -0000 1.37
22 @@ -1,7 +1,7 @@
23 /*
24 * Copyright 2005-2007 Gentoo Foundation
25 * Distributed under the terms of the GNU General Public License v2
26 - * $Header: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v 1.36 2008/12/30 12:30:52 vapier Exp $
27 + * $Header: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v 1.37 2009/10/25 20:42:34 grobian Exp $
28 *
29 * Copyright 2005-2007 Ned Ludd - <solar@g.o>
30 * Copyright 2005-2007 Mike Frysinger - <vapier@g.o>
31 @@ -140,7 +140,7 @@
32 # define ELF_DATA ELFDATA2MSB
33 # elif defined(_LITTLE_ENDIAN)
34 # define ELF_DATA ELFDATA2LSB
35 -# elif defined(_BIG_ENDIAN)
36 +# elif defined(_BIG_ENDIAN) || defined(__BIG_ENDIAN__)
37 # define ELF_DATA ELFDATA2MSB
38 # else
39 # error "no idea what the native byte order is"