From 45c1643739767a428948eb87576df7871386dd1f Mon Sep 17 00:00:00 2001 From: Mikhail Teterin Date: Fri, 12 Oct 2012 16:39:23 +0000 Subject: [PATCH] Add a patch removing two unused private fields from an internal class. The dead fields must've been there for years, but only clang-3.2 complains about it... The class' composition is not exported outside the library anyway, so there are no concerns about a known structure changing size -- hence, no shlib number bumps or anything. PR: ports/172637 Submitted by: Oliver Hartmann Feature safe: yes --- graphics/libfpx/files/patch-unused-privates | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 graphics/libfpx/files/patch-unused-privates diff --git a/graphics/libfpx/files/patch-unused-privates b/graphics/libfpx/files/patch-unused-privates new file mode 100644 index 000000000000..c6773c079dde --- /dev/null +++ b/graphics/libfpx/files/patch-unused-privates @@ -0,0 +1,14 @@ +These fields have been unused for many years, but it is only now, +that some compilers (clang-3.2) complain about it... + + -mi + +--- fpx/fpximgvw.h 2007-11-02 03:10:05.000000000 -0400 ++++ fpx/fpximgvw.h 2012-10-12 12:28:39.000000000 -0400 +@@ -300,6 +300,4 @@ + + PFileFlashPixView* filePtr; // The image file descriptor +- OLEStorage* sourceStorage; // Source FPX Image storage +- OLEStorage* resultStorage; // Result FPX Image storage + + // Geometric parameters