summaryrefslogtreecommitdiffstats
path: root/graphics/libfpx/export-symbols.patch
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libfpx/export-symbols.patch')
-rw-r--r--graphics/libfpx/export-symbols.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/graphics/libfpx/export-symbols.patch b/graphics/libfpx/export-symbols.patch
new file mode 100644
index 0000000000..dfb974bc71
--- /dev/null
+++ b/graphics/libfpx/export-symbols.patch
@@ -0,0 +1,14 @@
+* At least the Darwin linker doesn't like double symbols during the
+ final linking stage...
+
+--- a/jpeg/jpegconf.h
++++ b/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