diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2024-11-15 23:22:19 +0100 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2024-11-15 23:23:26 +0100 |
commit | 880698a32d241b6f1077fcef5211c1973d30cc88 (patch) | |
tree | fb196a0b2957d44e1ddd8ea2bb033dd4ff60657d /sci-mathematics | |
parent | x11-libs/qwtpolar: Stabilize 1.1.1-r4 amd64, #943563 (diff) | |
download | gentoo-880698a32d241b6f1077fcef5211c1973d30cc88.tar.gz gentoo-880698a32d241b6f1077fcef5211c1973d30cc88.tar.bz2 gentoo-880698a32d241b6f1077fcef5211c1973d30cc88.zip |
sci-mathematics/jags: fix implicit exit() in configure
Closes: https://bugs.gentoo.org/923377
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/jags/files/jags-4.3.1-configure.patch | 27 | ||||
-rw-r--r-- | sci-mathematics/jags/jags-4.3.1-r1.ebuild | 8 |
2 files changed, 33 insertions, 2 deletions
diff --git a/sci-mathematics/jags/files/jags-4.3.1-configure.patch b/sci-mathematics/jags/files/jags-4.3.1-configure.patch new file mode 100644 index 000000000000..8ed18279e5ef --- /dev/null +++ b/sci-mathematics/jags/files/jags-4.3.1-configure.patch @@ -0,0 +1,27 @@ +diff '--color=auto' -ruN JAGS-4.3.1.orig/m4/R.m4 JAGS-4.3.1/m4/R.m4 +--- JAGS-4.3.1.orig/m4/R.m4 2022-04-08 17:30:01.000000000 +0200 ++++ JAGS-4.3.1/m4/R.m4 2024-11-15 23:11:49.764622712 +0100 +@@ -1239,6 +1239,7 @@ + AC_DEFUN([R_FUNC_ISFINITE], + [AC_CACHE_CHECK([for working isfinite], [r_cv_func_isfinite_works], + [AC_RUN_IFELSE([AC_LANG_SOURCE([[ ++#include <stdlib.h> + #include <math.h> + #include "confdefs.h" + int main () { +@@ -1263,6 +1264,7 @@ + AC_DEFUN([R_FUNC_LOG], + [AC_CACHE_CHECK([for working log], [r_cv_func_log_works], + [AC_RUN_IFELSE([AC_LANG_SOURCE([[ ++#include <stdlib.h> + #include <math.h> + #include "confdefs.h" + int main () { +@@ -1292,6 +1294,7 @@ + AC_DEFUN([R_FUNC_LOG1P], + [AC_CACHE_CHECK([for working log1p], [r_cv_func_log1p_works], + [AC_RUN_IFELSE([AC_LANG_SOURCE([[ ++#include <stdlib.h> + #include <math.h> + #include "confdefs.h" + int main () { diff --git a/sci-mathematics/jags/jags-4.3.1-r1.ebuild b/sci-mathematics/jags/jags-4.3.1-r1.ebuild index 6ee9e9025d55..4e6fddb2b4c8 100644 --- a/sci-mathematics/jags/jags-4.3.1-r1.ebuild +++ b/sci-mathematics/jags/jags-4.3.1-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit libtool toolchain-funcs +inherit autotools toolchain-funcs MYP="JAGS-${PV}" @@ -31,9 +31,13 @@ BDEPEND=" ) " +PATCHES=( + "${FILESDIR}/${P}-configure.patch" +) + src_prepare() { default - elibtoolize + eautoreconf } src_configure() { |