diff options
author | Xin LI <delphij@FreeBSD.org> | 2013-09-17 22:48:50 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2013-09-17 22:48:50 +0000 |
commit | d3fa8d53422adb0c6d94dd7c387798f258f1ad90 (patch) | |
tree | 7cde4dd1b73ace0454a0a0ad9e00d252b217188f /sysutils/sg3_utils | |
parent | c20c93f0905010e8e32a08ee2a849d1761b2a6b3 (diff) |
Notes
Diffstat (limited to 'sysutils/sg3_utils')
-rw-r--r-- | sysutils/sg3_utils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/sg3_utils/files/patch-src__sg_ses.c | 17 |
2 files changed, 18 insertions, 0 deletions
diff --git a/sysutils/sg3_utils/Makefile b/sysutils/sg3_utils/Makefile index ef2f2aed4941..cf4c32b629e0 100644 --- a/sysutils/sg3_utils/Makefile +++ b/sysutils/sg3_utils/Makefile @@ -3,6 +3,7 @@ PORTNAME= sg3_utils PORTVERSION= 1.36 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://sg.danny.cz/sg/p/ EXTRACT_SUFX= .tgz diff --git a/sysutils/sg3_utils/files/patch-src__sg_ses.c b/sysutils/sg3_utils/files/patch-src__sg_ses.c new file mode 100644 index 000000000000..075040a28015 --- /dev/null +++ b/sysutils/sg3_utils/files/patch-src__sg_ses.c @@ -0,0 +1,17 @@ +--- ./src/sg_ses.c.orig 2013-05-08 06:21:30.000000000 -0700 ++++ ./src/sg_ses.c 2013-09-17 15:31:55.127287996 -0700 +@@ -210,10 +210,10 @@ + static struct join_row_t join_arr[MX_JOIN_ROWS]; + static struct join_row_t * join_arr_lastp = join_arr + MX_JOIN_ROWS - 1; + +-static unsigned char enc_stat_rsp[MX_ALLOC_LEN]; +-static unsigned char elem_desc_rsp[MX_ALLOC_LEN]; +-static unsigned char add_elem_rsp[MX_ALLOC_LEN]; +-static unsigned char threshold_rsp[MX_ALLOC_LEN]; ++static unsigned char enc_stat_rsp[MX_ALLOC_LEN] __attribute__ ((aligned (4096))); ++static unsigned char elem_desc_rsp[MX_ALLOC_LEN] __attribute__ ((aligned (4096))); ++static unsigned char add_elem_rsp[MX_ALLOC_LEN] __attribute__ ((aligned (4096))); ++static unsigned char threshold_rsp[MX_ALLOC_LEN] __attribute__ ((aligned (4096))); + static int enc_stat_rsp_len; + static int elem_desc_rsp_len; + static int add_elem_rsp_len; |