diff --git a/libs/libwebp/Makefile b/libs/libwebp/Makefile index 319d1a06b..a82af951a 100644 --- a/libs/libwebp/Makefile +++ b/libs/libwebp/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libwebp PKG_VERSION:=1.0.3 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://storage.googleapis.com/downloads.webmproject.org/releases/webp @@ -14,7 +14,6 @@ PKG_LICENSE_FILES:=COPYING PKG_INSTALL:=1 PKG_BUILD_PARALLEL:=1 -PKG_USE_MIPS16:=0 include $(INCLUDE_DIR)/package.mk diff --git a/libs/libwebp/patches/010-mips16.patch b/libs/libwebp/patches/010-mips16.patch new file mode 100644 index 000000000..3e69770ac --- /dev/null +++ b/libs/libwebp/patches/010-mips16.patch @@ -0,0 +1,11 @@ +--- a/src/dsp/dsp.h ++++ b/src/dsp/dsp.h +@@ -95,7 +95,7 @@ extern "C" { + #define WEBP_USE_INTRINSICS + #endif + +-#if defined(__mips__) && !defined(__mips64) && \ ++#if defined(__mips__) && !defined(__mips16) && !defined(__mips64) && \ + defined(__mips_isa_rev) && (__mips_isa_rev >= 1) && (__mips_isa_rev < 6) + #define WEBP_USE_MIPS32 + #if (__mips_isa_rev >= 2)