pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/erlang
Module Name: pkgsrc
Committed By: jperkin
Date: Mon Jan 29 16:54:38 UTC 2018
Modified Files:
pkgsrc/lang/erlang: distinfo
Added Files:
pkgsrc/lang/erlang/patches: patch-erts_emulator_sys_unix_sys__uds.h
patch-erts_etc_unix_run__erl.c
Log Message:
erlang: Fix build with SunOS/C99.
To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 pkgsrc/lang/erlang/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/lang/erlang/patches/patch-erts_emulator_sys_unix_sys__uds.h \
pkgsrc/lang/erlang/patches/patch-erts_etc_unix_run__erl.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/erlang/distinfo
diff -u pkgsrc/lang/erlang/distinfo:1.55 pkgsrc/lang/erlang/distinfo:1.56
--- pkgsrc/lang/erlang/distinfo:1.55 Wed Dec 13 14:45:20 2017
+++ pkgsrc/lang/erlang/distinfo Mon Jan 29 16:54:38 2018
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.55 2017/12/13 14:45:20 fhajny Exp $
+$NetBSD: distinfo,v 1.56 2018/01/29 16:54:38 jperkin Exp $
SHA1 (erlang/otp_src_20.2.tar.gz) = afcd19e56cb41907b1b53de2fe25dab7be34d66a
RMD160 (erlang/otp_src_20.2.tar.gz) = f2d34e6d40214cc470ad7c0190d2c1bda18ccde1
@@ -9,5 +9,7 @@ SHA1 (patch-ay) = f5f1accdb11e404ba4779b
SHA1 (patch-erts_configure) = dba8d72974e8c493cf2bb90e6b149a84dd9073da
SHA1 (patch-erts_emulator_drivers_common_inet__drv.c) = b7784e5e8e025ca75d5279a63e0cb3f74c54bd6a
SHA1 (patch-erts_emulator_sys_common_erl__poll.c) = b2068ed4f1994407cb2ec3cd10220bebae85b01d
+SHA1 (patch-erts_emulator_sys_unix_sys__uds.h) = 9b8cd1531f175a50a457ade054a3a1eb8349f2d0
+SHA1 (patch-erts_etc_unix_run__erl.c) = 9e2377ceba5021eaa2f0c729600df499954d134e
SHA1 (patch-lib_crypto_c__src_Makefile.in) = 0ab1db36c03999524e933d60f913ff5608b0622e
SHA1 (patch-make_output.mk.in) = d7b3da58bfb471d52c41242e2a03d1598ce24e62
Added files:
Index: pkgsrc/lang/erlang/patches/patch-erts_emulator_sys_unix_sys__uds.h
diff -u /dev/null pkgsrc/lang/erlang/patches/patch-erts_emulator_sys_unix_sys__uds.h:1.1
--- /dev/null Mon Jan 29 16:54:38 2018
+++ pkgsrc/lang/erlang/patches/patch-erts_emulator_sys_unix_sys__uds.h Mon Jan 29 16:54:38 2018
@@ -0,0 +1,18 @@
+$NetBSD: patch-erts_emulator_sys_unix_sys__uds.h,v 1.1 2018/01/29 16:54:38 jperkin Exp $
+
+Fix SunOS/C99.
+
+--- erts/emulator/sys/unix/sys_uds.h.orig 2017-12-11 20:10:59.000000000 +0000
++++ erts/emulator/sys/unix/sys_uds.h
+@@ -26,7 +26,11 @@
+ #endif
+
+ #if defined(__sun__) && !defined(_XOPEN_SOURCE)
++#if (__STDC_VERSION__-0 < 199901L)
+ #define _XOPEN_SOURCE 500
++#else
++#define _XOPEN_SOURCE 600
++#endif
+ #endif
+
+ #include <limits.h>
Index: pkgsrc/lang/erlang/patches/patch-erts_etc_unix_run__erl.c
diff -u /dev/null pkgsrc/lang/erlang/patches/patch-erts_etc_unix_run__erl.c:1.1
--- /dev/null Mon Jan 29 16:54:38 2018
+++ pkgsrc/lang/erlang/patches/patch-erts_etc_unix_run__erl.c Mon Jan 29 16:54:38 2018
@@ -0,0 +1,16 @@
+$NetBSD: patch-erts_etc_unix_run__erl.c,v 1.1 2018/01/29 16:54:38 jperkin Exp $
+
+Fix SunOS/C99.
+
+--- erts/etc/unix/run_erl.c.orig 2017-12-11 20:10:59.000000000 +0000
++++ erts/etc/unix/run_erl.c
+@@ -41,6 +41,9 @@
+ #ifdef HAVE_CONFIG_H
+ # include "config.h"
+ #endif
++#ifdef __sun
++#define __EXTENSIONS__
++#endif
+ #ifdef HAVE_WORKING_POSIX_OPENPT
+ # ifndef _XOPEN_SOURCE
+ /* On OS X and BSD, we must leave _XOPEN_SOURCE undefined in order for
Home |
Main Index |
Thread Index |
Old Index