summaryrefslogtreecommitdiff
path: root/package/xorg-server/patches/patch-include_misc_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2022-12-28 07:05:32 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2022-12-29 08:59:59 +0100
commit139fa447cc994de6be5d87fbe41daae43d1d9c49 (patch)
tree4de20ce096e37770d062d9989e8ebf0808e78a70 /package/xorg-server/patches/patch-include_misc_h
parentca1089c9debe45b93ba74028fc0e546edfcad13a (diff)
xorg-server: patch is not compatible with glibc
Diffstat (limited to 'package/xorg-server/patches/patch-include_misc_h')
-rw-r--r--package/xorg-server/patches/patch-include_misc_h50
1 files changed, 0 insertions, 50 deletions
diff --git a/package/xorg-server/patches/patch-include_misc_h b/package/xorg-server/patches/patch-include_misc_h
deleted file mode 100644
index 820df214a..000000000
--- a/package/xorg-server/patches/patch-include_misc_h
+++ /dev/null
@@ -1,50 +0,0 @@
---- xorg-server-21.1.0.orig/include/misc.h 2021-10-27 12:47:08.000000000 +0200
-+++ xorg-server-21.1.0/include/misc.h 2021-11-12 22:48:04.777225906 +0100
-@@ -298,33 +298,12 @@ __builtin_constant_p(int x)
- }
- #endif
-
--static inline uint64_t
--bswap_64(uint64_t x)
--{
-- return (((x & 0xFF00000000000000ull) >> 56) |
-- ((x & 0x00FF000000000000ull) >> 40) |
-- ((x & 0x0000FF0000000000ull) >> 24) |
-- ((x & 0x000000FF00000000ull) >> 8) |
-- ((x & 0x00000000FF000000ull) << 8) |
-- ((x & 0x0000000000FF0000ull) << 24) |
-- ((x & 0x000000000000FF00ull) << 40) |
-- ((x & 0x00000000000000FFull) << 56));
--}
--
- #define swapll(x) do { \
- if (sizeof(*(x)) != 8) \
- wrong_size(); \
- *(x) = bswap_64(*(x)); \
- } while (0)
-
--static inline uint32_t
--bswap_32(uint32_t x)
--{
-- return (((x & 0xFF000000) >> 24) |
-- ((x & 0x00FF0000) >> 8) |
-- ((x & 0x0000FF00) << 8) |
-- ((x & 0x000000FF) << 24));
--}
-
- static inline Bool
- checked_int64_add(int64_t *out, int64_t a, int64_t b)
-@@ -361,13 +340,6 @@ checked_int64_subtract(int64_t *out, int
- *(x) = bswap_32(*(x)); \
- } while (0)
-
--static inline uint16_t
--bswap_16(uint16_t x)
--{
-- return (((x & 0xFF00) >> 8) |
-- ((x & 0x00FF) << 8));
--}
--
- #define swaps(x) do { \
- if (sizeof(*(x)) != 2) \
- wrong_size(); \