rpms/cdrkit/devel cdrkit-1.1.6-oldsyn.patch, NONE, 1.1 cdrkit.spec, 1.10, 1.11

Harald Hoyer (harald) fedora-extras-commits at redhat.com
Thu Feb 21 18:37:25 UTC 2008


Author: harald

Update of /cvs/pkgs/rpms/cdrkit/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32017

Modified Files:
	cdrkit.spec 
Added Files:
	cdrkit-1.1.6-oldsyn.patch 
Log Message:
* Thu Feb 21 2008 Harald Hoyer <harald at redhat.com> 1.1.6-9
- fixed loop on error message for old dev syntax (rhbz#429386)


cdrkit-1.1.6-oldsyn.patch:

--- NEW FILE cdrkit-1.1.6-oldsyn.patch ---
diff -ur cdrkit-1.1.6/libusal/scsi-linux-sg.c cdrkit-1.1.6.oldsyn/libusal/scsi-linux-sg.c
--- cdrkit-1.1.6/libusal/scsi-linux-sg.c	2008-02-21 19:08:29.000000000 +0100
+++ cdrkit-1.1.6.oldsyn/libusal/scsi-linux-sg.c	2008-02-21 19:08:11.000000000 +0100
@@ -592,15 +592,6 @@
 			if (nopen > 0 && usalp->errstr)
 				usalp->errstr[0] = '\0';
 
-			/* that's crap, should not be reached in non-scan mode.
-			 * Let's see whether it can be mapped to an atapi
-			 * device to emulate some old cludge's behaviour. */
-			if(!in_scanmode && busno < 1000 && busno >=0) {
-				fake_atabus=1;
-				fprintf(stderr, "Unable to open this SCSI ID. Trying to map to old ATA syntax."
-						"This workaround will disappear in the near future. Fix your configuration.");
-				goto retry_scan_open;
-			}
 		}
 	}
 


Index: cdrkit.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cdrkit/devel/cdrkit.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- cdrkit.spec	21 Feb 2008 16:30:18 -0000	1.10
+++ cdrkit.spec	21 Feb 2008 18:36:44 -0000	1.11
@@ -1,7 +1,7 @@
 Summary: A collection of CD/DVD utilities
 Name: cdrkit
 Version: 1.1.6
-Release: 8%{?dist}
+Release: 9%{?dist}
 License: GPLv2
 Group: Applications/System
 URL: http://cdrkit.org/
@@ -10,6 +10,7 @@
 Patch1: genisoimage-dlength.patch
 Patch2: icedax-segfault.patch
 Patch3: wodim-prtypo.patch
+Patch4: cdrkit-1.1.6-oldsyn.patch
 
 BuildRequires: cmake libcap-devel zlib-devel perl file-devel
 
@@ -73,6 +74,7 @@
 %patch1 -p1 -b .dlength
 %patch2 -p1 -b .segf
 %patch3 -p1 -b .prtypo
+%patch4 -p1 -b .oldsyn
 find . -type f -print0 | xargs -0 perl -pi -e 's#/usr/local/bin/perl#/usr/bin/perl#g'
 find doc -type f -print0 | xargs -0 chmod a-x 
 
@@ -209,6 +211,9 @@
 %{_mandir}/man1/readmult.*
 
 %changelog
+* Thu Feb 21 2008 Harald Hoyer <harald at redhat.com> 1.1.6-9
+- fixed loop on error message for old dev syntax (rhbz#429386)
+
 * Thu Feb 21 2008 Harald Hoyer <harald at redhat.com> 1.1.6-8
 - added file-devel to build requirements
 




More information about the fedora-extras-commits mailing list