summaryrefslogtreecommitdiff
path: root/sys-block/tgt/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-01-01 21:06:00 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-01-01 21:06:00 +0000
commit129160ec854dca4c3fedb5bcfbcb56930371da0f (patch)
tree53bf797418ac5e9b99c41ca0382c87b82421e5de /sys-block/tgt/files
parent441d1370330332b7d78f238d2f5e13f7aed5e4e0 (diff)
gentoo new year resync : 01.01.2021
Diffstat (limited to 'sys-block/tgt/files')
-rw-r--r--sys-block/tgt/files/tgt-1.0.79-fno-common.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/sys-block/tgt/files/tgt-1.0.79-fno-common.patch b/sys-block/tgt/files/tgt-1.0.79-fno-common.patch
new file mode 100644
index 000000000000..08933df021d8
--- /dev/null
+++ b/sys-block/tgt/files/tgt-1.0.79-fno-common.patch
@@ -0,0 +1,22 @@
+--- a/usr/iscsi/iscsid.c
++++ b/usr/iscsi/iscsid.c
+@@ -1074,7 +1074,7 @@ void iscsi_rsp_set_residual(struct iscsi_cmd_rsp *rsp, struct scsi_cmd *scmd)
+ struct iscsi_sense_data {
+ uint16_t length;
+ uint8_t data[0];
+-} __packed;
++} __attribute__((__packed__));
+
+ static int iscsi_cmd_rsp_build(struct iscsi_task *task)
+ {
+--- a/usr/iscsi/iser.c
++++ b/usr/iscsi/iser.c
+@@ -92,7 +92,7 @@ char *iser_portal_addr;
+ struct iscsi_sense_data {
+ uint16_t length;
+ uint8_t data[0];
+-} __packed;
++} __attribute__((__packed__));
+
+ static size_t buf_pool_sz_mb = DEFAULT_POOL_SIZE_MB;
+ static int cq_vector = -1;