diff options
author | Koop Mast <kwm@FreeBSD.org> | 2010-05-15 16:05:44 +0000 |
---|---|---|
committer | Koop Mast <kwm@FreeBSD.org> | 2010-05-15 16:05:44 +0000 |
commit | 95b1c684e393c089c43d66ce8a162567bb53f2d3 (patch) | |
tree | b4eb2221ad3a1990b22468ac5e6fc742e1d3ba4a /x11-toolkits/gtk20 | |
parent | d4dd342b6d35c9b61a0e45cb3eeea79443472630 (diff) |
Gtk 2.20.x got a bug fix because libpng 1.2 defines png_guint_32 as
unsigned long. However png 1.4.x fixed the problem with
Submitted by: nox@
Notes
Notes:
svn path=/head/; revision=254355
Diffstat (limited to 'x11-toolkits/gtk20')
-rw-r--r-- | x11-toolkits/gtk20/Makefile | 2 | ||||
-rw-r--r-- | x11-toolkits/gtk20/files/patch-gdk-pixbuf_io-png.c | 26 |
2 files changed, 27 insertions, 1 deletions
diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile index 5c3b740e994a..b498cb7ea57e 100644 --- a/x11-toolkits/gtk20/Makefile +++ b/x11-toolkits/gtk20/Makefile @@ -8,7 +8,7 @@ PORTNAME= gtk PORTVERSION= 2.20.1 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= x11-toolkits MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/,} \ ftp://ftp.gtk.org/pub/gtk/%SUBDIR%/ \ diff --git a/x11-toolkits/gtk20/files/patch-gdk-pixbuf_io-png.c b/x11-toolkits/gtk20/files/patch-gdk-pixbuf_io-png.c new file mode 100644 index 000000000000..cca139d6b99a --- /dev/null +++ b/x11-toolkits/gtk20/files/patch-gdk-pixbuf_io-png.c @@ -0,0 +1,26 @@ +--- gdk-pixbuf/io-png.c.orig 2010-05-02 05:14:27.000000000 +0200 ++++ gdk-pixbuf/io-png.c 2010-05-15 17:30:35.000000000 +0200 +@@ -261,7 +261,11 @@ gdk_pixbuf__png_image_load (FILE *f, GEr + gchar *icc_profile_base64; + const gchar *icc_profile_title; + const gchar *icc_profile; ++#if defined(INT_MAX) && (INT_MAX > 0x7ffffffeL) ++ guint icc_profile_size; ++#else + gulong icc_profile_size; ++#endif + guint32 retval; + gint compression_type; + +@@ -607,7 +611,11 @@ png_info_callback (png_structp png_rea + gchar *icc_profile_base64; + const gchar *icc_profile_title; + const gchar *icc_profile; ++#if defined(INT_MAX) && (INT_MAX > 0x7ffffffeL) ++ guint icc_profile_size; ++#else + gulong icc_profile_size; ++#endif + guint32 retval; + gint compression_type; + |