From nobody@FreeBSD.org  Tue Jun 15 20:51:23 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id F04FC106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 15 Jun 2010 20:51:23 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id DFC5F8FC08
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 15 Jun 2010 20:51:23 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o5FKpNno044269
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 15 Jun 2010 20:51:23 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o5FKpN0g044266;
	Tue, 15 Jun 2010 20:51:23 GMT
	(envelope-from nobody)
Message-Id: <201006152051.o5FKpN0g044266@www.freebsd.org>
Date: Tue, 15 Jun 2010 20:51:23 GMT
From: Ivan Klymenko <fidaj@ukr.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] multimedia/gmerlin replacement of obsolete function png_set_gray_1_2_4_to_8()
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>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:    amdmi3
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 15 21:00:01 UTC 2010
>Closed-Date:    Mon Jun 21 22:06:38 UTC 2010
>Last-Modified:  Mon Jun 21 22:10:02 UTC 2010
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->amdmi3 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Jun 15 21:00:21 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=147891 
State-Changed-From-To: open->closed 
State-Changed-By: amdmi3 
State-Changed-When: Mon Jun 21 22:06:37 UTC 2010 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=147891 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/147891: commit references a PR
Date: Mon, 21 Jun 2010 22:06:46 +0000 (UTC)

 amdmi3      2010-06-21 22:06:33 UTC
 
   FreeBSD ports repository
 
   Modified files:
     multimedia/gmerlin   Makefile 
   Added files:
     multimedia/gmerlin/files patch-plugins-png-ir_png.c 
   Log:
   - Fix png plugin
   
   PR:             147891
   Submitted by:   Ivan Klymenko <fidaj@ukr.net>
   Feature safe:   yes
   
   Revision  Changes    Path
   1.13      +1 -1      ports/multimedia/gmerlin/Makefile
   1.1       +11 -0     ports/multimedia/gmerlin/files/patch-plugins-png-ir_png.c (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
