From 0b48db607600284456293466e90f121309cc30f8 Mon Sep 17 00:00:00 2001 From: Colin Booth Date: Wed, 24 Mar 2021 18:41:00 -0700 Subject: [PATCH] liba52: fix license, import patch to fix globals test Closes: #29738 [via git-merge-pr] --- .../liba52/patches/disable-globals-test.patch | 17 +++++++++++++++++ srcpkgs/liba52/template | 4 ++-- 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/liba52/patches/disable-globals-test.patch diff --git a/srcpkgs/liba52/patches/disable-globals-test.patch b/srcpkgs/liba52/patches/disable-globals-test.patch new file mode 100644 index 00000000000..3a22a7c2604 --- /dev/null +++ b/srcpkgs/liba52/patches/disable-globals-test.patch @@ -0,0 +1,17 @@ +Description: Disable globals test + The tests makes sense during development to check for erroneously added global + symbols, but on a packing level we will catch the using symbols file. So we + disable the test. Especially since the test is not able to handle -fPIE as + default. +Author: Sebastian Ramacher +Forwarded: not-needed +Last-Update: 2017-02-04 + +--- test/Makefile.am ++++ test/Makefile.am +@@ -3,4 +3,4 @@ compare_SOURCES = compare.c + compare_LDADD = -lm + + EXTRA_DIST = regression tests compile globals +-TESTS = regression compile globals ++TESTS = regression compile diff --git a/srcpkgs/liba52/template b/srcpkgs/liba52/template index f0ae78985cb..f94b04c876d 100644 --- a/srcpkgs/liba52/template +++ b/srcpkgs/liba52/template @@ -1,14 +1,14 @@ # Template file for 'liba52' pkgname=liba52 version=0.7.4 -revision=8 +revision=9 wrksrc="a52dec-${version}" build_style=gnu-configure configure_args="--enable-shared" hostmakedepends="automake libtool" short_desc="Free ATSC A/52 stream decoder" maintainer="Orphaned " -license="GPL-2" +license="GPL-2.0-or-later" homepage="http://liba52.sourceforge.net/" distfiles="http://liba52.sourceforge.net/files/a52dec-${version}.tar.gz" checksum=a21d724ab3b3933330194353687df82c475b5dfb997513eef4c25de6c865ec33