• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/matchbox-lib/0002-libpng15.patch
Yann E. MORINYann E. MORIN committed 3b468acbb4e03 Jun 2015
Raw file
Source viewDiff to previous
 
1
Support for libpng 1.5+ shamelessly taken from Gentoo.
2
​
3
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
4
​
5
--- a/libmb/mbpixbuf.c
6
+++ b/libmb/mbpixbuf.c
7
@@ -247,7 +247,7 @@
8
     return NULL;
9
   }
10
 
11
-  if ( setjmp( png_ptr->jmpbuf ) ) {
12
+  if ( setjmp( png_jmpbuf(png_ptr) ) ) {
13
     png_destroy_read_struct( &png_ptr, &info_ptr, NULL);
14
     fclose(fd);
15
     return NULL;
16
@@ -269,8 +269,8 @@
17
       ( color_type == PNG_COLOR_TYPE_GRAY_ALPHA ))
18
     png_set_gray_to_rgb(png_ptr);
19
  
20
-  if ( info_ptr->color_type == PNG_COLOR_TYPE_RGB_ALPHA 
21
-       || info_ptr->color_type == PNG_COLOR_TYPE_GRAY_ALPHA
22
+  if ( color_type == PNG_COLOR_TYPE_RGB_ALPHA 
23
+       || color_type == PNG_COLOR_TYPE_GRAY_ALPHA
24
        )
25
     *has_alpha = 1;
26
   else
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.