aboutsummaryrefslogtreecommitdiffstats
path: root/lang/erlang
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2011-10-18 06:53:57 +0800
committerolgeni <olgeni@FreeBSD.org>2011-10-18 06:53:57 +0800
commit9051123f12a4753d89c50329e295c42ce1fd1c8d (patch)
tree54c3094d3118b7a467b26fa534debede8523a003 /lang/erlang
parent727b725b1a5fa7e90df9ab65031276a055dd48fe (diff)
downloadfreebsd-ports-gnome-9051123f12a4753d89c50329e295c42ce1fd1c8d.tar.gz
freebsd-ports-gnome-9051123f12a4753d89c50329e295c42ce1fd1c8d.tar.zst
freebsd-ports-gnome-9051123f12a4753d89c50329e295c42ce1fd1c8d.zip
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 <pi opsec eu>
Diffstat (limited to 'lang/erlang')
-rw-r--r--lang/erlang/files/patch-erts_etc_unix_run__erl.c15
1 files changed, 15 insertions, 0 deletions
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 000000000000..451b3c3e66fe
--- /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 <utmp.h>
+ #endif
+-#ifdef HAVE_UTIL_H
+-# include <util.h>
+-#endif
+ #ifdef HAVE_SYS_IOCTL_H
+ # include <sys/ioctl.h>
+ #endif