diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2014-02-14 16:57:27 +0000 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2014-02-14 16:57:27 +0000 |
commit | 14783492d94d257fc7e414ffc3bcc134bf28098d (patch) | |
tree | 0b036774147be0f98853e87e2b7ddb0ac30bc580 /graphics/libfpx/files/patch-unused-padding | |
parent | - Remove gmake complete builds fine without everywhere. (diff) |
Upgrade from 1.3.1-3 to 1.3.1-4. The only real change (outside of the auto* nonsense) is the
restoration of the padding at the end of CDirEntry.
Clang++ used to flag it as unused private field, which lead to its removal (incorrectly) -- and
this new release from upstream restores the padding. It is still flagged by clang++ so a new patch
attempts to suppress that.
Notes
Notes:
svn path=/head/; revision=344284
Diffstat (limited to 'graphics/libfpx/files/patch-unused-padding')
-rw-r--r-- | graphics/libfpx/files/patch-unused-padding | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/libfpx/files/patch-unused-padding b/graphics/libfpx/files/patch-unused-padding new file mode 100644 index 000000000000..10ae881ec697 --- /dev/null +++ b/graphics/libfpx/files/patch-unused-padding @@ -0,0 +1,15 @@ +The padding is important (earlier versions tried to remove it leading to peril), +but clang++ complains about it. Mark it as __unused to prevent that... +--- oless/h/dir.hxx 2014-02-12 08:14:24.000000000 -0500 ++++ oless/h/dir.hxx 2014-02-14 11:36:59.000000000 -0500 +@@ -142,5 +142,9 @@ + inline void SetBitFlags(BYTE bValue, BYTE bMask); + +- BYTE _bpad[CBDIRPAD]; // do not remove, bad things will happen! ++ BYTE _bpad[CBDIRPAD] // do not remove, bad things will happen! ++#ifdef __clang__ ++ __unused ++#endif ++ ; + }; + |