mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
hfsprogs: fix compilation under glibc
Seems sys/sysctl.h was removed. Refresh patches. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -15,11 +15,9 @@ This closes LP: #737002.
|
||||
include/missing.h | 8 +++++++-
|
||||
1 file changed, 7 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/include/missing.h b/include/missing.h
|
||||
index 0a859c4..f50e8fb 100644
|
||||
--- a/include/missing.h
|
||||
+++ b/include/missing.h
|
||||
@@ -72,7 +72,7 @@
|
||||
@@ -71,7 +71,7 @@
|
||||
#define NAME_MAX 255
|
||||
|
||||
/* Byteswap stuff */
|
||||
@@ -28,7 +26,7 @@ index 0a859c4..f50e8fb 100644
|
||||
#define NXSwapBigShortToHost(x) be16_to_cpu(x)
|
||||
#define OSSwapBigToHostInt16(x) be16_to_cpu(x)
|
||||
#define NXSwapBigLongToHost(x) be32_to_cpu(x)
|
||||
@@ -88,6 +88,9 @@
|
||||
@@ -87,6 +87,9 @@
|
||||
#ifndef be32_to_cpu
|
||||
#define be32_to_cpu(x) bswap_32(x)
|
||||
#endif
|
||||
@@ -38,7 +36,7 @@ index 0a859c4..f50e8fb 100644
|
||||
#ifndef be64_to_cpu
|
||||
#define be64_to_cpu(x) bswap_64(x)
|
||||
#endif
|
||||
@@ -102,6 +105,9 @@
|
||||
@@ -101,6 +104,9 @@
|
||||
#ifndef be32_to_cpu
|
||||
#define be32_to_cpu(x) (x)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user