This commit is contained in:
committed by
Git OBS Bridge
parent
c6d4818fb1
commit
34357b2fc7
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 9 17:11:38 CEST 2007 - olh@suse.de
|
||||
|
||||
- remove inclusion of linux/compiler.h
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 5 23:52:55 CEST 2007 - ro@suse.de
|
||||
|
||||
|
||||
+5
-4
@@ -13,10 +13,10 @@
|
||||
Name: fxload
|
||||
URL: http://linux-hotplug.sf.net/
|
||||
Version: 2002_04_11
|
||||
Release: 153
|
||||
Release: 166
|
||||
Group: System/Kernel
|
||||
Summary: Download Firmware into USB FX and FX2 Devices
|
||||
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
|
||||
License: LGPL v2 or later
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Source0: http://belnet.dl.sourceforge.net/sourceforge/linux-hotplug/fxload-2002_04_11.tar.gz
|
||||
Patch0: fxload-2002_04_11.dif
|
||||
@@ -40,13 +40,12 @@ Authors:
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch
|
||||
%patch -p1
|
||||
|
||||
%build
|
||||
make CFLAGS="$RPM_OPT_FLAGS -Wall -g"
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}
|
||||
|
||||
%files
|
||||
@@ -58,6 +57,8 @@ make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}
|
||||
%doc COPYING README.txt
|
||||
|
||||
%changelog
|
||||
* Thu Aug 09 2007 - olh@suse.de
|
||||
- remove inclusion of linux/compiler.h
|
||||
* Tue Jun 05 2007 - ro@suse.de
|
||||
- fix build with current kernel
|
||||
* Thu Jul 20 2006 - olh@suse.de
|
||||
|
||||
+12
-8
@@ -1,5 +1,10 @@
|
||||
--- Makefile
|
||||
+++ Makefile
|
||||
---
|
||||
Makefile | 14 ++++++++------
|
||||
ezusb.c | 15 +--------------
|
||||
2 files changed, 9 insertions(+), 20 deletions(-)
|
||||
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -3,10 +3,12 @@
|
||||
# Builds "fxload" binaries, distribution tarball, and RPMs.
|
||||
#
|
||||
@@ -16,7 +21,7 @@
|
||||
|
||||
INSTALL = /usr/bin/install -cD
|
||||
INSTALL_PROGRAM = ${INSTALL}
|
||||
@@ -59,9 +61,9 @@
|
||||
@@ -59,9 +61,9 @@ clean:
|
||||
|
||||
# install, from tarball or for binary RPM
|
||||
install: $(PROG)
|
||||
@@ -29,22 +34,21 @@
|
||||
|
||||
|
||||
# make a source tarball
|
||||
--- ezusb.c
|
||||
+++ ezusb.c
|
||||
@@ -27,10 +27,9 @@
|
||||
--- a/ezusb.c
|
||||
+++ b/ezusb.c
|
||||
@@ -27,10 +27,8 @@
|
||||
# include <string.h>
|
||||
|
||||
# include <sys/ioctl.h>
|
||||
-
|
||||
-# include <linux/version.h>
|
||||
-# include <linux/usb.h>
|
||||
+# include <linux/compiler.h>
|
||||
# include <linux/usbdevice_fs.h>
|
||||
+# include <linux/usb/ch9.h>
|
||||
|
||||
# include "ezusb.h"
|
||||
|
||||
@@ -95,17 +94,6 @@
|
||||
@@ -95,17 +93,6 @@ static int fx2_is_external (unsigned sho
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user