commit:     c0ed5ad19045297fe1d4e2df98ee70ee2cba4ae9
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 12 09:43:57 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jan 12 09:48:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0ed5ad1

app-text/openjade: Fix build with autoconf-2.70

Closes: https://bugs.gentoo.org/765034
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../files/openjade-1.3.2-autoconf-2.70.patch       | 30 ++++++++++++++++++++++
 app-text/openjade/openjade-1.3.2-r9.ebuild         |  1 +
 2 files changed, 31 insertions(+)

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 00000000000..07e1f629d8f
--- /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 de8ea2dace2..407f7b7a435 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

Reply via email to