diff options
author | Justin Lecher <jlec@gentoo.org> | 2012-06-20 12:53:28 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2012-06-20 12:53:28 +0000 |
commit | 321d87efd618517380775cfe06a7703b2f01ffc1 (patch) | |
tree | 3999fc0c99c2f3032114bd2b8253b0fbfb0aa4f0 /dev-util/hxd/files/hxd-0.70.02-llong-redef.patch | |
parent | Trivial commit, sort the logic and use ED instead of D. (diff) | |
download | gentoo-2-321d87efd618517380775cfe06a7703b2f01ffc1.tar.gz gentoo-2-321d87efd618517380775cfe06a7703b2f01ffc1.tar.bz2 gentoo-2-321d87efd618517380775cfe06a7703b2f01ffc1.zip |
dev-util/hxd: Fix parallel build, #240257; fix LLONG_MAX redefinition, bump EAPI
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
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.patch | 25 |
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 |