summaryrefslogtreecommitdiff
path: root/dev-util/hxd/files/hxd-0.70.02-llong-redef.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-util/hxd/files/hxd-0.70.02-llong-redef.patch
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-util/hxd/files/hxd-0.70.02-llong-redef.patch')
-rw-r--r--dev-util/hxd/files/hxd-0.70.02-llong-redef.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-util/hxd/files/hxd-0.70.02-llong-redef.patch b/dev-util/hxd/files/hxd-0.70.02-llong-redef.patch
new file mode 100644
index 000000000000..e9e230c867ac
--- /dev/null
+++ b/dev-util/hxd/files/hxd-0.70.02-llong-redef.patch
@@ -0,0 +1,25 @@
+ general.h | 4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/general.h b/general.h
+index 0a2ebe7..b749945 100644
+--- a/general.h
++++ b/general.h
+@@ -56,7 +56,7 @@
+
+ #ifdef HAVE_LONGLONG
+ loff_t lseek64( int fd, loff_t offset, int whence );
+-#define LLONG_MAX 0x7fffffffffffffffll
++#define L_LONG_MAX 0x7fffffffffffffffll
+ #undef LSEEK
+ #define LSEEK(A,B,C) lseek64((A),(B),(C))
+ #undef STRTOL
+@@ -64,7 +64,7 @@ loff_t lseek64( int fd, loff_t offset, int whence );
+ #undef SIZE_MIN
+ #define SIZE_MIN ( (loff_t) 0 )
+ #undef SIZE_MAX
+-#define SIZE_MAX ( LLONG_MAX - 1 )
++#define SIZE_MAX ( L_LONG_MAX - 1 )
+ #undef OFF_T
+ #define OFF_T loff_t
+ #endif