diff options
author | Michael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com> | 2016-08-06 16:47:39 +0200 |
---|---|---|
committer | Göktürk Yüksek <gokturk@gentoo.org> | 2016-08-30 10:53:55 -0400 |
commit | 15145b740033975edb49e646ec73d4df5dfcf851 (patch) | |
tree | 12b215dc13b04eda29a2a03b5d6e3b781d7a53ee /dev-lang/erlang | |
parent | dev-lisp/cl-unicode: Resets XDG environment (diff) | |
download | gentoo-15145b740033975edb49e646ec73d4df5dfcf851.tar.gz gentoo-15145b740033975edb49e646ec73d4df5dfcf851.tar.bz2 gentoo-15145b740033975edb49e646ec73d4df5dfcf851.zip |
dev-lang/erlang: remove unused patches
Acked-By: Dirkjan Ochtman <djc@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/2161
Diffstat (limited to 'dev-lang/erlang')
-rw-r--r-- | dev-lang/erlang/files/16.2-tinfo.patch | 11 | ||||
-rw-r--r-- | dev-lang/erlang/files/17.0-systemd.patch | 85 |
2 files changed, 0 insertions, 96 deletions
diff --git a/dev-lang/erlang/files/16.2-tinfo.patch b/dev-lang/erlang/files/16.2-tinfo.patch deleted file mode 100644 index f51ba582d8c1..000000000000 --- a/dev-lang/erlang/files/16.2-tinfo.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- erts/configure.in.bak 2013-11-04 14:47:47.838188678 +0100 -+++ erts/configure.in 2013-11-04 14:46:54.352439671 +0100 -@@ -1322,7 +1322,7 @@ - if test "x$with_termcap" != "xno" && - test "X$host" != "Xwin32"; then - # try these libs -- termcap_libs="ncurses curses termcap termlib" -+ termcap_libs="tinfo ncurses curses termcap termlib" - - for termcap_lib in $termcap_libs; do - AC_CHECK_LIB($termcap_lib, tgetent, TERMCAP_LIB="-l$termcap_lib") diff --git a/dev-lang/erlang/files/17.0-systemd.patch b/dev-lang/erlang/files/17.0-systemd.patch deleted file mode 100644 index 2dba8c897fe6..000000000000 --- a/dev-lang/erlang/files/17.0-systemd.patch +++ /dev/null @@ -1,85 +0,0 @@ ---- erts/configure.in 2014-05-08 10:07:18.691087332 +0200 -+++ erts/configure.in 2014-05-08 10:12:56.579375822 +0200 -@@ -366,6 +366,11 @@ - $with_assumed_cache_line_size, - [Assumed cache-line size (in bytes)]) - -+AC_ARG_ENABLE(systemd, -+AS_HELP_STRING([--enable-systemd], [enable systemd support in epmd]), -+[], -+[enable_systemd=no]) -+ - dnl Magic test for clearcase. - OTP_RELEASE= - if test "${ERLANG_COMMERCIAL_BUILD}" != ""; then -@@ -1042,8 +1047,6 @@ - AC_CHECK_LIB(inet, main) - AC_CHECK_LIB(util, openpty) - --AC_CHECK_LIB(systemd-daemon, sd_listen_fds) -- - dnl Try to find a thread library. - dnl - dnl ETHR_LIB_NAME, ETHR_LIBS, ETHR_X_LIBS, ETHR_THR_LIB_BASE and ETHR_DEFS -@@ -1679,7 +1682,29 @@ - #endif - ]) - --AC_CHECK_HEADERS(systemd/sd-daemon.h) -+dnl ---------------------------------------------------------------------- -+dnl Check the availability of systemd -+dnl ---------------------------------------------------------------------- -+if test x"$enable_systemd" != x"no"; then -+ -+systemd_daemon_save_LIBS=$LIBS -+LIBS= -+AC_SEARCH_LIBS(sd_listen_fds,[systemd systemd-daemon], -+ [have_sd_listen_fds=yes],[have_sd_listen_fds=no],$systemd_daemon_save_LIBS) -+AC_CHECK_HEADERS(systemd/sd-daemon.h, -+ [have_systemd_sd_daemon_h=yes],[have_systemd_sd_daemon_h=no]) -+ -+if test x"$have_sd_listen_fds" = x"yes" && \ -+ test x"$have_systemd_sd_daemon_h" = x"yes"; then -+ AC_DEFINE([HAVE_SYSTEMD_DAEMON],[1],[Define if you have systemd daemon]) -+ SYSTEMD_DAEMON_LIBS=$LIBS -+elif test x"$enable_systemd" = x"yes"; then -+ AC_MSG_FAILURE([--enable-systemd was given, but test for systemd failed]) -+fi -+LIBS=$systemd_daemon_save_LIBS -+fi -+AC_SUBST(SYSTEMD_DAEMON_LIBS) -+ - - dnl ---------------------------------------------------------------------- - dnl Check the availability for libdlpi ---- erts/epmd/src/Makefile.in 2014-05-08 10:07:58.344182314 +0200 -+++ erts/epmd/src/Makefile.in 2014-05-08 10:12:56.580375784 +0200 -@@ -84,7 +84,7 @@ - ifeq ($(findstring ose,$(TARGET)),ose) - LIBS = $(ERTS_INTERNAL_LIBS) @LIBS@ - else --LIBS = @LIBS@ $(ERTS_INTERNAL_LIBS) -+LIBS = @LIBS@ @SYSTEMD_DAEMON_LIBS@ $(ERTS_INTERNAL_LIBS) - endif - LDFLAGS = @LDFLAGS@ - ---- erts/epmd/src/epmd_srv.c 2014-05-08 10:07:49.137392770 +0200 -+++ erts/epmd/src/epmd_srv.c 2014-05-08 10:12:39.777759407 +0200 -@@ -213,7 +213,7 @@ - node_init(g); - g->conn = conn_init(g); - --#ifdef HAVE_SYSTEMD_SD_DAEMON_H -+#ifdef HAVE_SYSTEMD_DAEMON - if (g->is_systemd) - { - int n; -@@ -310,7 +310,7 @@ - SET_ADDR(iserv_addr[0],EPMD_ADDR_ANY,sport); - num_sockets = 1; - } --#ifdef HAVE_SYSTEMD_SD_DAEMON_H -+#ifdef HAVE_SYSTEMD_DAEMON - } - #endif - |