From 9051123f12a4753d89c50329e295c42ce1fd1c8d Mon Sep 17 00:00:00 2001 From: olgeni Date: Mon, 17 Oct 2011 22:53:57 +0000 Subject: Do not include util.h. If net/libbgpdump was installed then the Erlang build would pick up a stray util.h and fail to build. No PORTREVISION bump required: existing installations are just fine. Reported by: Kurt Jaeger --- lang/erlang/files/patch-erts_etc_unix_run__erl.c | 15 +++++++++++++++ lang/erlang14/files/patch-erts_etc_unix_run__erl.c | 15 +++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 lang/erlang/files/patch-erts_etc_unix_run__erl.c create mode 100644 lang/erlang14/files/patch-erts_etc_unix_run__erl.c (limited to 'lang') diff --git a/lang/erlang/files/patch-erts_etc_unix_run__erl.c b/lang/erlang/files/patch-erts_etc_unix_run__erl.c new file mode 100644 index 00000000000..451b3c3e66f --- /dev/null +++ b/lang/erlang/files/patch-erts_etc_unix_run__erl.c @@ -0,0 +1,15 @@ + +$FreeBSD$ + +--- erts/etc/unix/run_erl.c.orig ++++ erts/etc/unix/run_erl.c +@@ -69,9 +69,6 @@ + #ifdef HAVE_UTMP_H + # include + #endif +-#ifdef HAVE_UTIL_H +-# include +-#endif + #ifdef HAVE_SYS_IOCTL_H + # include + #endif diff --git a/lang/erlang14/files/patch-erts_etc_unix_run__erl.c b/lang/erlang14/files/patch-erts_etc_unix_run__erl.c new file mode 100644 index 00000000000..451b3c3e66f --- /dev/null +++ b/lang/erlang14/files/patch-erts_etc_unix_run__erl.c @@ -0,0 +1,15 @@ + +$FreeBSD$ + +--- erts/etc/unix/run_erl.c.orig ++++ erts/etc/unix/run_erl.c +@@ -69,9 +69,6 @@ + #ifdef HAVE_UTMP_H + # include + #endif +-#ifdef HAVE_UTIL_H +-# include +-#endif + #ifdef HAVE_SYS_IOCTL_H + # include + #endif -- cgit