Update libwebp to 1.0.0

This commit is contained in:
Andrei Alexeyev 2018-11-16 01:43:25 +02:00 committed by mabrand
parent 4c0ba6ad62
commit d5d1a8aa60
2 changed files with 3 additions and 26 deletions

View File

@ -1,23 +0,0 @@
This file is part of MXE. See LICENSE.md for licensing information.
Contains ad hoc patches for cross building.
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Tony Theodore <tonyt@logyst.com>
Date: Sat, 18 Nov 2017 21:36:24 +1100
Subject: [PATCH 1/1] fixes
diff --git a/src/dec/webp.c b/src/dec/webp.c
index 1111111..2222222 100644
--- a/src/dec/webp.c
+++ b/src/dec/webp.c
@@ -451,7 +451,7 @@ void WebPResetDecParams(WebPDecParams* const params) {
// "Into" decoding variants
// Main flow
-static VP8StatusCode DecodeInto(const uint8_t* const data, size_t data_size,
+__attribute__ ((force_align_arg_pointer)) static VP8StatusCode DecodeInto(const uint8_t* const data, size_t data_size,
WebPDecParams* const params) {
VP8StatusCode status;
VP8Io io;

View File

@ -3,8 +3,8 @@
PKG := libwebp
$(PKG)_WEBSITE := https://developers.google.com/speed/webp/
$(PKG)_IGNORE :=
$(PKG)_VERSION := 0.4.4
$(PKG)_CHECKSUM := c65d34edb57338e331ba4d622227a2b3179444cfca17d02c34f1ead63f603e86
$(PKG)_VERSION := 1.0.0
$(PKG)_CHECKSUM := 84259c4388f18637af3c5a6361536d754a5394492f91be1abc2e981d4983225b
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := https://storage.googleapis.com/downloads.webmproject.org/releases/webp/$($(PKG)_FILE)
@ -22,4 +22,4 @@ define $(PKG)_BUILD
$(MXE_CONFIGURE_OPTS) \
--enable-everything
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= man_MANS=
endef
endef