summaryrefslogtreecommitdiffstats
path: root/base/reiserfsprogs/reiserfsprogs-3.6.19.patch
diff options
context:
space:
mode:
Diffstat (limited to 'base/reiserfsprogs/reiserfsprogs-3.6.19.patch')
-rw-r--r--base/reiserfsprogs/reiserfsprogs-3.6.19.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/base/reiserfsprogs/reiserfsprogs-3.6.19.patch b/base/reiserfsprogs/reiserfsprogs-3.6.19.patch
new file mode 100644
index 000000000..7c24501a7
--- /dev/null
+++ b/base/reiserfsprogs/reiserfsprogs-3.6.19.patch
@@ -0,0 +1,14 @@
+diff -ru reiserfsprogs-3.6.19/include/reiserfs_fs.h reiserfsprogs-3.6.19-new/include/reiserfs_fs.h
+--- reiserfsprogs-3.6.19/include/reiserfs_fs.h 2004-09-16 09:49:05.000000000 +0200
++++ reiserfsprogs-3.6.19-new/include/reiserfs_fs.h 2004-10-19 22:56:51.086278496 +0200
+@@ -38,7 +38,8 @@
+ # define extern_inline
+ #endif
+
+-#include <asm/unaligned.h>
++#define get_unaligned(ptr) (*(ptr))
++#define put_unaligned(val, ptr) ((void)( *(ptr) = (val)))
+
+ #ifndef get_unaligned
+ #if defined(__ppc__) || defined(ppc) || defined(__ppc) || \
+