http://bugzilla.novell.com/show_bug.cgi?id=406825
http://bugzilla.novell.com/show_bug.cgi?id=406825#c4
Michal Vyskocil changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Component|Other |Basesystem
Resolution| |FIXED
AssignedTo|mvyskocil@novell.com |bnc-team-screening@forge.pr
| |ovo.novell.com
Target Milestone|--- |Future 11.3
--- Comment #4 from Michal Vyskocil 2010-02-15 15:48:57 UTC ---
The original patch looks OK. I removed the Makefile modification. For
endianness I wrote separate fdupes-endianness.patch uses the endian.h from
glibc.
$ cat fdupes-endianness.patch
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
+/* endianness check using glibc endian.h */
+#include
+
+#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.
Submitted into Base:System/fdupes - revision 5.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.