From 789976184432c23f72f0acac1bef1384a1450e6a Mon Sep 17 00:00:00 2001 From: Nathan Owens Date: Wed, 13 Nov 2019 19:48:10 -0600 Subject: [PATCH] gavl: unmark nocross --- srcpkgs/gavl/patches/cross-test.patch | 13 +++++++++++++ srcpkgs/gavl/template | 3 +-- 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/gavl/patches/cross-test.patch diff --git a/srcpkgs/gavl/patches/cross-test.patch b/srcpkgs/gavl/patches/cross-test.patch new file mode 100644 index 00000000000..81a81a2f167 --- /dev/null +++ b/srcpkgs/gavl/patches/cross-test.patch @@ -0,0 +1,13 @@ +diff --git configure configure +index d3702c3..79a958b 100755 +--- configure ++++ configure +@@ -11188,7 +11188,7 @@ LIBS=$RT_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLOCK_MONOTONIC" >&5 + $as_echo_n "checking for CLOCK_MONOTONIC... " >&6; } + +-if test "$cross_compiling" = yes; then : ++if test "$cross_compiling" = xxx; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + as_fn_error "cannot run test program while cross compiling diff --git a/srcpkgs/gavl/template b/srcpkgs/gavl/template index 3fad4037877..0f5f50d9356 100644 --- a/srcpkgs/gavl/template +++ b/srcpkgs/gavl/template @@ -1,7 +1,7 @@ # Template file for 'gavl' pkgname=gavl version=1.4.0 -revision=3 +revision=4 build_style=gnu-configure hostmakedepends="doxygen" short_desc="Low level library, upon which multimedia APIs can be built" @@ -10,7 +10,6 @@ license="GPL-3.0-or-later" homepage="http://gmerlin.sourceforge.net/gavl.html" distfiles="${SOURCEFORGE_SITE}/gmerlin/gavl/${version}/gavl-${version}.tar.gz" checksum=51aaac41391a915bd9bad07710957424b046410a276e7deaff24a870929d33ce -nocross="yes" CFLAGS="-lm" gavl-devel_package() {