summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--groups/251.native_packages_lib.group6
-rw-r--r--patches/libexif-0.6.23.local.patch36
2 files changed, 3 insertions, 39 deletions
diff --git a/groups/251.native_packages_lib.group b/groups/251.native_packages_lib.group
index e3215514..c170ec79 100644
--- a/groups/251.native_packages_lib.group
+++ b/groups/251.native_packages_lib.group
@@ -72,9 +72,9 @@ sdl1_image sdl1_ttf sdl2 sdl2_image sdl2_ttf wolfssl")";
: ${PKG_LIBEVENT_VERSION:=2.1.12-stable};
: ${PKG_LIBEVENT_URL:=https://github.com/libevent/libevent/releases/download/release-${PKG_LIBEVENT_VERSION}/libevent-${PKG_LIBEVENT_VERSION}.tar.gz};
: ${PKG_LIBEVENT_CONFIG_CACHE_EXTRA:="ac_pe_target=true"};
-: ${PKG_LIBEXIF_SHA256SUM:=a740a99920eb81ae0aa802bb46e683ce6e0cde061c210f5d5bde5b8572380431};
-: ${PKG_LIBEXIF_VERSION:=0.6.23};
-: ${PKG_LIBEXIF_URL:=https://github.com/libexif/libexif/releases/download/v${PKG_LIBEXIF_VERSION}/libexif-${PKG_LIBEXIF_VERSION}.tar.xz};
+: ${PKG_LIBEXIF_SHA256SUM:=d47564c433b733d83b6704c70477e0a4067811d184ec565258ac563d8223f6ae};
+: ${PKG_LIBEXIF_VERSION:=0.6.24};
+: ${PKG_LIBEXIF_URL:=https://github.com/libexif/libexif/releases/download/v${PKG_LIBEXIF_VERSION}/libexif-${PKG_LIBEXIF_VERSION}.tar.bz2};
: ${PKG_LIBFASTJSON_SHA256SUM:=3544c757668b4a257825b3cbc26f800f59ef3c1ff2a260f40f96b48ab1d59e07};
: ${PKG_LIBFASTJSON_VERSION:=0.99.8};
: ${PKG_LIBFASTJSON_URL:=http://download.rsyslog.com/libfastjson/libfastjson-${PKG_LIBFASTJSON_VERSION}.tar.gz};
diff --git a/patches/libexif-0.6.23.local.patch b/patches/libexif-0.6.23.local.patch
deleted file mode 100644
index d5949e03..00000000
--- a/patches/libexif-0.6.23.local.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 0c925491dea995ca96770159158bb8d57a48d84b Mon Sep 17 00:00:00 2001
-From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-Date: Wed, 15 Sep 2021 07:56:32 +0200
-Subject: [PATCH] libexif/exif-gps-ifd.c: fix build with gcc 4.8
-
-Fix the following build failure with gcc 4.8 raised since version 0.6.23 and
-https://github.com/libexif/libexif/commit/e12c3529813cd16d50bf0a1c759093e1039dffec:
-
-exif-gps-ifd.c: In function 'exif_get_gps_tag_info':
-exif-gps-ifd.c:62:3: error: 'for' loop initial declarations are only allowed in C99 mode
- for (int i = 0; i < sizeof(exif_gps_ifd_tags) / sizeof(ExifGPSIfdTagInfo); ++i) {
- ^
-exif-gps-ifd.c:62:3: note: use option -std=c99 or -std=gnu99 to compile your code
-
-Fixes:
- - http://autobuild.buildroot.org/results/7dd222e06d1e6611449fb8fe7516817c9ad43d65
-
-Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
----
- libexif/exif-gps-ifd.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/libexif/exif-gps-ifd.c b/libexif/exif-gps-ifd.c
-index 9c9ba70..de5f950 100644
---- a/libexif/exif-gps-ifd.c
-+++ b/libexif/exif-gps-ifd.c
-@@ -59,7 +59,8 @@ const static struct ExifGPSIfdTagInfo exif_gps_ifd_tags[] = {
- };
-
- const ExifGPSIfdTagInfo *exif_get_gps_tag_info(ExifTag tag) {
-- for (int i = 0; i < sizeof(exif_gps_ifd_tags) / sizeof(ExifGPSIfdTagInfo); ++i) {
-+ int i;
-+ for (i = 0; i < sizeof(exif_gps_ifd_tags) / sizeof(ExifGPSIfdTagInfo); ++i) {
- if (tag==exif_gps_ifd_tags[i].tag)
- return &exif_gps_ifd_tags[i];
- }