rpms/sg3_utils/devel sg3_utils-1.20-llseek.patch, NONE, 1.1 sg3_utils.spec, 1.13, 1.14
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Wed Jun 7 15:02:48 UTC 2006
Author: pknirsch
Update of /cvs/dist/rpms/sg3_utils/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv19133
Modified Files:
sg3_utils.spec
Added Files:
sg3_utils-1.20-llseek.patch
Log Message:
- Fixed rebuild problem on latest toolchain
sg3_utils-1.20-llseek.patch:
llseek.c | 10 ----------
1 files changed, 10 deletions(-)
--- NEW FILE sg3_utils-1.20-llseek.patch ---
--- sg3_utils-1.20/llseek.c.llseek 2006-06-07 17:00:41.000000000 +0200
+++ sg3_utils-1.20/llseek.c 2006-06-07 17:00:53.000000000 +0200
@@ -41,14 +41,6 @@
static int _llseek (unsigned int, unsigned long,
unsigned long, llse_loff_t *, unsigned int);
-#ifdef __NR__llseek
-
-static _syscall5(int,_llseek,unsigned int,fd,unsigned long,offset_high,
- unsigned long, offset_low,llse_loff_t *,result,
- unsigned int, origin)
-
-#else
-
/* no __NR__llseek on compilation machine - might give it explicitly */
static int _llseek (unsigned int fd, unsigned long oh,
unsigned long ol, llse_loff_t *result,
@@ -57,8 +49,6 @@
return -1;
}
-#endif
-
static llse_loff_t my_llseek (unsigned int fd, llse_loff_t offset,
unsigned int origin)
{
Index: sg3_utils.spec
===================================================================
RCS file: /cvs/dist/rpms/sg3_utils/devel/sg3_utils.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- sg3_utils.spec 19 May 2006 09:41:41 -0000 1.13
+++ sg3_utils.spec 7 Jun 2006 15:02:39 -0000 1.14
@@ -1,10 +1,11 @@
Summary: Utils for Linux's SCSI generic driver devices + raw devices
Name: sg3_utils
Version: 1.20
-Release: 1
+Release: 2
License: GPL
Group: Utilities/System
Source: ftp://www.torque.net/sg/p/sg3_utils-%{version}.tgz
+Patch1: sg3_utils-1.20-llseek.patch
Url: http://www.torque.net/sg/u_index.html
Provides: sg_utils
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root/
@@ -41,6 +42,7 @@
%prep
%setup -q
+%patch1 -p1 -b .llseek
%build
make
@@ -76,6 +78,9 @@
%{_libdir}/*.la
%changelog
+* Wed Jun 07 2006 Phil Knirsch <pknirsch at redhat.com> - 1.20-2
+- Fixed rebuild problem on latest toolchain
+
* Fri May 19 2006 Phil Knirsch <pknirsch at redhat.com> - 1.20-1
- Update to sg3_utils-1.20.
More information about the fedora-cvs-commits
mailing list