summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libfpx/files/libfpx-1.2.0.13-export-symbols.patch')
-rw-r--r--media-libs/libfpx/files/libfpx-1.2.0.13-export-symbols.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/media-libs/libfpx/files/libfpx-1.2.0.13-export-symbols.patch b/media-libs/libfpx/files/libfpx-1.2.0.13-export-symbols.patch
new file mode 100644
index 000000000000..9e0f16325500
--- /dev/null
+++ b/media-libs/libfpx/files/libfpx-1.2.0.13-export-symbols.patch
@@ -0,0 +1,14 @@
+* At least the Darwin linker doesn't like double symbols during the
+ final linking stage...
+
+--- jpeg/jpegconf.h
++++ jpeg/jpegconf.h
+@@ -27,6 +27,6 @@
+ # pragma warning(disable : 4244)
+ # pragma warning(disable : 4142)
+ #else
+-# define JPEGEXPORT
+-# define FPXEXPORT
++# define JPEGEXPORT extern
++# define FPXEXPORT extern
+ #endif