mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
app-emacs/doxymacs: remove -Werror; bump EAPI
Closes: https://bugs.gentoo.org/906024 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
inherit elisp flag-o-matic
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Doxygen editing minor mode"
|
||||
HOMEPAGE="http://doxymacs.sourceforge.net/"
|
||||
@@ -13,14 +13,18 @@ LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
DEPEND=">=dev-libs/libxml2-2.6.13"
|
||||
RDEPEND="${DEPEND}"
|
||||
RDEPEND=">=dev-libs/libxml2-2.6.13"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=("${FILESDIR}"/${P}-gcc7.patch)
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-flags.patch
|
||||
"${FILESDIR}"/${P}-gcc7.patch
|
||||
)
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README TODO )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_configure() {
|
||||
append-flags -Wno-error #260874
|
||||
econf --with-lispdir="${SITELISP}/${PN}"
|
||||
}
|
||||
|
||||
@@ -31,5 +35,6 @@ src_compile() {
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
dodoc AUTHORS ChangeLog NEWS README TODO
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
21
app-emacs/doxymacs/files/doxymacs-1.8.0-flags.patch
Normal file
21
app-emacs/doxymacs/files/doxymacs-1.8.0-flags.patch
Normal file
@@ -0,0 +1,21 @@
|
||||
--- a/c/Makefile.am
|
||||
+++ b/c/Makefile.am
|
||||
@@ -7,6 +7,6 @@ doxymacs_parser_SOURCES = doxymacs_parser.c
|
||||
|
||||
INCLUDES = $(XML_CPPFLAGS)
|
||||
|
||||
-AM_CFLAGS = -Wall -Werror -fexpensive-optimizations -fomit-frame-pointer
|
||||
+AM_CFLAGS = -Wall
|
||||
|
||||
doxymacs_parser_LDADD = $(XML_LIBS)
|
||||
--- a/c/Makefile.in
|
||||
+++ b/c/Makefile.in
|
||||
@@ -153,7 +153,7 @@ sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
doxymacs_parser_SOURCES = doxymacs_parser.c
|
||||
INCLUDES = $(XML_CPPFLAGS)
|
||||
-AM_CFLAGS = -Wall -Werror -fexpensive-optimizations -fomit-frame-pointer
|
||||
+AM_CFLAGS = -Wall
|
||||
doxymacs_parser_LDADD = $(XML_LIBS)
|
||||
all: all-am
|
||||
|
||||
Reference in New Issue
Block a user