2 changed files with 4 additions and 44 deletions
@ -1,40 +0,0 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||
#
|
||||
# Filename: package/.../reiserfsprogs/no-unaligned-header-2.6.18.patch
|
||||
# Copyright (C) 2006 The OpenSDE Project
|
||||
#
|
||||
# More information can be found in the files COPYING and README.
|
||||
#
|
||||
# This patch file is dual-licensed. It is available under the license the
|
||||
# patched project is licensed under, as long as it is an OpenSource license
|
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||||
# of the GNU General Public License as published by the Free Software
|
||||
# Foundation; either version 2 of the License, or (at your option) any later
|
||||
# version.
|
||||
# --- SDE-COPYRIGHT-NOTE-END ---
|
||||
|
||||
--- reiserfsprogs-3.6.19/include/reiserfs_fs.h.orig 2006-09-23 17:08:57.000000000 +0200
|
||||
+++ reiserfsprogs-3.6.19/include/reiserfs_fs.h 2006-09-23 20:52:13.000000000 +0200
|
||||
@@ -38,14 +38,14 @@
|
||||
# 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) \
|
||||
+ ({ __typeof__(*(ptr)) __tmp; memcpy(&__tmp, (ptr), sizeof(*(ptr))); __tmp; })
|
||||
+
|
||||
+#define put_unaligned(val, ptr) \
|
||||
+ ({ __typeof__(*(ptr)) __tmp = (val); \
|
||||
+ memcpy((ptr), &__tmp, sizeof(*(ptr))); \
|
||||
+ (void)0; })
|
||||
#endif
|
||||
|
||||
#define get_leXX(xx,p,field) (le##xx##_to_cpu ((p)->field))
|
@ -3,7 +3,7 @@
|
||||
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
[COPY] |
||||
[COPY] Filename: package/.../reiserfsprogs/reiserfsprogs.desc |
||||
[COPY] Copyright (C) 2006 - 2007 The OpenSDE Project |
||||
[COPY] Copyright (C) 2006 - 2014 The OpenSDE Project |
||||
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project |
||||
[COPY] Copyright (C) 1998 - 2004 Clifford Wolf |
||||
[COPY] |
||||
@ -20,7 +20,7 @@
|
||||
[T] The filesystem utilities for the reiser filesystem, including |
||||
[T] mkreiserfs, resize_reiserfs, reiserfsck ... |
||||
|
||||
[U] http://www.namesys.com |
||||
[U] https://reiser4.wiki.kernel.org/index.php/Reiserfsprogs |
||||
|
||||
[A] Hans Reiser <[email protected]> |
||||
[A] Vitaly Fertman <[email protected]> |
||||
@ -33,8 +33,8 @@
|
||||
|
||||
[L] GPL |
||||
[S] Stable |
||||
[V] 3.6.19 |
||||
[V] 3.6.24 |
||||
[P] X -?---5---9 183.500 |
||||
|
||||
[D] 3598117138 reiserfsprogs-3.6.19.tar.gz ftp://ftp.namesys.com/pub/reiserfsprogs/ |
||||
[D] 3842833319 reiserfsprogs-3.6.24.tar.bz2 https://www.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/v3.6.24/ |
||||
|
||||
|
Loading…
Reference in new issue