summaryrefslogtreecommitdiff
path: root/community/cdfs
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-17 00:03:04 +0000
committerroot <root@rshg054.dnsready.net>2012-06-17 00:03:04 +0000
commit608992f17d5473f8270f0779d3b9bcfe8fbdfa1c (patch)
tree01a9cf1b9b9ca1fd37e5c0a7f67f077633459f02 /community/cdfs
parentf186b4cb8562b60dd4e1f5331f248caf547c8839 (diff)
Sun Jun 17 00:03:04 UTC 2012
Diffstat (limited to 'community/cdfs')
-rw-r--r--community/cdfs/PKGBUILD11
-rw-r--r--community/cdfs/cdfs-3.4.patch12
2 files changed, 19 insertions, 4 deletions
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 <pupykin.s+arch@gmail.com>
# Contributor: J. Santiago Hirschfeld <jsantiagoh@yahoo.com.ar>
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;
+