summaryrefslogtreecommitdiff
path: root/graphite/graphite2.patch
diff options
context:
space:
mode:
authorMartin Hosken <martin_hosken@sil.org>2012-10-06 22:08:10 +0700
committerCaolán McNamara <caolanm@redhat.com>2012-10-11 11:39:08 +0000
commitf0d1a2e9927243bf650e280af9d9dcdaca8b603e (patch)
tree28c1b5a309d6b94b6395bafbf7f2fac00039f477 /graphite/graphite2.patch
parent60a93729c95d31edab50a905236faa9e38a81556 (diff)
Update graphite to 1.2.0
Change-Id: I768df17c12e918a39e2011e3ce639e0c4ac4d451 Reviewed-on: https://gerrit.libreoffice.org/780 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'graphite/graphite2.patch')
-rw-r--r--graphite/graphite2.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/graphite/graphite2.patch b/graphite/graphite2.patch
index d5a956553ad1..2b6f64b7b0b1 100644
--- a/graphite/graphite2.patch
+++ b/graphite/graphite2.patch
@@ -1,12 +1,12 @@
---- misc/graphite2-1.0.3/include/graphite2/Types.h 2011-02-12 16:54:16.000000000 +0100
-+++ misc/build/graphite2-1.0.3/include/graphite2/Types.h 2011-03-15 21:38:06.264788098 +0100
-@@ -36,7 +36,8 @@
+--- misc/graphite2-1.2.0/include/graphite2/Types.h 2011-02-12 16:54:16.000000000 +0100
++++ misc/build/graphite2-1.2.0/include/graphite2/Types.h 2011-03-15 21:38:06.264788098 +0100
+@@ -41,7 +41,8 @@
};
// Definitions for library publicly exported symbols
-#if defined _WIN32 || defined __CYGWIN__
+#define GR2_STATIC 1
+#if ( defined _WIN32 || defined __CYGWIN__ ) && !defined GR2_STATIC
- #ifdef GR2_EXPORTING
- #ifdef __GNUC__
- #define GR2_API __attribute__((dllexport))
+ #if defined GRAPHITE2_STATIC
+ #define GR2_API
+ #elif defined GRAPHITE2_EXPORTING