[Pkg-phototools-devel] Bug#719173: opencolorio: FTBFS on kFreeBSD: ocioconvert has undefined references

Petr Salinger Petr.Salinger at seznam.cz
Fri Aug 23 15:21:50 UTC 2013


Control: tags -1 + patch - help

Hi.

Simple "|| GLIBC" suffices, see bellow.

It would also be nice if you can ask upstream
to include this change.

Thanks in advance

                         Petr

--- opencolorio-1.0.8~dfsg0.orig/export/OpenColorIO/OpenColorABI.h.in
+++ opencolorio-1.0.8~dfsg0/export/OpenColorIO/OpenColorABI.h.in
@@ -65,7 +65,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE

  // If supported, define OCIOEXPORT, OCIOHIDDEN
  // (used to choose which symbols to export from OpenColorIO)
-#if defined __linux__ || __APPLE__
+#if defined __linux__ || __APPLE__ || __GLIBC__
      #if __GNUC__ >= 4
          #define OCIOEXPORT __attribute__ ((visibility("default")))
          #define OCIOHIDDEN __attribute__ ((visibility("hidden")))



More information about the Pkg-phototools-devel mailing list