mirror of
https://github.com/novatiq/packages.git
synced 2026-04-24 21:14:40 +01:00
libwebp: Fix compilation with mips16
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
11
libs/libwebp/patches/010-mips16.patch
Normal file
11
libs/libwebp/patches/010-mips16.patch
Normal file
@@ -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)
|
||||
Reference in New Issue
Block a user