diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-01-12 10:43:57 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-01-12 10:48:57 +0100 |
commit | c0ed5ad19045297fe1d4e2df98ee70ee2cba4ae9 (patch) | |
tree | faafeebb1516f8267c1429047fa6e5d9a9ef328f /app-text/openjade | |
parent | dev-python/python-stdnum: Add python@ as co-maint (diff) | |
download | gentoo-c0ed5ad19045297fe1d4e2df98ee70ee2cba4ae9.tar.gz gentoo-c0ed5ad19045297fe1d4e2df98ee70ee2cba4ae9.tar.bz2 gentoo-c0ed5ad19045297fe1d4e2df98ee70ee2cba4ae9.zip |
app-text/openjade: Fix build with autoconf-2.70
Closes: https://bugs.gentoo.org/765034
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-text/openjade')
-rw-r--r-- | app-text/openjade/files/openjade-1.3.2-autoconf-2.70.patch | 30 | ||||
-rw-r--r-- | app-text/openjade/openjade-1.3.2-r9.ebuild | 1 |
2 files changed, 31 insertions, 0 deletions
diff --git a/app-text/openjade/files/openjade-1.3.2-autoconf-2.70.patch b/app-text/openjade/files/openjade-1.3.2-autoconf-2.70.patch new file mode 100644 index 000000000000..07e1f629d8f7 --- /dev/null +++ b/app-text/openjade/files/openjade-1.3.2-autoconf-2.70.patch @@ -0,0 +1,30 @@ +diff --git a/config/configure.in b/config/configure.in +index 466c4ee..5af1de5 100644 +--- a/config/configure.in ++++ b/config/configure.in +@@ -12,9 +12,8 @@ dnl + dnl Credits: this autoconf script was largely "inspired" <g> by the + dnl autoconf script around SP made by Henry Thompson. + dnl +-AC_INIT(dsssl) ++AC_INIT(openjade, 1.3.2) + AC_CONFIG_AUX_DIR(config) +-AM_INIT_AUTOMAKE( openjade, 1.3.2) + TOP=`pwd` + AC_SUBST(TOP) + dnl +diff --git a/include/config.h.in b/include/config.h.in +index 2a6fd39..f8ccf1c 100644 +--- a/include/config.h.in ++++ b/include/config.h.in +@@ -18,8 +18,8 @@ + #endif + #endif + +-#define OPENJADE_PACKAGE PACKAGE +-#define OPENJADE_VERSION VERSION ++#define OPENJADE_PACKAGE "@PACKAGE_NAME@" ++#define OPENJADE_VERSION "@PACKAGE_VERSION@" + #ifndef OPENJADE_MESSAGE_DOMAIN + #define OPENJADE_MESSAGE_DOMAIN "" + #endif diff --git a/app-text/openjade/openjade-1.3.2-r9.ebuild b/app-text/openjade/openjade-1.3.2-r9.ebuild index de8ea2dace28..407f7b7a435b 100644 --- a/app-text/openjade/openjade-1.3.2-r9.ebuild +++ b/app-text/openjade/openjade-1.3.2-r9.ebuild @@ -33,6 +33,7 @@ src_prepare() { eapply "${FILESDIR}"/${P}-no-undefined.patch eapply "${FILESDIR}"/${P}-wchar_t-uint.patch eapply "${FILESDIR}"/${P}-chmod.patch #487218 + eapply "${FILESDIR}"/${P}-autoconf-2.70.patch #765034 # Please note! Opts are disabled. If you know what you're doing # feel free to remove this line. It may cause problems with |