From: <ar...@sy...> - 2007-08-02 15:37:12
|
Author: arighi Date: 2007-08-02 10:36:59 -0500 (Thu, 02 Aug 2007) New Revision: 4096 Added: trunk/patches/reiserfsprogs.10fix-include.patch Log: - fix: compile reiserfsprogs 3.6.19 in Ubuntu and recent releases of Debian In include/reiserfs_fs.h remove #include <asm/unaligned.h> that is no more needed. For more informations see: http://wiki.systemimager.org/index.php/HOWTO_Install_from_sources_on_a_Debian_system#Special_notes_for_Ubuntu_users Added: trunk/patches/reiserfsprogs.10fix-include.patch =================================================================== --- trunk/patches/reiserfsprogs.10fix-include.patch (rev 0) +++ trunk/patches/reiserfsprogs.10fix-include.patch 2007-08-02 15:36:59 UTC (rev 4096) @@ -0,0 +1,19 @@ +--- reiserfsprogs-3.6.19/include/reiserfs_fs.h 2004-09-16 09:49:05.000000000 +0200 ++++ reiserfsprogs-3.6.19-systemimager/include/reiserfs_fs.h 2007-08-02 16:33:50.000000000 +0200 +@@ -38,14 +38,9 @@ + # define extern_inline + #endif + +-#include <asm/unaligned.h> +- + #ifndef get_unaligned +-#if defined(__ppc__) || defined(ppc) || defined(__ppc) || \ +- defined(__PPC) || defined(powerpc) || defined(__powerpc__) +-# define get_unaligned(ptr) (*(ptr)) +-# define put_unaligned(val,ptr) ((void)(*(ptr) = (val))) +-#endif ++#define get_unaligned(ptr) (*(ptr)) ++#define put_unaligned(val,ptr) ((void)(*(ptr) = (val))) + #endif + + #define get_leXX(xx,p,field) (le##xx##_to_cpu ((p)->field)) |