diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2010-06-22 06:06:33 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2010-06-22 06:06:33 +0800 |
commit | 9e1e4deccab2e6e281cb6a2555868f72eb8ddcf9 (patch) | |
tree | 485729a4e316801e05b9e152087293579bbadf9e | |
parent | a924f51a72e7b4dfd17c83ba5d4711d4359a0c63 (diff) | |
download | freebsd-ports-gnome-9e1e4deccab2e6e281cb6a2555868f72eb8ddcf9.tar.gz freebsd-ports-gnome-9e1e4deccab2e6e281cb6a2555868f72eb8ddcf9.tar.zst freebsd-ports-gnome-9e1e4deccab2e6e281cb6a2555868f72eb8ddcf9.zip |
- Fix png plugin
PR: 147891
Submitted by: Ivan Klymenko <fidaj@ukr.net>
Feature safe: yes
-rw-r--r-- | multimedia/gmerlin/Makefile | 2 | ||||
-rw-r--r-- | multimedia/gmerlin/files/patch-plugins-png-ir_png.c | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/multimedia/gmerlin/Makefile b/multimedia/gmerlin/Makefile index 71fad74b23c2..9dc24267e938 100644 --- a/multimedia/gmerlin/Makefile +++ b/multimedia/gmerlin/Makefile @@ -7,7 +7,7 @@ PORTNAME= gmerlin PORTVERSION= 0.4.1 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= multimedia MASTER_SITES= SF diff --git a/multimedia/gmerlin/files/patch-plugins-png-ir_png.c b/multimedia/gmerlin/files/patch-plugins-png-ir_png.c new file mode 100644 index 000000000000..8f243c92796b --- /dev/null +++ b/multimedia/gmerlin/files/patch-plugins-png-ir_png.c @@ -0,0 +1,11 @@ +--- ./plugins/png/ir_png.c.orig 2009-06-11 19:25:29.000000000 +0400 ++++ ./plugins/png/ir_png.c 2010-05-31 19:38:31.000000000 +0400 +@@ -126,7 +126,7 @@ + bits = 16; + } + if(bit_depth < 8) +- png_set_gray_1_2_4_to_8(png->png_ptr); ++ png_set_expand_gray_1_2_4_to_8(png->png_ptr); + if (png_get_valid(png->png_ptr, png->info_ptr, PNG_INFO_tRNS)) + { + png_set_tRNS_to_alpha(png->png_ptr); |