diff options
Diffstat (limited to 'base')
-rwxr-xr-x | base/reiserfsprogs/Pkgfile | 24 | ||||
-rw-r--r-- | base/reiserfsprogs/reiserfsprogs-3.6.19.patch | 14 |
2 files changed, 38 insertions, 0 deletions
diff --git a/base/reiserfsprogs/Pkgfile b/base/reiserfsprogs/Pkgfile new file mode 100755 index 000000000..b556f5fbe --- /dev/null +++ b/base/reiserfsprogs/Pkgfile @@ -0,0 +1,24 @@ +# Description: Utilitaires pour la gestion du système de fichiers Reiserfs +# URL: http://www.kernel.org/pub/linux/utils/fs/reiserfs/ +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: + +name=reiserfsprogs +version=3.6.21 +release=1 +source=(http://www.kernel.org/pub/linux/utils/fs/reiserfs/$name-$version.tar.gz\ +) + + +build() { + cd $name-$version + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --sbindir=/sbin + make + make DESTDIR=$PKG install + ln -sf reiserfsck $PKG/sbin/fsck.reiserfs + ln -sf mkreiserfs $PKG/sbin/mkfs.reiserfs +} 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) || \ + |