pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang Explicitly disable mkostemp on SunOS. It was shi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/54068756361e
branches:  trunk
changeset: 364957:54068756361e
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Fri Jul 07 14:52:30 2017 +0000

description:
Explicitly disable mkostemp on SunOS.  It was shipped as part of libc for
a while without the corresponding entry in stdlib.h, thus falling foul of
-Werror=implicit-function-declaration checks.

diffstat:

 lang/gcc5/Makefile |  3 ++-
 lang/gcc6/Makefile |  3 ++-
 lang/gcc7/Makefile |  3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diffs (51 lines):

diff -r 4c3a7270092b -r 54068756361e lang/gcc5/Makefile
--- a/lang/gcc5/Makefile        Fri Jul 07 13:08:07 2017 +0000
+++ b/lang/gcc5/Makefile        Fri Jul 07 14:52:30 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2017/06/22 21:44:49 maya Exp $
+# $NetBSD: Makefile,v 1.20 2017/07/07 14:52:30 jperkin Exp $
 
 GCC_PKGNAME=           gcc5
 PKGREVISION=           3
@@ -104,6 +104,7 @@
 MAKE_ENV.NetBSD+=      ac_cv_func_freelocale=no
 MAKE_ENV.NetBSD+=      ac_cv_func_newlocale=no
 MAKE_ENV.NetBSD+=      ac_cv_func_uselocale=no
+MAKE_ENV.SunOS+=       ac_cv_func_mkostemp=no
 
 CONFIGURE_ARGS.DragonFly+=     --disable-bootstrap
 
diff -r 4c3a7270092b -r 54068756361e lang/gcc6/Makefile
--- a/lang/gcc6/Makefile        Fri Jul 07 13:08:07 2017 +0000
+++ b/lang/gcc6/Makefile        Fri Jul 07 14:52:30 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2017/07/04 21:56:40 maya Exp $
+# $NetBSD: Makefile,v 1.8 2017/07/07 14:52:30 jperkin Exp $
 
 GCC_PKGNAME=           gcc6
 .include               "version.mk"
@@ -103,6 +103,7 @@
 MAKE_ENV.NetBSD+=      ac_cv_func_freelocale=no
 MAKE_ENV.NetBSD+=      ac_cv_func_newlocale=no
 MAKE_ENV.NetBSD+=      ac_cv_func_uselocale=no
+MAKE_ENV.SunOS+=       ac_cv_func_mkostemp=no
 
 CONFIGURE_ARGS.DragonFly+=     --disable-bootstrap
 
diff -r 4c3a7270092b -r 54068756361e lang/gcc7/Makefile
--- a/lang/gcc7/Makefile        Fri Jul 07 13:08:07 2017 +0000
+++ b/lang/gcc7/Makefile        Fri Jul 07 14:52:30 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2017/07/04 12:46:52 adam Exp $
+# $NetBSD: Makefile,v 1.9 2017/07/07 14:52:31 jperkin Exp $
 
 GCC_PKGNAME=           gcc7
 .include               "version.mk"
@@ -104,6 +104,7 @@
 MAKE_ENV.NetBSD+=      ac_cv_func_freelocale=no
 MAKE_ENV.NetBSD+=      ac_cv_func_newlocale=no
 MAKE_ENV.NetBSD+=      ac_cv_func_uselocale=no
+MAKE_ENV.SunOS+=       ac_cv_func_mkostemp=no
 
 CONFIGURE_ARGS.DragonFly+=     --disable-bootstrap
 



Home | Main Index | Thread Index | Old Index