summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-05-11 01:22:59 +0100
committerSam James <sam@gentoo.org>2023-05-11 01:22:59 +0100
commit8d521b45d6115b8fadc5bea2327c34856e9e494d (patch)
tree2b6249402e8960ea9f0d29e7fe107289186bbdf4 /media-libs
parentmedia-libs/libaom: add 3.6.1 (diff)
downloadgentoo-8d521b45d6115b8fadc5bea2327c34856e9e494d.tar.gz
gentoo-8d521b45d6115b8fadc5bea2327c34856e9e494d.tar.bz2
gentoo-8d521b45d6115b8fadc5bea2327c34856e9e494d.zip
media-libs/plib: build w/ c++03 (-Wregister)
Closes: https://bugs.gentoo.org/895876 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/plib/plib-1.8.5-r4.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/media-libs/plib/plib-1.8.5-r4.ebuild b/media-libs/plib/plib-1.8.5-r4.ebuild
index 27d275bb8f4a..c9e1b9c6f170 100644
--- a/media-libs/plib/plib-1.8.5-r4.ebuild
+++ b/media-libs/plib/plib-1.8.5-r4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit autotools
+inherit autotools flag-o-matic
DESCRIPTION="Multimedia library used by many games"
HOMEPAGE="http://plib.sourceforge.net/"
@@ -30,6 +30,8 @@ src_prepare() {
}
src_configure() {
+ append-cxxflags -std=c++03
+
local myconf=(
--enable-shared
)