-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
- Loading branch information
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
config BR2_PACKAGE_LIBPNG16 | ||
bool "libpng16" | ||
select BR2_PACKAGE_ZLIB | ||
help | ||
Library for handling PNG (Portable Network Graphics) | ||
images. | ||
|
||
http://www.libpng.org/ |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
################################################################################ | ||
# | ||
# libpng16 | ||
# | ||
################################################################################ | ||
|
||
LIBPNG16_VERSION = 1.6.16 | ||
LIBPNG16_SERIES = 16 | ||
LIBPNG16_SOURCE = libpng-$(LIBPNG16_VERSION).tar.gz | ||
LIBPNG16_SITE = http://downloads.sourceforge.net/project/libpng/libpng${LIBPNG16_SERIES}/older-releases/$(LIBPNG16_VERSION) | ||
LIBPNG16_LICENSE = libpng license | ||
LIBPNG16_LICENSE_FILES = LICENSE | ||
LIBPNG16_INSTALL_STAGING = YES | ||
LIBPNG16_DEPENDENCIES = host-pkgconf zlib | ||
LIBPNG16_CONFIG_SCRIPTS = libpng$(LIBPNG16_SERIES)-config libpng-config | ||
|
||
$(eval $(autotools-package)) | ||
$(eval $(host-autotools-package)) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
diff -ru SDL2_image-2.0.0.org/IMG_png.c sdl2_image-2.0.0/IMG_png.c | ||
--- SDL2_image-2.0.0.org/IMG_png.c 2013-08-10 19:38:36.000000000 +0200 | ||
+++ sdl2_image-2.0.0/IMG_png.c 2014-07-03 19:57:14.773270137 +0200 | ||
@@ -76,6 +76,7 @@ | ||
--- a/IMG_png.c 2019-06-30 06:52:03.000000000 +0200 | ||
+++ b/IMG_png.c 2021-06-06 09:05:44.499550925 +0200 | ||
@@ -86,6 +86,7 @@ | ||
#if (PNG_LIBPNG_VER_MINOR < 6) | ||
typedef png_structp png_const_structrp; | ||
typedef png_infop png_const_inforp; | ||
typedef png_structp png_structrp; | ||
typedef png_infop png_inforp; | ||
+typedef png_bytep png_const_bytep; | ||
#endif | ||
#endif | ||
|
||
typedef png_const_structp png_const_structrp; | ||
typedef png_const_infop png_const_inforp; | ||
/* noconst15: version < 1.6 doesn't have const, >= 1.6 adds it */ |