From: | "Theo Chatzimichos (tampakrap)" <tampakrap@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in kde-base/kstars/files: kstars-4.4.65-solaris.patch |
Date: | Mon, 06 Sep 2010 01:18:09 |
Message-Id: | 20100906011806.B4C2420054@flycatcher.gentoo.org |
1 | tampakrap 10/09/06 01:18:06 |
2 | |
3 | Added: kstars-4.4.65-solaris.patch |
4 | Log: |
5 | Version bump KDE SC 4.5.1 |
6 | |
7 | (Portage version: 2.2_rc75/cvs/Linux x86_64, RepoMan options: --force) |
8 | |
9 | Revision Changes Path |
10 | 1.1 kde-base/kstars/files/kstars-4.4.65-solaris.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kstars/files/kstars-4.4.65-solaris.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kstars/files/kstars-4.4.65-solaris.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: kstars-4.4.65-solaris.patch |
16 | =================================================================== |
17 | --- kstars-4.4.65.orig/kstars/kstars/skycomponents/starcomponent.cpp |
18 | +++ kstars-4.4.65/kstars/kstars/skycomponents/starcomponent.cpp |
19 | @@ -40,6 +40,10 @@ |
20 | #include <sys/endian.h> |
21 | #define bswap_16(x) bswap16(x) |
22 | #define bswap_32(x) bswap32(x) |
23 | +#elif defined(__sun) |
24 | +#include <sys/byteorder.h> |
25 | +#define bswap_16(x) BSWAP_16(x) |
26 | +#define bswap_32(x) BSWAP_32(x) |
27 | #else |
28 | #include "byteorder.h" |
29 | #endif |