summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-06-11 00:21:12 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-06-11 00:30:13 +0200
commit0e59fbe612bb92f9c8625dc187a5420a018df934 (patch)
tree868f12e0aca9bb05068d324fedad93c9677b19cb /media-libs/soxr/files
parentdev-perl/IPC-Signal: stable 1.0.0-r2 for ia64, bug #657684 (diff)
downloadgentoo-0e59fbe612bb92f9c8625dc187a5420a018df934.tar.gz
gentoo-0e59fbe612bb92f9c8625dc187a5420a018df934.tar.bz2
gentoo-0e59fbe612bb92f9c8625dc187a5420a018df934.zip
media-libs/soxr: Fix pkgconfig w/ USE=examples
Thanks-to: PhobosK <phobosk@fastmail.fm> Closes: https://bugs.gentoo.org/657300 Closes: https://bugs.gentoo.org/650748 Closes: https://bugs.gentoo.org/651116 Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'media-libs/soxr/files')
-rw-r--r--media-libs/soxr/files/soxr-0.1.3-fix-pkgconfig.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/media-libs/soxr/files/soxr-0.1.3-fix-pkgconfig.patch b/media-libs/soxr/files/soxr-0.1.3-fix-pkgconfig.patch
new file mode 100644
index 000000000000..60818f5405d7
--- /dev/null
+++ b/media-libs/soxr/files/soxr-0.1.3-fix-pkgconfig.patch
@@ -0,0 +1,25 @@
+Fix pkgconfig 'Version' w/ USE=examples
+https://bugs.gentoo.org/657300
+
+--- a/CMakeLists.txt 2018-02-23 23:39:25.000000000 +0200
++++ b/CMakeLists.txt 2018-06-03 22:26:38.673844365 +0300
+@@ -3,7 +3,7 @@
+
+ cmake_minimum_required (VERSION 3.1 FATAL_ERROR)
+
+-project (soxr C)
++project (soxr)
+ set (DESCRIPTION_SUMMARY
+ "High quality, one-dimensional sample-rate conversion library")
+
+@@ -100,10 +100,6 @@
+ set (LIBM_LIBRARIES m)
+ endif ()
+
+-if (${BUILD_EXAMPLES})
+- project (${PROJECT_NAME}) # Adds c++ compiler
+-endif ()
+-
+ if (WITH_OPENMP)
+ find_package (OpenMP)
+ if (OPENMP_FOUND)