[packages/linux-gpib] - fix patching
baggins
baggins at pld-linux.org
Wed Sep 18 18:31:20 CEST 2019
commit 5e300cedf79af674ae00bd9348cd9e34db89d679
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Wed Sep 18 18:30:11 2019 +0200
- fix patching
linux-gpib.spec | 13 +++----------
1 file changed, 3 insertions(+), 10 deletions(-)
---
diff --git a/linux-gpib.spec b/linux-gpib.spec
index 9748a09..74525e0 100644
--- a/linux-gpib.spec
+++ b/linux-gpib.spec
@@ -49,7 +49,6 @@ Patch3: %{pname}-perl.patch
Patch4: %{pname}-firmwaredir.patch
Patch5: %{pname}-guile2.patch
Patch6: %{pname}-php7.patch
-Patch7: kernel-5.0.patch
Patch8: kernel-5.2.patch
URL: http://linux-gpib.sourceforge.net/
BuildRequires: autoconf >= 2.50
@@ -269,15 +268,9 @@ cd ..
%if %{with kernel}
tar xzf linux-gpib-kernel-%{version}.tar.gz
cd linux-gpib-kernel-%{version}
-#%patch7 -p1
-#%ifarch %{ix86}
-#%patch8 -p1
-#%endif
-
-# need to inject -I options before $(LINUXINCLUDE), the simplest way is to override CC
-#for f in drivers/gpib/*/Makefile ; do
-#echo 'override CC += $(EARLYCPPFLAGS)' >> $f
-#done
+%ifarch %{ix86}
+%patch8 -p1
+%endif
%endif
%build
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/linux-gpib.git/commitdiff/5e300cedf79af674ae00bd9348cd9e34db89d679
More information about the pld-cvs-commit
mailing list