Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jun 2010 20:51:23 GMT
From:      Ivan Klymenko <fidaj@ukr.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/147891: [patch] multimedia/gmerlin replacement of obsolete function png_set_gray_1_2_4_to_8()
Message-ID:  <201006152051.o5FKpN0g044266@www.freebsd.org>
Resent-Message-ID: <201006152100.o5FL022o063044@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         147891
>Category:       ports
>Synopsis:       [patch] multimedia/gmerlin replacement of obsolete function png_set_gray_1_2_4_to_8()
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 15 21:00:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Ivan Klymenko
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
individual
>Environment:
>Description:
gmerlin compiled with the option PNG "Enable PNG support" on
when I run openmovieeditor console prints the message:
[pluginregistry] Error: dlopen failed for /usr/local/lib/gmerlin/plugins/ir_png.so: /usr/local/lib/gmerlin/plugins/ir_png.so: Undefined symbol "png_set_gray_1_2_4_to_8"
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- plugins/png/ir_png.c.orig	2010-06-15 23:27:27.000000000 +0300
+++ plugins/png/ir_png.c	2010-06-15 23:27:45.000000000 +0300
@@ -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);


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006152051.o5FKpN0g044266>