diff options
Diffstat (limited to '0011-Apply-gcc_struct-tag-to-packed-structs.patch')
-rw-r--r-- | 0011-Apply-gcc_struct-tag-to-packed-structs.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/0011-Apply-gcc_struct-tag-to-packed-structs.patch b/0011-Apply-gcc_struct-tag-to-packed-structs.patch deleted file mode 100644 index 41cfb7fe5b4d..000000000000 --- a/0011-Apply-gcc_struct-tag-to-packed-structs.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 87db726b9a9ae61caf2ff167450625ce8f4076c3 Mon Sep 17 00:00:00 2001 -From: Fabian Greffrath <fabian@greffrath.com> -Date: Mon, 24 Aug 2015 19:14:05 +0200 -Subject: [PATCH 11/13] Apply gcc_struct tag to packed structs - -GCC fails to properly pack structs although they are tagged with -__attribute__((__packed__)) if called with -mms-bitfields which has -become the default on Windows at some point: - -https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52991 ---- - src/doomtype.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/doomtype.h b/src/doomtype.h -index 10820c1..5377c8c 100644 ---- a/src/doomtype.h -+++ b/src/doomtype.h -@@ -51,7 +51,7 @@ - // - - #ifdef __GNUC__ --#define PACKEDATTR __attribute__((packed)) -+#define PACKEDATTR __attribute__((packed,gcc_struct)) - #else - #define PACKEDATTR - #endif --- -2.5.0 - |