Nagy Karoly Gabriel
15 years ago
committed by
Alejandro Mery
2 changed files with 47 additions and 0 deletions
@ -0,0 +1,19 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
# |
||||
# Filename: package/.../udev/udev.txt |
||||
# Copyright (C) 2009 The OpenSDE Project |
||||
# |
||||
# More information can be found in the files COPYING and README. |
||||
# |
||||
# This program is free software; you can redistribute it and/or modify |
||||
# it under the terms of the GNU General Public License as published by |
||||
# the Free Software Foundation; version 2 of the License. A copy of the |
||||
# GNU General Public License can be found in the file COPYING. |
||||
# --- SDE-COPYRIGHT-NOTE-END --- |
||||
|
||||
= Udev package = |
||||
== Patches == |
||||
|
||||
unused.patch.disabled is needed only if scsi/sg.h comes from kernel headers |
||||
so we mark it as disabled for now since kernel headers don't install scsi headers. |
@ -0,0 +1,28 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
# |
||||
# Filename: package/.../udev/unused.patch.disabled |
||||
# Copyright (C) 2009 The OpenSDE Project |
||||
# |
||||
# More information can be found in the files COPYING and README. |
||||
# |
||||
# This patch file is dual-licensed. It is available under the license the |
||||
# patched project is licensed under, as long as it is an OpenSource license |
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
||||
# of the GNU General Public License as published by the Free Software |
||||
# Foundation; either version 2 of the License, or (at your option) any later |
||||
# version. |
||||
# --- SDE-COPYRIGHT-NOTE-END --- |
||||
|
||||
--- ./extras/cdrom_id/cdrom_id.c.orig 2009-04-23 15:02:36.000000000 +0200 |
||||
+++ ./extras/cdrom_id/cdrom_id.c 2009-11-05 13:22:36.000000000 +0100 |
||||
@@ -140,7 +140,7 @@ |
||||
cmd->sg_io.mx_sb_len = sizeof(cmd->_sense); |
||||
cmd->sg_io.cmdp = cmd->cgc.cmd; |
||||
cmd->sg_io.sbp = cmd->_sense.u; |
||||
- cmd->sg_io.flags = SG_FLAG_LUN_INHIBIT | SG_FLAG_DIRECT_IO; |
||||
+ cmd->sg_io.flags = SG_FLAG_UNUSED_LUN_INHIBIT | SG_FLAG_DIRECT_IO; |
||||
} |
||||
cmd->sg_io.cmd_len = i + 1; |
||||
cmd->cgc.cmd[i] = arg; |
||||
|
Loading…
Reference in new issue