From 556b270b401c9eba084b24ea6ea100a328498a4f Mon Sep 17 00:00:00 2001 From: Thierry N Date: Fri, 7 Aug 2009 14:20:06 +0200 Subject: Ajout de reiserfs#3.6.21-1 --- base/reiserfsprogs/Pkgfile | 24 ++++++++++++++++++++++++ base/reiserfsprogs/reiserfsprogs-3.6.19.patch | 14 ++++++++++++++ 2 files changed, 38 insertions(+) create mode 100755 base/reiserfsprogs/Pkgfile create mode 100644 base/reiserfsprogs/reiserfsprogs-3.6.19.patch (limited to 'base/reiserfsprogs') 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 ++#define get_unaligned(ptr) (*(ptr)) ++#define put_unaligned(val, ptr) ((void)( *(ptr) = (val))) + + #ifndef get_unaligned + #if defined(__ppc__) || defined(ppc) || defined(__ppc) || \ + -- cgit v1.2.3-70-g09d2