aboutsummaryrefslogtreecommitdiff
path: root/multimedia/gmerlin
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2010-06-21 22:06:33 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2010-06-21 22:06:33 +0000
commit05c93ec7ae83cf022f1420a17265adad0c5348a0 (patch)
treeea3d4473929abdbd9874b6f5eb7d9aa18e0157b5 /multimedia/gmerlin
parent2aa38f3ee8e89bea320bb4cbb82c0c43c66dae0e (diff)
downloadports-05c93ec7ae83cf022f1420a17265adad0c5348a0.tar.gz
ports-05c93ec7ae83cf022f1420a17265adad0c5348a0.zip
Notes
Diffstat (limited to 'multimedia/gmerlin')
-rw-r--r--multimedia/gmerlin/Makefile2
-rw-r--r--multimedia/gmerlin/files/patch-plugins-png-ir_png.c11
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);