summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Lass2017-06-01 21:30:21 +0200
committerMichael Lass2017-06-01 21:33:09 +0200
commita268faf143b48b8b12676ca40b89c1d00acf1b4f (patch)
tree8e9f50b24b83cb91cb924d53ffe7baa176c47cb7
parent6a243ceadee86eb94eca348dbd2782cdda2eb1f2 (diff)
downloadaur-a268faf143b48b8b12676ca40b89c1d00acf1b4f.tar.gz
Add fix for gcc bug
The following error flaws the check for gid in the group_info struct. For now we just set the corresponding define manually. /var/lib/dkms/openafs/1.6.20.2/build/conftest.dir/conftest.c:43:8: internal compiler error: Segmentation fault struct group_info _test; printk("%x\n", &_test.gid); ^~~~~~~~~~
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD4
-rw-r--r--dkms.conf1
3 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8623e8071e9..f6950cf20d8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sat Apr 15 09:12:31 UTC 2017
+# Thu Jun 1 19:33:04 UTC 2017
pkgbase = openafs-modules-dkms
pkgdesc = Kernel module for OpenAFS (dkms)
pkgver = 1.6.20.2
- pkgrel = 1
+ pkgrel = 2
url = http://www.openafs.org
arch = i686
arch = x86_64
@@ -19,7 +19,7 @@ pkgbase = openafs-modules-dkms
source = http://openafs.org/dl/1.6.20.2/openafs-1.6.20.2-src.tar.bz2
source = dkms.conf
sha256sums = 50234820c3da9752d2ca05fb7e83b7dc5c96a0e96a0b875ebc7ae3c835607614
- sha256sums = ea7d1e6dfb5006016e25738be722c8793765f52ad55c0bbf588dd7fdf2bdd2bf
+ sha256sums = baa3ab82ab2bb801d3a57568b46d5844add91cf8fc100386459d91d004f80f4f
pkgname = openafs-modules-dkms
diff --git a/PKGBUILD b/PKGBUILD
index e9cc30e9d40..49bffee8a98 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
pkgname=openafs-modules-dkms
_srcname=openafs
pkgver=1.6.20.2
-pkgrel=1
+pkgrel=2
pkgdesc="Kernel module for OpenAFS (dkms)"
arch=('i686' 'x86_64' 'armv7h')
url="http://www.openafs.org"
@@ -19,7 +19,7 @@ options=(!emptydirs)
source=(http://openafs.org/dl/${pkgver}/${_srcname}-${pkgver}-src.tar.bz2
dkms.conf)
sha256sums=('50234820c3da9752d2ca05fb7e83b7dc5c96a0e96a0b875ebc7ae3c835607614'
- 'ea7d1e6dfb5006016e25738be722c8793765f52ad55c0bbf588dd7fdf2bdd2bf')
+ 'baa3ab82ab2bb801d3a57568b46d5844add91cf8fc100386459d91d004f80f4f')
prepare() {
cd ${srcdir}/${_srcname}-${pkgver}
diff --git a/dkms.conf b/dkms.conf
index 6cc5af1f677..d0d52972b45 100644
--- a/dkms.conf
+++ b/dkms.conf
@@ -14,5 +14,6 @@ MAKE[0]="(./configure --prefix=/usr \
--disable-fuse-client \
--with-linux-kernel-packaging \
--with-linux-kernel-headers=${kernel_source_dir} \
+ && echo '#define STRUCT_GROUP_INFO_HAS_GID' >> src/config/afsconfig.h \
&& make ${MAKEFLAGS} )"
CLEAN="[ ! -f Makefile ] || make clean"