aboutsummaryrefslogtreecommitdiffstats
path: root/main/drbd/bits_per_long.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-12-04 14:28:48 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-12-04 14:48:46 +0000
commit081d2dc8bbc688ccdb71d6a5a62e246e441514e6 (patch)
treef2b3fe8f05ccff03ab346ee5decd1e40a7f88966 /main/drbd/bits_per_long.patch
parent4c104d6a68eeec04fdc3c12a8611df104139d0d3 (diff)
downloadaports-081d2dc8bbc688ccdb71d6a5a62e246e441514e6.tar.bz2
aports-081d2dc8bbc688ccdb71d6a5a62e246e441514e6.tar.xz
main/drbd-utils: rename from drbd and upgrade to 8.9.4
fixes #4920
Diffstat (limited to 'main/drbd/bits_per_long.patch')
-rw-r--r--main/drbd/bits_per_long.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/main/drbd/bits_per_long.patch b/main/drbd/bits_per_long.patch
deleted file mode 100644
index 7b094817a4..0000000000
--- a/main/drbd/bits_per_long.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- ./user/drbd_endian.h.orig
-+++ ./user/drbd_endian.h
-@@ -13,9 +13,16 @@
-
- #include <stdint.h>
- #include <endian.h>
-+#include <limits.h>
-
- #ifndef BITS_PER_LONG
--# define BITS_PER_LONG __WORDSIZE
-+# ifdef __WORDSIZE
-+# define BITS_PER_LONG __WORDSIZE
-+# elif ULONG_MAX == 0xffffffffffffffff
-+# define BITS_PER_LONG 64
-+# elif ULONG_MAX == 0xffffffff
-+# define BITS_PER_LONG 32
-+# endif
- #endif
-
- /* linux/byteorder/swab.h */