]> git.pld-linux.org Git - packages/linux-gpib.git/commitdiff
- fix patching auto/th/linux-gpib-4.3.0-1
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 18 Sep 2019 16:30:11 +0000 (18:30 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 18 Sep 2019 16:30:11 +0000 (18:30 +0200)
linux-gpib.spec

index 9748a0947e046a95ffc724b4adb1923603c01357..74525e08b1f9a6c1ae4872034a4cc8c0674411c4 100644 (file)
@@ -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
This page took 0.189723 seconds and 4 git commands to generate.