summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2020-10-12 22:08:24 +0100
committerJames Le Cuirot <chewi@gentoo.org>2020-10-12 22:08:24 +0100
commit43a573c4850f15bd97b15db5b481eebf9c4d9f28 (patch)
treededd5672fde5c23c0b19592631860a73afbf9ffc /media-video
parentnet-im/signal-desktop-bin: remove old version (diff)
downloadgentoo-43a573c4850f15bd97b15db5b481eebf9c4d9f28.tar.gz
gentoo-43a573c4850f15bd97b15db5b481eebf9c4d9f28.tar.bz2
gentoo-43a573c4850f15bd97b15db5b481eebf9c4d9f28.zip
media-video/makemkv: Patch around missing quotes in configure
I have reported this upstream and I believe they will use a proper autoconf macro to set the -std flag in future. Closes: https://bugs.gentoo.org/746368 Suggested-By: Matt Whitlock Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'media-video')
-rw-r--r--media-video/makemkv/files/1.15.3-configure-CXXFLAGS-quoting.patch12
-rw-r--r--media-video/makemkv/makemkv-1.15.3.ebuild6
2 files changed, 17 insertions, 1 deletions
diff --git a/media-video/makemkv/files/1.15.3-configure-CXXFLAGS-quoting.patch b/media-video/makemkv/files/1.15.3-configure-CXXFLAGS-quoting.patch
new file mode 100644
index 000000000000..3dfe508a24a4
--- /dev/null
+++ b/media-video/makemkv/files/1.15.3-configure-CXXFLAGS-quoting.patch
@@ -0,0 +1,12 @@
+diff -Naur makemkv-oss-1.15.3~/configure makemkv-oss-1.15.3/configure
+--- makemkv-oss-1.15.3~/configure 2020-10-01 13:59:27.000000000 +0000
++++ makemkv-oss-1.15.3/configure 2020-10-03 20:49:45.588257151 +0000
+@@ -11726,7 +11726,7 @@
+ ENABLE_DEBUG=$enable_debug
+
+
+-if test -z $CXXFLAGS; then
++if test -z "$CXXFLAGS"; then
+ CXXFLAGS='-std=c++11'
+ fi
+
diff --git a/media-video/makemkv/makemkv-1.15.3.ebuild b/media-video/makemkv/makemkv-1.15.3.ebuild
index 4d94806d84df..3c81c3d3988b 100644
--- a/media-video/makemkv/makemkv-1.15.3.ebuild
+++ b/media-video/makemkv/makemkv-1.15.3.ebuild
@@ -47,7 +47,11 @@ BDEPEND="
CONFIG_CHECK="~CHR_DEV_SG"
S="${WORKDIR}/${MY_P}"
-PATCHES=( "${FILESDIR}"/${PN}-path.patch )
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-path.patch
+ "${FILESDIR}"/${PV}-configure-CXXFLAGS-quoting.patch
+)
src_configure() {
# See bug #439380.