* [gentoo-commits] repo/gentoo:master commit in: app-text/blahtexml/, app-text/blahtexml/files/
@ 2021-04-19 20:54 Sam James
0 siblings, 0 replies; only message in thread
From: Sam James @ 2021-04-19 20:54 UTC (permalink / raw
To: gentoo-commits
commit: 5394e99bedc11545e2afe5a8d829df2304763a0c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 19 20:40:34 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 19 20:54:05 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5394e99b
app-text/blahtexml: port to EAPI 7
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-text/blahtexml/blahtexml-0.9.ebuild | 20 ++++++++++++++------
app-text/blahtexml/files/blahtexml-0.9-gcc-4.7.patch | 8 ++++----
2 files changed, 18 insertions(+), 10 deletions(-)
diff --git a/app-text/blahtexml/blahtexml-0.9.ebuild b/app-text/blahtexml/blahtexml-0.9.ebuild
index 5e893a55f26..f470b619764 100644
--- a/app-text/blahtexml/blahtexml-0.9.ebuild
+++ b/app-text/blahtexml/blahtexml-0.9.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-inherit epatch toolchain-funcs
+inherit toolchain-funcs
DESCRIPTION="TeX-to-MathML converter"
HOMEPAGE="http://gva.noekeon.org/blahtexml"
@@ -15,16 +15,24 @@ KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 x86"
IUSE="doc"
RDEPEND="dev-libs/xerces-c"
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
virtual/pkgconfig
doc? (
app-text/texlive-core
dev-libs/libxslt
- dev-tex/latex2html )"
+ dev-tex/latex2html
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-{Makefile,gcc-4.7}.patch
+)
src_prepare() {
- tc-export CC CXX
- epatch "${FILESDIR}"/${P}-{Makefile,gcc-4.7}.patch
+ default
+
+ tc-export CC CXX PKG_CONFIG
}
src_compile() {
diff --git a/app-text/blahtexml/files/blahtexml-0.9-gcc-4.7.patch b/app-text/blahtexml/files/blahtexml-0.9-gcc-4.7.patch
index c570e1de679..9b3e53047fb 100644
--- a/app-text/blahtexml/files/blahtexml-0.9-gcc-4.7.patch
+++ b/app-text/blahtexml/files/blahtexml-0.9-gcc-4.7.patch
@@ -2,8 +2,8 @@ Description: Fix FTBFS with gcc 4.7 by fixing missing <unistd.h> includes.
Author: Cyril Brulebois <kibi@debian.org>
Bug-Debian: http://bugs.debian.org/667116
---- blahtexml-0.9.orig/Source/main.cpp
-+++ blahtexml-0.9/Source/main.cpp
+--- a/Source/main.cpp
++++ b/Source/main.cpp
@@ -24,6 +24,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIG
#include <stdlib.h>
#include <sstream>
@@ -12,8 +12,8 @@ Bug-Debian: http://bugs.debian.org/667116
using namespace std;
using namespace blahtex;
---- blahtexml-0.9.orig/Source/mainPng.cpp
-+++ blahtexml-0.9/Source/mainPng.cpp
+--- a/Source/mainPng.cpp
++++ b/Source/mainPng.cpp
@@ -27,6 +27,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIG
#include <stdio.h>
#include <stdlib.h>
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-19 20:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-19 20:54 [gentoo-commits] repo/gentoo:master commit in: app-text/blahtexml/, app-text/blahtexml/files/ Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox