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:
Maciej Barć
2023-05-10 22:10:45 +02:00
parent 44ac6aaf1a
commit 3c8a5575bb
2 changed files with 34 additions and 8 deletions

View File

@@ -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
}

View 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