diff options
author | Eric Andersen <andersen@codepoet.org> | 2007-01-14 23:26:15 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2007-01-14 23:26:15 +0000 |
commit | 9524e48516edc5b2bd102218c4c5234f66de46e1 (patch) | |
tree | a4068b89f5e85fa12e6a85c4c3ee93d2e2898fe2 /package/libgtk2/002_xpmico.patch | |
parent | a461faf1ee09deaf662a45338be1e41a3249a077 (diff) | |
download | buildroot-novena-9524e48516edc5b2bd102218c4c5234f66de46e1.tar.gz buildroot-novena-9524e48516edc5b2bd102218c4c5234f66de46e1.zip |
fix build and ensure we install needed runtime components
Diffstat (limited to 'package/libgtk2/002_xpmico.patch')
-rw-r--r-- | package/libgtk2/002_xpmico.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/package/libgtk2/002_xpmico.patch b/package/libgtk2/002_xpmico.patch new file mode 100644 index 000000000..21500db65 --- /dev/null +++ b/package/libgtk2/002_xpmico.patch @@ -0,0 +1,18 @@ +diff -Nur gtk+-2.4.9.orig/gdk-pixbuf/io-ico.c gtk+-2.4.9/gdk-pixbuf/io-ico.c +--- gtk+-2.4.9.orig/gdk-pixbuf/io-ico.c 2004-08-25 18:52:18.000000000 +0200 ++++ gtk+-2.4.9/gdk-pixbuf/io-ico.c 2004-09-15 00:40:17.000000000 +0200 +@@ -210,6 +210,14 @@ + + State->HeaderSize = 6 + IconCount*16; + ++ if (State->HeaderSize < 0) { ++ g_set_error (error, ++ GDK_PIXBUF_ERROR, ++ GDK_PIXBUF_ERROR_CORRUPT_IMAGE, ++ _("Invalid header in icon")); ++ return; ++ } ++ + if (State->HeaderSize>State->BytesInHeaderBuf) { + guchar *tmp=g_try_realloc(State->HeaderBuf,State->HeaderSize); + if (!tmp) { |