summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Scruggs <j.scruggs@gmail.com>2017-09-21 18:24:42 +0100
committerDavid Seifert <soap@gentoo.org>2017-09-23 10:37:28 +0200
commitec6cd66b05baeeb303f419fe800eb748f5651105 (patch)
tree103341913cd46ce8c31f29e87e3c3d04dd409612 /app-misc/ddcutil
parentmedia-gfx/openvdb: version bump to 4.0.2 (diff)
downloadgentoo-ec6cd66b05baeeb303f419fe800eb748f5651105.tar.gz
gentoo-ec6cd66b05baeeb303f419fe800eb748f5651105.tar.bz2
gentoo-ec6cd66b05baeeb303f419fe800eb748f5651105.zip
app-misc/ddcutil: Fix compile error with -O3 cflag
DDCUtil doesn't compile with the -O3 cflag, so replace it with -O2 Closes: https://github.com/gentoo/gentoo/pull/5758
Diffstat (limited to 'app-misc/ddcutil')
-rw-r--r--app-misc/ddcutil/ddcutil-0.8.4.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/app-misc/ddcutil/ddcutil-0.8.4.ebuild b/app-misc/ddcutil/ddcutil-0.8.4.ebuild
index 703177064be2..5942efa23a3e 100644
--- a/app-misc/ddcutil/ddcutil-0.8.4.ebuild
+++ b/app-misc/ddcutil/ddcutil-0.8.4.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-inherit autotools linux-info udev user
+inherit autotools flag-o-matic linux-info udev user
DESCRIPTION="Program for querying and changing monitor settings"
HOMEPAGE="http://www.ddcutil.com/"
@@ -53,6 +53,9 @@ src_prepare() {
}
src_configure() {
+ # Bug 607818.
+ replace-flags -O3 -O2
+
# Python API is still very experimental.
local myeconfargs=(
$(use_enable usb-monitor usb)