Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
fdupes
fdupes-endianness.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fdupes-endianness.patch of Package fdupes
Index: fdupes-1.40/md5/md5.c =================================================================== --- fdupes-1.40.orig/md5/md5.c 2010-02-15 15:36:58.000000000 +0100 +++ fdupes-1.40/md5/md5.c 2010-02-15 16:01:34.350140290 +0100 @@ -41,6 +41,15 @@ #include "md5.h" #include <string.h> +/* endianness check using glibc endian.h */ +#include <endian.h> + +#if __BYTE_ORDER == __BIG_ENDIAN +# define ARCH_IS_BIG_ENDIAN 1 +#elif __BYTE_ORDER == __LITTLE_ENDIAN +# define ARCH_IS_BIG_ENDIAN 0 +#endif + #ifdef TEST /* * Compile with -DTEST to create a self-contained executable test program.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor