7866
|
1 |
--- chrpath-0.14/protos.h Mon Sep 26 20:13:23 2011
|
|
2 |
+++ chrpath-0.14-patch/protos.h Sat Oct 29 23:02:41 2011
|
|
3 |
@@ -4,1 +4,1 @@
|
|
4 |
-#include <byteswap.h>
|
|
5 |
+#include <sys/byteorder.h>
|
|
6 |
@@ -36,4 +36,4 @@
|
|
7 |
-#define DO_SWAPU32(x) ( !swap_bytes() ? x : (uint32_t)bswap_32(x) )
|
|
8 |
-#define DO_SWAPU64(x) ( !swap_bytes() ? x : (uint64_t)bswap_64(x) )
|
|
9 |
-#define DO_SWAPS32(x) ( !swap_bytes() ? x : (int32_t)bswap_32(x) )
|
|
10 |
-#define DO_SWAPS64(x) ( !swap_bytes() ? x : (int64_t)bswap_64(x) )
|
|
11 |
+#define DO_SWAPU32(x) ( !swap_bytes() ? x : (uint32_t)BSWAP_32(x) )
|
|
12 |
+#define DO_SWAPU64(x) ( !swap_bytes() ? x : (uint64_t)BSWAP_64(x) )
|
|
13 |
+#define DO_SWAPS32(x) ( !swap_bytes() ? x : (int32_t)BSWAP_32(x) )
|
|
14 |
+#define DO_SWAPS64(x) ( !swap_bytes() ? x : (int64_t)BSWAP_64(x) )
|
|
15 |
--- chrpath-0.14/chrpath.c Mon Sep 26 20:13:45 2011
|
|
16 |
+++ chrpath-0.14-patch/chrpath.c Sat Oct 29 23:02:58 2011
|
|
17 |
@@ -191,1 +191,1 @@
|
|
18 |
- bswap_32(DT_RUNPATH) : DT_RUNPATH;
|
|
19 |
+ BSWAP_32(DT_RUNPATH) : DT_RUNPATH;
|
|
20 |
@@ -194,1 +194,1 @@
|
|
21 |
- bswap_64(DT_RUNPATH) : DT_RUNPATH;
|
|
22 |
+ BSWAP_64(DT_RUNPATH) : DT_RUNPATH;
|