ports/146230: [patch] sysutils/jfbterm: png14 regression

Anonymous swell.k at gmail.com
Sun May 2 09:10:11 UTC 2010


>Number:         146230
>Category:       ports
>Synopsis:       [patch] sysutils/jfbterm: png14 regression
>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:   Sun May 02 09:10:10 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Anonymous
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
--- a.diff begins here ---
Index: sysutils/jfbterm/files/patch-configure
===================================================================
RCS file: /a/.cvsup/ports/sysutils/jfbterm/files/patch-configure,v
retrieving revision 1.1
diff -u -p -r1.1 patch-configure
--- sysutils/jfbterm/files/patch-configure	12 Mar 2010 20:39:12 -0000	1.1
+++ sysutils/jfbterm/files/patch-configure	2 May 2010 08:40:31 -0000
@@ -1,6 +1,15 @@
 --- configure.in.orig	2009-02-10 19:40:45.000000000 -0500
 +++ configure.in	2010-02-22 16:37:33.000000000 -0500
-@@ -111,7 +111,7 @@
+@@ -31,7 +31,7 @@ esac
+ 
+ case $system in
+ Linux|FreeBSD|NetBSD)
+-  PKG_CHECK_MODULES(LIBPNG, libpng12 >= 1.2.0, have_libpng=true, have_libpng=false)
++  PKG_CHECK_MODULES(LIBPNG, libpng14 >= 1.2.0, have_libpng=true, have_libpng=false)
+   ;;
+ OpenBSD)
+   PKG_CHECK_MODULES(LIBPNG, libpng >= 1.2.0, have_libpng=true, have_libpng=false)
+@@ -111,7 +111,7 @@ if test x$enable_vga16fb = xyes; then
    case $system in
    Linux|FreeBSD)
      case $machine in
Index: sysutils/jfbterm/files/patch-splash-png.c
===================================================================
RCS file: sysutils/jfbterm/files/patch-splash-png.c
diff -N sysutils/jfbterm/files/patch-splash-png.c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ sysutils/jfbterm/files/patch-splash-png.c	2 May 2010 08:41:53 -0000
@@ -0,0 +1,11 @@
+--- splash-png.c~
++++ splash-png.c
+@@ -103,7 +103,7 @@ u_char *read_png_file(FILE *stream, u_in
+ 	if (color_type == PNG_COLOR_TYPE_PALETTE)
+ 		png_set_palette_to_rgb(png_ptr);
+ 	if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
+-		png_set_gray_1_2_4_to_8(png_ptr);
++		png_set_expand_gray_1_2_4_to_8(png_ptr);
+ 	if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS))
+ 		png_set_tRNS_to_alpha(png_ptr);
+ 	if (bit_depth == 16)
--- a.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list