Browse Source

linux-header: fixed to not install scsi/scsi.h on headers_install so it won't conflict with the libc's scsi.h (see note!)

Note:
This fix is out of the linux 2.6.35.y branch. Until now (2010-09-14) all Linux
kernel versions < 2.6.35 will need this patch!
user/amery/mess
Christian Wiese 14 years ago
parent
commit
68e30d1f1f
  1. 45
      base/linux-header/linux-header-unexport-scsi-header.patch

45
base/linux-header/linux-header-unexport-scsi-header.patch

@ -0,0 +1,45 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../linux-header/linux-header-unexport-scsi-header.patch
# Copyright (C) 2010 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 ---
From 7407e5bba2cc821950344fd1391d9ad1b7e0b397 Mon Sep 17 00:00:00 2001
From: Tom Rini <tom_rini@mentor.com>
Date: Tue, 27 Apr 2010 14:11:47 -0700
Subject: [PATCH] [SCSI] Unexport scsi/scsi.h from headers_install
The scsi/scsi.h header is normally provided by the libc (and was not
exported by the kernel since 2.6.24) and has been until it was
re-exported with 2.6.31. The kernel version is not userspace clean and
does not appear to provide anything useable in userland over the
(e)glibc version.
Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
---
include/scsi/Kbuild | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/include/scsi/Kbuild b/include/scsi/Kbuild
index b3a0ee6..f2b9491 100644
--- a/include/scsi/Kbuild
+++ b/include/scsi/Kbuild
@@ -1,4 +1,3 @@
-header-y += scsi.h
header-y += scsi_netlink.h
header-y += scsi_netlink_fc.h
header-y += scsi_bsg_fc.h
--
1.7.2.3
Loading…
Cancel
Save