summaryrefslogtreecommitdiff
path: root/kmod-32
diff options
context:
space:
mode:
authorDanny Rawlins <monster.romster@gmail.com>2015-01-04 13:07:00 +1100
committerDanny Rawlins <monster.romster@gmail.com>2015-01-04 13:07:00 +1100
commit75bbea9f367913da3d66def02f750b59c9861324 (patch)
treee50b87d41ed44d1a91097cab403b473e84e95e79 /kmod-32
parent86c396ee70ec81553254f13a563f2cd6825bd5b7 (diff)
downloadcompat-32-75bbea9f367913da3d66def02f750b59c9861324.tar.gz
compat-32-75bbea9f367913da3d66def02f750b59c9861324.tar.xz
kmod-32: fix gcc error -fdiagnostics-color=auto
Diffstat (limited to 'kmod-32')
-rw-r--r--kmod-32/.md5sum1
-rw-r--r--kmod-32/Pkgfile9
-rw-r--r--kmod-32/kmod-19-diagnostics-color-removal.patch24
3 files changed, 31 insertions, 3 deletions
diff --git a/kmod-32/.md5sum b/kmod-32/.md5sum
index afedb25c..85700381 100644
--- a/kmod-32/.md5sum
+++ b/kmod-32/.md5sum
@@ -1 +1,2 @@
+0bf88e61241a10ad6dcc8d74f50a87ae kmod-19-diagnostics-color-removal.patch
a08643f814aa4efc12211c6e5909f4d9 kmod-19.tar.xz
diff --git a/kmod-32/Pkgfile b/kmod-32/Pkgfile
index dadb1b6a..d19d922f 100644
--- a/kmod-32/Pkgfile
+++ b/kmod-32/Pkgfile
@@ -1,16 +1,19 @@
# Description: Kernel module utilities and library
# URL: http://git.kernel.org/?p=utils/kernel/kmod/kmod.git
-# Maintainer: CRUX System Team, core-ports at crux dot nu
+# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
# Sepends on: kmod
name=kmod-32
version=19
-release=1
-source=(https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-$version.tar.xz)
+release=2
+source=(https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-$version.tar.xz
+ kmod-19-diagnostics-color-removal.patch)
build() {
cd kmod-$version
+ patch -p1 -i $SRC/kmod-19-diagnostics-color-removal.patch
+
./configure \
--prefix=/usr \
--libdir=/usr/lib32 \
diff --git a/kmod-32/kmod-19-diagnostics-color-removal.patch b/kmod-32/kmod-19-diagnostics-color-removal.patch
new file mode 100644
index 00000000..1513bbc7
--- /dev/null
+++ b/kmod-32/kmod-19-diagnostics-color-removal.patch
@@ -0,0 +1,24 @@
+Binary files kmod-19.orig/.configure.ac.un~ and kmod-19/.configure.ac.un~ differ
+Binary files kmod-19.orig/.configure.un~ and kmod-19/.configure.un~ differ
+diff -pruN kmod-19.orig/configure kmod-19/configure
+--- kmod-19.orig/configure 2015-01-04 01:52:45.419625310 +0000
++++ kmod-19/configure 2015-01-04 01:55:03.720621322 +0000
+@@ -15114,7 +15114,6 @@ fi
+ -Wuninitialized \
+ -fno-common \
+ -fdiagnostics-show-option \
+- -fdiagnostics-color=auto \
+ -fvisibility=hidden \
+ -ffunction-sections \
+ -fdata-sections; do
+diff -pruN kmod-19.orig/configure.ac kmod-19/configure.ac
+--- kmod-19.orig/configure.ac 2015-01-04 01:52:45.416625310 +0000
++++ kmod-19/configure.ac 2015-01-04 01:53:47.650623516 +0000
+@@ -201,7 +201,6 @@ CC_CHECK_FLAGS_APPEND(with_cflags, [CFLA
+ -Wuninitialized \
+ -fno-common \
+ -fdiagnostics-show-option \
+- -fdiagnostics-color=auto \
+ -fvisibility=hidden \
+ -ffunction-sections \
+ -fdata-sections])

Generated by cgit