summaryrefslogtreecommitdiff
path: root/app-misc/sphinx/sphinx-2.2.11-r5.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-14 12:50:42 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-14 12:50:42 +0000
commit7d58bf45ea7b2d8f188fd2aa40484a8c9a3381a7 (patch)
tree74a135cfbc172935bc5b36a9e7c29915932b5445 /app-misc/sphinx/sphinx-2.2.11-r5.ebuild
parentafa8da78d8135ca28150730e9c60af9d875f0a5b (diff)
gentoo auto-resync : 14:11:2022 - 12:50:41
Diffstat (limited to 'app-misc/sphinx/sphinx-2.2.11-r5.ebuild')
-rw-r--r--app-misc/sphinx/sphinx-2.2.11-r5.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/app-misc/sphinx/sphinx-2.2.11-r5.ebuild b/app-misc/sphinx/sphinx-2.2.11-r5.ebuild
index a12e8f50f0b2..462ddf809f44 100644
--- a/app-misc/sphinx/sphinx-2.2.11-r5.ebuild
+++ b/app-misc/sphinx/sphinx-2.2.11-r5.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit autotools toolchain-funcs
+inherit autotools flag-o-matic toolchain-funcs
#MY_P=${P/_/-}
MY_P=${P}-release
@@ -58,6 +58,10 @@ src_prepare() {
}
src_configure() {
+ # This code is no longer maintained and not compatible with modern C/C++ standards, bug #880923
+ append-cflags -std=gnu89
+ append-cxxflags -std=c++11
+
# fix libiconv detection
use !elibc_glibc && export ac_cv_search_iconv=-liconv