diff options
Diffstat (limited to 'biology/fastx-toolkit/patches/patch-src_libfastx_fastx.h')
-rw-r--r-- | biology/fastx-toolkit/patches/patch-src_libfastx_fastx.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/biology/fastx-toolkit/patches/patch-src_libfastx_fastx.h b/biology/fastx-toolkit/patches/patch-src_libfastx_fastx.h new file mode 100644 index 00000000000..0a25126f420 --- /dev/null +++ b/biology/fastx-toolkit/patches/patch-src_libfastx_fastx.h @@ -0,0 +1,23 @@ +$NetBSD: patch-src_libfastx_fastx.h,v 1.1 2022/04/05 18:48:57 bacon Exp $ + +# Limit packing to this one structure to avoid compatibility issues + +--- src/libfastx/fastx.h.orig 2018-05-16 14:50:08 UTC ++++ src/libfastx/fastx.h +@@ -58,7 +58,7 @@ typedef enum { + OUTPUT_SAME_AS_INPUT=3 + } OUTPUT_FILE_TYPE; + +-#pragma pack(1) ++#pragma pack(push,1) + typedef struct + { + /* Record data - common for FASTA/FASTQ */ +@@ -115,6 +115,7 @@ typedef struct + FILE* input; + FILE* output; + } FASTX ; ++#pragma pack(pop) + + + void fastx_init_reader(FASTX *pFASTX, const char* filename, |