From 608992f17d5473f8270f0779d3b9bcfe8fbdfa1c Mon Sep 17 00:00:00 2001 From: root Date: Sun, 17 Jun 2012 00:03:04 +0000 Subject: Sun Jun 17 00:03:04 UTC 2012 --- community/cdfs/PKGBUILD | 11 +++++++---- community/cdfs/cdfs-3.4.patch | 12 ++++++++++++ 2 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 community/cdfs/cdfs-3.4.patch (limited to 'community/cdfs') diff --git a/community/cdfs/PKGBUILD b/community/cdfs/PKGBUILD index 04df57b4f..551f1447f 100644 --- a/community/cdfs/PKGBUILD +++ b/community/cdfs/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 70326 2012-05-04 17:03:53Z spupykin $ +# $Id: PKGBUILD 72481 2012-06-15 13:19:51Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: J. Santiago Hirschfeld pkgname=cdfs pkgver=2.6.27 -pkgrel=21 +pkgrel=22 pkgdesc="File system module that 'exports' all tracks and boot images on a CD as normal files." arch=(i686 x86_64) url="http://www.elis.UGent.be/~ronsse/cdfs/" @@ -13,10 +13,12 @@ makedepends=('linux-headers') install=cdfs.install source=("http://www.elis.UGent.be/~ronsse/cdfs/download/$pkgname-$pkgver.tar.bz2" "cdfs-3.0.patch" - "cdfs-3.2.patch") + "cdfs-3.2.patch" + "cdfs-3.4.patch") md5sums=('ac64c014a90e3c488394832ea29605b3' 'aba7da94a9dcbb8a93ea423cb6958fef' - 'e934407b3460257a301822ffc4ab3933') + 'e934407b3460257a301822ffc4ab3933' + '9215e7bdac728bd2f889fb525e543454') build() { _kernver=`pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -` @@ -26,6 +28,7 @@ build() { cd $srcdir/$pkgname-$pkgver patch -p1 <$srcdir/cdfs-3.0.patch patch -p1 <$srcdir/cdfs-3.2.patch + patch -p1 <$srcdir/cdfs-3.4.patch make KDIR=/lib/modules/${_kernverfull}/build install -Dm0644 cdfs.ko $pkgdir/lib/modules/extramodules-3.${_kernver}-ARCH/cdfs.ko sed -i "s|extramodules-.*-ARCH|extramodules-3.${_kernver}-ARCH|" $startdir/cdfs.install diff --git a/community/cdfs/cdfs-3.4.patch b/community/cdfs/cdfs-3.4.patch new file mode 100644 index 000000000..5c2cb9b24 --- /dev/null +++ b/community/cdfs/cdfs-3.4.patch @@ -0,0 +1,12 @@ +diff -wbBur cdfs-2.6.27/root.c cdfs-2.6.27.my/root.c +--- cdfs-2.6.27/root.c 2009-12-21 16:38:31.000000000 +0300 ++++ cdfs-2.6.27.my/root.c 2012-06-15 17:09:27.000000000 +0400 +@@ -375,7 +375,7 @@ + + PRINT("retinode = %ld\n", retinode->i_ino); + +- sb->s_root = d_alloc_root(retinode); ++ sb->s_root = d_make_root(retinode); + + cdfs_proc_cd = this_cd; + -- cgit v1.2.3-54-g00ecf