summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-05-10 22:10:45 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-05-10 23:03:19 +0200
commit3c8a5575bbe0bbf417de0a455fa1a1005150bf7e (patch)
treeaae1d6462bb1832fd0caee49853d11108933e47b /app-emacs/doxymacs
parentapp-crypt/certbot-nginx: add 2.6.0 (diff)
downloadgentoo-3c8a5575bbe0bbf417de0a455fa1a1005150bf7e.tar.gz
gentoo-3c8a5575bbe0bbf417de0a455fa1a1005150bf7e.tar.bz2
gentoo-3c8a5575bbe0bbf417de0a455fa1a1005150bf7e.zip
app-emacs/doxymacs: remove -Werror; bump EAPI
Closes: https://bugs.gentoo.org/906024 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/doxymacs')
-rw-r--r--app-emacs/doxymacs/doxymacs-1.8.0-r5.ebuild (renamed from app-emacs/doxymacs/doxymacs-1.8.0-r4.ebuild)21
-rw-r--r--app-emacs/doxymacs/files/doxymacs-1.8.0-flags.patch21
2 files changed, 34 insertions, 8 deletions
diff --git a/app-emacs/doxymacs/doxymacs-1.8.0-r4.ebuild b/app-emacs/doxymacs/doxymacs-1.8.0-r5.ebuild
index 8f6f1f24fd89..6f379856aac5 100644
--- a/app-emacs/doxymacs/doxymacs-1.8.0-r4.ebuild
+++ b/app-emacs/doxymacs/doxymacs-1.8.0-r5.ebuild
@@ -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
}
diff --git a/app-emacs/doxymacs/files/doxymacs-1.8.0-flags.patch b/app-emacs/doxymacs/files/doxymacs-1.8.0-flags.patch
new file mode 100644
index 000000000000..4aeef48c7fbe
--- /dev/null
+++ b/app-emacs/doxymacs/files/doxymacs-1.8.0-flags.patch
@@ -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
+