diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-07-24 04:01:30 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-07-24 04:30:45 -0300 |
commit | 5402121572105dacecfadf254239c4aafed6dbae (patch) | |
tree | 952de90f4358f4bbba6fa91a25d3ecd34bef8965 /community/sox/add-destdir.patch | |
parent | 8fe1e872abac8f72643a642a9aba31a7f1a1e4dc (diff) | |
download | aports-5402121572105dacecfadf254239c4aafed6dbae.tar.bz2 aports-5402121572105dacecfadf254239c4aafed6dbae.tar.xz |
community/sox: backport a few CVEs
Thanks to Arch Linux for doing most of the hard work
resolves #10522
Diffstat (limited to 'community/sox/add-destdir.patch')
-rw-r--r-- | community/sox/add-destdir.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/community/sox/add-destdir.patch b/community/sox/add-destdir.patch new file mode 100644 index 0000000000..fe21297214 --- /dev/null +++ b/community/sox/add-destdir.patch @@ -0,0 +1,27 @@ +From 0d70a21c6f98575984c28f4e98a1fbf929195456 Mon Sep 17 00:00:00 2001 +From: Jiri Kucera <jkucera@redhat.com> +Date: Thu, 25 Jan 2018 21:53:30 +0100 +Subject: [PATCH] make: add $(DESTDIR) in installcheck target [bug #302] + +This ensures the proper sox binary is invoked during tests. +--- + src/Makefile.am | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/Makefile.am b/src/Makefile.am +index 7cceaafd..caf98645 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -194,6 +194,6 @@ loc: + # would run the test suite, but an uninstalled libltdl build cannot + # currently load its formats and effects, so the checks would fail. + installcheck: +- $(srcdir)/tests.sh --bindir=${bindir} --builddir=${builddir} --srcdir=${srcdir} +- $(srcdir)/testall.sh --bindir=${bindir} --srcdir=${srcdir} ++ $(srcdir)/tests.sh --bindir=$(DESTDIR)${bindir} --builddir=${builddir} --srcdir=${srcdir} ++ $(srcdir)/testall.sh --bindir=$(DESTDIR)${bindir} --srcdir=${srcdir} + +-- +2.22.0 + + |