mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
app-text/openjade: Fix build with autoconf-2.70
Closes: https://bugs.gentoo.org/765034 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
30
app-text/openjade/files/openjade-1.3.2-autoconf-2.70.patch
Normal file
30
app-text/openjade/files/openjade-1.3.2-autoconf-2.70.patch
Normal file
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user