cairo/cairo-defines.patch

20 lines
931 B
Diff

Index: cairo-1.0.2/pixman/src/slim_internal.h
===================================================================
--- cairo-1.0.2.orig/pixman/src/slim_internal.h
+++ cairo-1.0.2/pixman/src/slim_internal.h
@@ -78,9 +78,11 @@
level. */
#if __GNUC__ >= 3 && defined(__ELF__)
-# define slim_hidden_proto(name) slim_hidden_proto1(name, INT_##name)
-# define slim_hidden_def(name) slim_hidden_def1(name, INT_##name)
-# define slim_hidden_proto1(name, internal) \
+# define slim_hidden_proto(name) slim_hidden_protoX(name)
+# define slim_hidden_def(name) slim_hidden_defX(name)
+# define slim_hidden_protoX(name) slim_hidden_proto1(name, INT_##name)
+# define slim_hidden_defX(name) slim_hidden_def1(name, INT_##name)
+# define slim_hidden_proto1(name, internal) \
extern __typeof (name) name \
__asm__ (slim_hidden_asmname (internal)) \
pixman_private;