From bfa61f4884932c538ca0c781e924b593fdd54c59 Mon Sep 17 00:00:00 2001 From: lemmi Date: Tue, 24 Jan 2017 21:08:29 +0100 Subject: [PATCH] zimg: update to 2.4. --- srcpkgs/zimg/patches/fix-cross-build.patch | 33 ---------------------- srcpkgs/zimg/template | 7 ++--- 2 files changed, 2 insertions(+), 38 deletions(-) delete mode 100644 srcpkgs/zimg/patches/fix-cross-build.patch diff --git a/srcpkgs/zimg/patches/fix-cross-build.patch b/srcpkgs/zimg/patches/fix-cross-build.patch deleted file mode 100644 index 59a28a2ae70..00000000000 --- a/srcpkgs/zimg/patches/fix-cross-build.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- configure.ac.orig 2016-05-23 13:02:19.860132419 +0200 -+++ configure.ac 2016-05-23 13:02:31.867133038 +0200 -@@ -9,11 +9,9 @@ - - LT_INIT([win32-dll]) - -+AC_CANONICAL_SYSTEM - AC_PROG_CXX - --AC_CANONICAL_HOST -- -- - AC_ARG_ENABLE([testapp], AS_HELP_STRING([--enable-testapp], [Compile the test application. (default=no)])) - AC_ARG_ENABLE([example], AS_HELP_STRING([--enable-example], [Compile example programs. (default=no)])) - AC_ARG_ENABLE([unit-test], AS_HELP_STRING([--enable-unit-test], [Compile unit tests. May result in slower code. (default=no)])) -@@ -26,7 +24,7 @@ - AS_IF([test "x$enable_unit_test" = "xyes"], - [ - CFLAGS="$CFLAGS -fno-fast-math -ffp-contract=off" CXXFLAGS="$CXXFLAGS -fno-fast-math -ffp-contract=off" -- AS_CASE([$host_cpu], -+ AS_CASE([$target_cpu], - [i?86], [CFLAGS="$CFLAGS -mfpmath=sse -msse2" CXXFLAGS="$CXXFLAGS -mfpmath=sse -msse2"], - [x86_64], [], - [AC_MSG_WARN([Could not determine how to enable IEEE-754 compliance on host. Tests may fail.])]) -@@ -44,7 +42,7 @@ - - X86="no" - --AS_CASE([$host_cpu], -+AS_CASE([$target_cpu], - [i?86], [BITS="32" X86="yes"], - [x86_64], [BITS="64" X86="yes"]) - diff --git a/srcpkgs/zimg/template b/srcpkgs/zimg/template index 2cc1f22a1fc..02c73099134 100644 --- a/srcpkgs/zimg/template +++ b/srcpkgs/zimg/template @@ -1,9 +1,6 @@ # Template file for 'zimg' pkgname=zimg -# 2.1 needs a patch to cross compile. -# Please remove on update -# https://github.com/sekrit-twc/zimg/issues/47 -version=2.3 +version=2.4 revision=1 wrksrc=zimg-release-${version} build_style=gnu-configure @@ -13,7 +10,7 @@ maintainer="lemmi " license="WTFPL" homepage="https://github.com/sekrit-twc/zimg" distfiles="https://github.com/sekrit-twc/zimg/archive/release-${version}.tar.gz" -checksum=09962385f986dbcfd8ed6160cdafc2bc57bef8c6bfb3ca3a4bcaa482f09c06fa +checksum=996ea0e446df6ff4d6cb9c04a77d60978eca47c32d3785cd63fe8c29a9523d1f pre_configure() { ./autogen.sh