aboutsummaryrefslogtreecommitdiffstats
path: root/main/musl/0003-add-legacy-scsi-scsi_ioctl.h-header.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-07-11 05:38:46 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-07-11 05:44:44 +0000
commitf00ea22784d28a92b14dd5b570eda217c7d9a462 (patch)
treec1b263dea6b951efe35c46424083a41b4e9420cc /main/musl/0003-add-legacy-scsi-scsi_ioctl.h-header.patch
parentdc3ff4b277d5a9ae36771ac635f8d43eb0cbfb59 (diff)
downloadaports-f00ea22784d28a92b14dd5b570eda217c7d9a462.tar.bz2
aports-f00ea22784d28a92b14dd5b570eda217c7d9a462.tar.xz
main/musl: various fixes from git master, and packaging fixes
- use upstream commits for all arm pie/unwind fixes - replace getopt with BSD licensed GNU compatible getopt - set proper SONAME for the libc generated for packaging purposes - rename libc.so to be ld-musl-$ARCH.so.1 and point the SONAME and ldd links to it. this allows libc.so to go to -dev package as it will be used for compiling only. - move specs file to musl-crosstool subpackage
Diffstat (limited to 'main/musl/0003-add-legacy-scsi-scsi_ioctl.h-header.patch')
-rw-r--r--main/musl/0003-add-legacy-scsi-scsi_ioctl.h-header.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/main/musl/0003-add-legacy-scsi-scsi_ioctl.h-header.patch b/main/musl/0003-add-legacy-scsi-scsi_ioctl.h-header.patch
new file mode 100644
index 0000000000..fe67990a45
--- /dev/null
+++ b/main/musl/0003-add-legacy-scsi-scsi_ioctl.h-header.patch
@@ -0,0 +1,30 @@
+From 5ece469f37e5cdddb86871b56f4f74674690fbe4 Mon Sep 17 00:00:00 2001
+From: rofl0r <retnyg@gmx.net>
+Date: Wed, 3 Jul 2013 17:52:44 +0200
+Subject: [PATCH 3/9] add legacy scsi/scsi_ioctl.h header
+
+---
+ include/scsi/scsi_ioctl.h | 11 +++++++++++
+ 1 file changed, 11 insertions(+)
+ create mode 100644 include/scsi/scsi_ioctl.h
+
+diff --git a/include/scsi/scsi_ioctl.h b/include/scsi/scsi_ioctl.h
+new file mode 100644
+index 0000000..22df7fe
+--- /dev/null
++++ b/include/scsi/scsi_ioctl.h
+@@ -0,0 +1,11 @@
++#ifndef _SCSI_IOCTL_H
++#define _SCSI_IOCTL_H
++#define SCSI_IOCTL_SEND_COMMAND 1
++#define SCSI_IOCTL_TEST_UNIT_READY 2
++#define SCSI_IOCTL_BENCHMARK_COMMAND 3
++#define SCSI_IOCTL_SYNC 4
++#define SCSI_IOCTL_START_UNIT 5
++#define SCSI_IOCTL_STOP_UNIT 6
++#define SCSI_IOCTL_DOORLOCK 0x5380
++#define SCSI_IOCTL_DOORUNLOCK 0x5381
++#endif
+--
+1.8.3.2
+