pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/ghc84 ghc84: Fix build with autoconf-2.71. _AC_PR...
details: https://anonhg.NetBSD.org/pkgsrc/rev/dff661cde43c
branches: trunk
changeset: 446477:dff661cde43c
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Tue Feb 09 12:41:32 2021 +0000
description:
ghc84: Fix build with autoconf-2.71. _AC_PROG_CC_C99 was removed
diffstat:
lang/ghc84/distinfo | 4 ++--
lang/ghc84/patches/patch-aclocal.m4 | 26 +++++++++++++++++++++++---
2 files changed, 25 insertions(+), 5 deletions(-)
diffs (55 lines):
diff -r 9cf9a55bba3a -r dff661cde43c lang/ghc84/distinfo
--- a/lang/ghc84/distinfo Tue Feb 09 12:35:38 2021 +0000
+++ b/lang/ghc84/distinfo Tue Feb 09 12:41:32 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2020/02/17 17:24:06 jperkin Exp $
+$NetBSD: distinfo,v 1.6 2021/02/09 12:41:32 ryoon Exp $
SHA1 (ghc-8.0.2-boot-x86_64-unknown-solaris2.tar.xz) = 517ea9435af0c8b4f32899ae3bd26ff8da34f180
RMD160 (ghc-8.0.2-boot-x86_64-unknown-solaris2.tar.xz) = c88b0958085ce9a6e1b175280d536986e4c712b1
@@ -24,7 +24,7 @@
RMD160 (ghc-8.4.4-src.tar.xz) = d2be33c4b38ee0660fe081e625ad5242c819392c
SHA512 (ghc-8.4.4-src.tar.xz) = 685e102eee8cf8b6a377afd7871998c8c368a5da288469367e3fb804aa6109e6f59be5945b8cd3d1e36c851190ea9a7f74c576528589589313d237b721d86da5
Size (ghc-8.4.4-src.tar.xz) = 11319500 bytes
-SHA1 (patch-aclocal.m4) = 848cf4e1fdc8ccd066f5edca1eeef27182d13312
+SHA1 (patch-aclocal.m4) = cb444acc956f46657070f9f6dc343008b35594bd
SHA1 (patch-configure.ac) = dae98e76c51fdc2f70a77adf7d206c3d79c6bca6
SHA1 (patch-libraries_base_GHC_Event_KQueue.hsc) = 8ee5da667a241a05fde3c580d3dc9bdc05aa5f00
SHA1 (patch-libraries_base_System_CPUTime_Posix_Times.hsc) = 2bfb779d534d12073287274ce5e90b99e457a860
diff -r 9cf9a55bba3a -r dff661cde43c lang/ghc84/patches/patch-aclocal.m4
--- a/lang/ghc84/patches/patch-aclocal.m4 Tue Feb 09 12:35:38 2021 +0000
+++ b/lang/ghc84/patches/patch-aclocal.m4 Tue Feb 09 12:41:32 2021 +0000
@@ -1,10 +1,30 @@
-$NetBSD: patch-aclocal.m4,v 1.1 2020/01/07 16:52:09 pho Exp $
+$NetBSD: patch-aclocal.m4,v 1.2 2021/02/09 12:41:32 ryoon Exp $
+
+Fix build with autoconf-2.71. _AC_PROG_CC_C99 was removed.
Canonicalize OS name netbsd* to "netbsd".
---- aclocal.m4.orig 2020-01-04 06:53:44.706301052 +0000
+--- aclocal.m4.orig 2018-03-25 19:22:32.000000000 +0000
+++ aclocal.m4
-@@ -1981,6 +1981,9 @@ AC_DEFUN([GHC_CONVERT_OS],[
+@@ -580,17 +580,6 @@ AC_DEFUN([FP_SET_CFLAGS_C99],
+ CC="$$1"
+ CFLAGS="$$2"
+ CPPFLAGS="$$3"
+- unset ac_cv_prog_cc_c99
+- dnl perform detection
+- _AC_PROG_CC_C99
+- fp_cc_c99="$ac_cv_prog_cc_c99"
+- case "x$ac_cv_prog_cc_c99" in
+- x) ;; # noop
+- xno) AC_MSG_ERROR([C99-compatible compiler needed]) ;;
+- *) $2="$$2 $ac_cv_prog_cc_c99"
+- $3="$$3 $ac_cv_prog_cc_c99"
+- ;;
+- esac
+ dnl restore saved state
+ FP_COPY_SHELLVAR([fp_save_CC],[CC])
+ FP_COPY_SHELLVAR([fp_save_CFLAGS],[CFLAGS])
+@@ -1981,6 +1970,9 @@ AC_DEFUN([GHC_CONVERT_OS],[
openbsd*)
$3="openbsd"
;;
Home |
Main Index |
Thread Index |
Old Index