summaryrefslogtreecommitdiff
path: root/graphite/graphite2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'graphite/graphite2.patch')
-rw-r--r--graphite/graphite2.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphite/graphite2.patch b/graphite/graphite2.patch
new file mode 100644
index 000000000000..fcd486c54875
--- /dev/null
+++ b/graphite/graphite2.patch
@@ -0,0 +1,11 @@
+--- misc/graphite2-1.0.2/include/graphite2/Types.h 2011-02-12 16:54:16.000000000 +0100
++++ misc/build/graphite2-1.0.2/include/graphite2/Types.h 2011-03-15 21:38:06.264788098 +0100
+@@ -36,7 +36,7 @@
+ };
+
+ // Definitions for library publicly exported symbols
+-#if defined _WIN32 || defined __CYGWIN__
++#if ( defined _WIN32 || defined __CYGWIN__ ) && !defined GR2_STATIC
+ #ifdef GR2_EXPORTING
+ #ifdef __GNUC__
+ #define GR2_API __attribute__((dllexport))