1 |
commit: ba67378034a0e8c36e0b6af7cbf9f63d3b82c5be |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Aug 19 17:38:01 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 20 06:36:09 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba673780 |
7 |
|
8 |
dev-lang/erlang: remove unused patches |
9 |
|
10 |
Package-Manager: Portage-3.0.2, Repoman-2.3.23 |
11 |
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/17172 |
13 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
14 |
|
15 |
.../files/erlang-20.3.2-dont-ignore-LDFLAGS.patch | 42 ---------- |
16 |
...ang-add-epmd-pid-file-creation-for-openrc.patch | 90 ---------------------- |
17 |
dev-lang/erlang/files/erlang-custom-autoconf.patch | 14 ---- |
18 |
3 files changed, 146 deletions(-) |
19 |
|
20 |
diff --git a/dev-lang/erlang/files/erlang-20.3.2-dont-ignore-LDFLAGS.patch b/dev-lang/erlang/files/erlang-20.3.2-dont-ignore-LDFLAGS.patch |
21 |
deleted file mode 100644 |
22 |
index 32dd89e0d6c..00000000000 |
23 |
--- a/dev-lang/erlang/files/erlang-20.3.2-dont-ignore-LDFLAGS.patch |
24 |
+++ /dev/null |
25 |
@@ -1,42 +0,0 @@ |
26 |
-From 69043168302ec7c0bcfaa8b1fb56bfae500bd139 Mon Sep 17 00:00:00 2001 |
27 |
-From: Nick Sarnie <commendsarnex@×××××.com> |
28 |
-Date: Sun, 8 Apr 2018 16:11:55 -0400 |
29 |
-Subject: [PATCH] Don't ignore LDFLAGS |
30 |
- |
31 |
-Bug: https://bugs.gentoo.org/263129 |
32 |
- |
33 |
-Signed-off-by: Nick Sarnie <commendsarnex@×××××.com> |
34 |
---- |
35 |
- lib/megaco/src/flex/Makefile.in | 2 +- |
36 |
- lib/odbc/c_src/Makefile.in | 2 +- |
37 |
- 2 files changed, 2 insertions(+), 2 deletions(-) |
38 |
- |
39 |
-diff --git a/lib/megaco/src/flex/Makefile.in b/lib/megaco/src/flex/Makefile.in |
40 |
-index c37ad4d702..400024ca0c 100644 |
41 |
---- a/lib/megaco/src/flex/Makefile.in |
42 |
-+++ b/lib/megaco/src/flex/Makefile.in |
43 |
-@@ -66,7 +66,7 @@ endif |
44 |
- CC = $(DED_CC) |
45 |
- CFLAGS_MT = $(CFLAGS) $(DED_THR_DEFS) |
46 |
- LD = $(DED_LD) |
47 |
--LDFLAGS = $(DED_LDFLAGS) |
48 |
-+LDFLAGS += $(DED_LDFLAGS) |
49 |
- LEX = @LEX@ |
50 |
- LEXLIB = @LEXLIB@ |
51 |
- PERL = @PERL@ |
52 |
-diff --git a/lib/odbc/c_src/Makefile.in b/lib/odbc/c_src/Makefile.in |
53 |
-index 784e73c47e..51c023f710 100644 |
54 |
---- a/lib/odbc/c_src/Makefile.in |
55 |
-+++ b/lib/odbc/c_src/Makefile.in |
56 |
-@@ -82,7 +82,7 @@ CC = @CC@ |
57 |
- CFLAGS = $(TYPEFLAGS) @CFLAGS@ @THR_DEFS@ @DEFS@ |
58 |
- EI_LDFLAGS = -L$(EI_ROOT)/obj$(TYPEMARKER)/$(TARGET) |
59 |
- LD = @LD@ |
60 |
--LDFLAGS = $(ODBC_LIB) $(EI_LDFLAGS) |
61 |
-+LDFLAGS += $(ODBC_LIB) $(EI_LDFLAGS) |
62 |
- LIBS = @LIBS@ @THR_LIBS@ $(EI_LIB) |
63 |
- INCLUDES = -I. $(ODBC_INCLUDE) $(EI_INCLUDE) |
64 |
- TARGET_FLAGS = @TARGET_FLAGS@ |
65 |
--- |
66 |
-2.17.0 |
67 |
- |
68 |
|
69 |
diff --git a/dev-lang/erlang/files/erlang-add-epmd-pid-file-creation-for-openrc.patch b/dev-lang/erlang/files/erlang-add-epmd-pid-file-creation-for-openrc.patch |
70 |
deleted file mode 100644 |
71 |
index 56e3946c93f..00000000000 |
72 |
--- a/dev-lang/erlang/files/erlang-add-epmd-pid-file-creation-for-openrc.patch |
73 |
+++ /dev/null |
74 |
@@ -1,90 +0,0 @@ |
75 |
-From 04ace92c33a699f75445dc99c30d521311aba826 Mon Sep 17 00:00:00 2001 |
76 |
-From: Steve Arnold <nerdboy@g.o> |
77 |
-Date: Mon, 6 Aug 2018 16:38:30 -0700 |
78 |
-Subject: [PATCH] Add daemon-mode pid file creation when not configured for |
79 |
- systemd |
80 |
- |
81 |
-Signed-off-by: Steve Arnold <nerdboy@g.o> |
82 |
---- |
83 |
- erts/epmd/src/epmd.c | 39 ++++++++++++++++++++++++++++++++++++++- |
84 |
- erts/epmd/src/epmd.h | 3 +++ |
85 |
- 2 files changed, 41 insertions(+), 1 deletion(-) |
86 |
- |
87 |
-diff --git a/erts/epmd/src/epmd.c b/erts/epmd/src/epmd.c |
88 |
-index 44e997e609..c74888a1ee 100644 |
89 |
---- a/erts/epmd/src/epmd.c |
90 |
-+++ b/erts/epmd/src/epmd.c |
91 |
-@@ -40,6 +40,37 @@ static int check_relaxed(void); |
92 |
- #ifdef __WIN32__ |
93 |
- static int has_console(void); |
94 |
- #endif |
95 |
-+#ifndef HAVE_SYSTEMD_DAEMON |
96 |
-+static int create_pidfile(void); |
97 |
-+static const char *pidfile = EPMD_PIDFILE; |
98 |
-+#endif |
99 |
-+ |
100 |
-+#ifndef HAVE_SYSTEMD_DAEMON |
101 |
-+static int create_pidfile(void) |
102 |
-+{ |
103 |
-+ int fd; |
104 |
-+ |
105 |
-+ unlink(pidfile); |
106 |
-+ |
107 |
-+ /* open the pidfile */ |
108 |
-+ fd = open(pidfile, O_WRONLY|O_CREAT|O_EXCL, 0644); |
109 |
-+ if (fd >= 0) { |
110 |
-+ FILE *f; |
111 |
-+ |
112 |
-+ /* write our pid to it */ |
113 |
-+ f = fdopen(fd, "w"); |
114 |
-+ if (f != NULL) { |
115 |
-+ fprintf(f, "%d\n", getpid()); |
116 |
-+ fclose(f); |
117 |
-+ /* leave the fd open */ |
118 |
-+ return 0; |
119 |
-+ } |
120 |
-+ close(fd); |
121 |
-+ } |
122 |
-+ |
123 |
-+ return -1; |
124 |
-+} |
125 |
-+#endif /* (no) HAVE_SYSTEMD_DAEMON */ |
126 |
- |
127 |
- #ifdef DONT_USE_MAIN |
128 |
- |
129 |
-@@ -340,6 +371,13 @@ static void run_daemon(EpmdVars *g) |
130 |
- |
131 |
- umask(0); |
132 |
- |
133 |
-+#ifndef HAVE_SYSTEMD_DAEMON |
134 |
-+ if (create_pidfile() < 0) { |
135 |
-+ dbg_perror(g,"could not create pidfile %s", pidfile); |
136 |
-+ epmd_cleanup_exit(g,1); |
137 |
-+ } |
138 |
-+#endif /* HAVE_SYSTEMD_DAEMON */ |
139 |
-+ |
140 |
- for (fd = 0; fd < g->max_conn ; fd++) /* close all files ... */ |
141 |
- close(fd); |
142 |
- /* Syslog on linux will try to write to whatever if we dont |
143 |
-@@ -614,4 +652,3 @@ static int check_relaxed(void) |
144 |
- char* port_str = getenv("ERL_EPMD_RELAXED_COMMAND_CHECK"); |
145 |
- return (port_str != NULL) ? 1 : 0; |
146 |
- } |
147 |
-- |
148 |
-diff --git a/erts/epmd/src/epmd.h b/erts/epmd/src/epmd.h |
149 |
-index cffcd4ae7a..e53322acf5 100644 |
150 |
---- a/erts/epmd/src/epmd.h |
151 |
-+++ b/erts/epmd/src/epmd.h |
152 |
-@@ -20,6 +20,9 @@ |
153 |
- |
154 |
- /* The port number is defined in a makefile */ |
155 |
- |
156 |
-+/* The name and path to the pid file */ |
157 |
-+#define EPMD_PIDFILE "/var/run/epmd.pid" |
158 |
-+ |
159 |
- /* Definitions of message codes */ |
160 |
- |
161 |
- /* Registration and queries */ |
162 |
--- |
163 |
-2.17.0 |
164 |
- |
165 |
|
166 |
diff --git a/dev-lang/erlang/files/erlang-custom-autoconf.patch b/dev-lang/erlang/files/erlang-custom-autoconf.patch |
167 |
deleted file mode 100644 |
168 |
index 5ae7b43ba28..00000000000 |
169 |
--- a/dev-lang/erlang/files/erlang-custom-autoconf.patch |
170 |
+++ /dev/null |
171 |
@@ -1,14 +0,0 @@ |
172 |
-diff -ur otp-OTP-21.0.5.orig/otp_build otp-OTP-21.0.5/otp_build |
173 |
---- otp-OTP-21.0.5.orig/otp_build 2018-08-10 19:02:51.000000000 +0200 |
174 |
-+++ otp-OTP-21.0.5/otp_build 2018-08-15 23:44:59.417191209 +0200 |
175 |
-@@ -1343,7 +1343,9 @@ |
176 |
- do_lazy_configure "$@"; |
177 |
- do_boot;; |
178 |
- autoconf) |
179 |
-- do_autoconf;; |
180 |
-+ create_lib_configure_in |
181 |
-+ distribute_config_helpers |
182 |
-+ ;; |
183 |
- configure) |
184 |
- shift; |
185 |
- do_configure "$@";; |