summaryrefslogtreecommitdiff
path: root/package/firefox/patches/patch-gfx_qcms_iccread_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-05-01 11:42:21 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-05-01 11:42:21 +0200
commitc7918465e6c9834556eb9238271951f2184e058a (patch)
tree04f10915decb5bcc5102b2b124cb77339785c25b /package/firefox/patches/patch-gfx_qcms_iccread_c
parent44dad747bf39cb8e352d885bda37cf37b98e3f75 (diff)
fix firefox build for eglibc/glibc builds
Diffstat (limited to 'package/firefox/patches/patch-gfx_qcms_iccread_c')
-rw-r--r--package/firefox/patches/patch-gfx_qcms_iccread_c18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/firefox/patches/patch-gfx_qcms_iccread_c b/package/firefox/patches/patch-gfx_qcms_iccread_c
new file mode 100644
index 000000000..ea9ab6234
--- /dev/null
+++ b/package/firefox/patches/patch-gfx_qcms_iccread_c
@@ -0,0 +1,18 @@
+--- mozilla-1.9.2.orig/gfx/qcms/iccread.c 2010-04-02 18:02:27.000000000 +0200
++++ mozilla-1.9.2/gfx/qcms/iccread.c 2010-04-30 14:00:52.430967966 +0200
+@@ -23,6 +23,7 @@
+ #include <math.h>
+ #include <assert.h>
+ #include <stdlib.h>
++#include <stdio.h>
+ #include "qcmsint.h"
+
+ //XXX: use a better typename
+@@ -771,7 +772,6 @@ void qcms_profile_release(qcms_profile *
+ qcms_profile_fini(profile);
+ }
+
+-#include <stdio.h>
+ qcms_profile* qcms_profile_from_file(FILE *file)
+ {
+ uint32_t length, remaining_length;