pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/ghc84



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Tue Feb  9 12:41:32 UTC 2021

Modified Files:
        pkgsrc/lang/ghc84: distinfo
        pkgsrc/lang/ghc84/patches: patch-aclocal.m4

Log Message:
ghc84: Fix build with autoconf-2.71. _AC_PROG_CC_C99 was removed


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/ghc84/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/ghc84/patches/patch-aclocal.m4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/ghc84/distinfo
diff -u pkgsrc/lang/ghc84/distinfo:1.5 pkgsrc/lang/ghc84/distinfo:1.6
--- pkgsrc/lang/ghc84/distinfo:1.5      Mon Feb 17 17:24:06 2020
+++ pkgsrc/lang/ghc84/distinfo  Tue Feb  9 12:41:32 2021
@@ -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 @@ SHA1 (ghc-8.4.4-src.tar.xz) = bf8f807348
 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

Index: pkgsrc/lang/ghc84/patches/patch-aclocal.m4
diff -u pkgsrc/lang/ghc84/patches/patch-aclocal.m4:1.1 pkgsrc/lang/ghc84/patches/patch-aclocal.m4:1.2
--- pkgsrc/lang/ghc84/patches/patch-aclocal.m4:1.1      Tue Jan  7 16:52:09 2020
+++ pkgsrc/lang/ghc84/patches/patch-aclocal.m4  Tue Feb  9 12:41:32 2021
@@ -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