b=354388, Update cairo to cairo 2006-09-26 trunk broke Solaris compiler

because the cairo people didn't actually read the documentation.
__hidden is something that comes before the declaration, not after.
almost all of cairo gets this right. but not libpixman.
This commit is contained in:
timeless%mozdev.org 2006-09-27 22:45:31 +00:00
Родитель a5d5bfe54b
Коммит ad06231ec1
2 изменённых файлов: 17 добавлений и 1 удалений

Просмотреть файл

@ -49,3 +49,19 @@ diff -u -r1.4 libpixman/src/slim_internal.h
extern int somedata pixman_private;
The ELF visibility attribute did not exist before gcc 3.3. */
Index: libpixman/src/icint.h
===================================================================
RCS file: /cvsroot/mozilla/gfx/cairo/libpixman/src/icint.h,v
retrieving revision 1.6
diff -u -r1.6 libpixman/src/icint.h
--- libpixman/src/icint.h
+++ libpixman/src/icint.h
@@ -985,7 +985,7 @@
#define PictureCmapPolicyColor 3
#define PictureCmapPolicyAll 4
-extern int PictureCmapPolicy pixman_private;
+extern int pixman_private PictureCmapPolicy;
int PictureParseCmapPolicy (const char *name);

Просмотреть файл

@ -985,7 +985,7 @@ typedef struct _PictFormat *PictFormatPtr;
#define PictureCmapPolicyColor 3
#define PictureCmapPolicyAll 4
extern int PictureCmapPolicy pixman_private;
extern int pixman_private PictureCmapPolicy;
int PictureParseCmapPolicy (const char *name);