зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
a5d5bfe54b
Коммит
ad06231ec1
|
@ -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);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче