Skip to content

Commit 54fbde9

Browse files
Sync patches with Debian Experimental (26.0), use maint-26
1 parent 30a70d6 commit 54fbde9

File tree

12 files changed

+19
-326
lines changed

12 files changed

+19
-326
lines changed

.github/workflows/test-ubuntu-20.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test Ubuntu 20.04
1+
name: Test Ubuntu Focal
22
on:
33
push:
44
jobs:
@@ -21,7 +21,7 @@ jobs:
2121
uses: actions/checkout@v2.3.4
2222
with:
2323
repository: erlang/otp
24-
ref: maint-24
24+
ref: maint-26
2525
fetch-depth: 0
2626
path: erlang-sources
2727
- name: Build package

debian/patches/atomsfontlock.patch

Lines changed: 0 additions & 27 deletions
This file was deleted.

debian/patches/autoconfversion.patch

Lines changed: 0 additions & 139 deletions
This file was deleted.

debian/patches/beamload.patch

Lines changed: 0 additions & 26 deletions
This file was deleted.

debian/patches/clean.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ a hack to remove them.
55

66
--- a/Makefile.in
77
+++ b/Makefile.in
8-
@@ -1209,6 +1209,7 @@
8+
@@ -963,6 +963,7 @@
99
rm -f *~ *.bak config.log config.status prebuilt.files ibin/*
1010
cd erts && ERL_TOP=$(ERL_TOP) $(MAKE) clean
1111
cd lib && ERL_TOP=$(ERL_TOP) $(MAKE) clean BUILD_ALL=true
1212
+ $(MAKE) additional_clean
1313

1414
distclean: clean
1515
find . -type f -name SKIP -print | xargs $(RM)
16-
@@ -1266,3 +1267,204 @@
16+
@@ -1020,3 +1021,204 @@
1717
.SECONDEXPANSION:
1818
$(APPS_TEST): $$(patsubst %_test,%,$$@)
1919
ERL_TOP=$(ERL_TOP) TYPE=$(TYPE) $(MAKE) -C lib/$< test

debian/patches/docs.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Last-modified: Thu, 09 Dec 2010 10:45:56 +0300
1414
</xsl:otherwise>
1515
</xsl:choose>
1616
</xsl:template>
17-
@@ -860,7 +860,7 @@
17+
@@ -871,7 +871,7 @@
1818
<xsl:template match="desc">
1919
<xsl:text>&#10;.RS</xsl:text>
2020
<xsl:apply-templates/>
@@ -25,7 +25,7 @@ Last-modified: Thu, 09 Dec 2010 10:45:56 +0300
2525

2626
--- a/lib/stdlib/doc/src/re.xml
2727
+++ b/lib/stdlib/doc/src/re.xml
28-
@@ -594,7 +594,7 @@
28+
@@ -626,7 +626,7 @@
2929
to match before it. Setting this without <c>multiline</c> (at
3030
compile time) causes circumflex never to match. This option only
3131
affects the behavior of the circumflex metacharacter. It does not
@@ -34,7 +34,7 @@ Last-modified: Thu, 09 Dec 2010 10:45:56 +0300
3434
</item>
3535
<tag><c>noteol</c></tag>
3636
<item>
37-
@@ -603,7 +603,7 @@
37+
@@ -635,7 +635,7 @@
3838
in multiline mode) a newline immediately before it. Setting this
3939
without <c>multiline</c> (at compile time) causes dollar never to
4040
match. This option affects only the behavior of the dollar

debian/patches/emacs.patch

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ section 3.
1616
"The man directories displayed in the Erlang menu.
1717

1818
Each item in the list should be a list with three elements, the first
19-
@@ -2083,7 +2083,7 @@
19+
@@ -2082,7 +2082,7 @@
2020

2121
(defun erlang-man-make-menu-item (file)
2222
"Create a menu item containing the name of the man page."
@@ -25,7 +25,7 @@ section 3.
2525
(let ((page (substring file (match-beginning 1) (match-end 1))))
2626
(list (capitalize page)
2727
(list 'lambda '()
28-
@@ -2094,7 +2094,7 @@
28+
@@ -2093,7 +2093,7 @@
2929

3030
(defun erlang-man-get-files (dir)
3131
"Return files in directory DIR."
@@ -34,7 +34,7 @@ section 3.
3434

3535

3636
(defun erlang-man-module (&optional module)
37-
@@ -2116,7 +2116,7 @@
37+
@@ -2115,7 +2115,7 @@
3838
(error "No Erlang module name given"))
3939
(let ((dir-list erlang-man-dirs)
4040
(pat (concat "/" (regexp-quote module)
@@ -43,7 +43,7 @@ section 3.
4343
(file nil)
4444
file-list)
4545
(while (and dir-list (null file))
46-
@@ -2350,7 +2350,7 @@
46+
@@ -2349,7 +2349,7 @@
4747
nil)))))))))
4848

4949
(defvar erlang-man-file-regexp
@@ -52,7 +52,7 @@ section 3.
5252

5353
(defun erlang-man-display (file)
5454
"Display FILE as a `man' file.
55-
@@ -2362,7 +2362,7 @@
55+
@@ -2361,7 +2361,7 @@
5656
(let ((process-environment (copy-sequence process-environment)))
5757
(if (string-match erlang-man-file-regexp file)
5858
(let ((dir (substring file (match-beginning 1) (match-end 1)))

debian/patches/gnu.patch

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Author: Pino Toscano <pino@debian.org>
4949
#include <sys/sysctl.h>
5050
--- a/erts/emulator/drivers/common/inet_drv.c
5151
+++ b/erts/emulator/drivers/common/inet_drv.c
52-
@@ -5042,6 +5042,11 @@
52+
@@ -5262,6 +5262,11 @@
5353
*x = addr;
5454
return 0;
5555
}
@@ -63,7 +63,7 @@ Author: Pino Toscano <pino@debian.org>
6363

6464
--- a/erts/etc/common/erlexec.c
6565
+++ b/erts/etc/common/erlexec.c
66-
@@ -1645,7 +1645,7 @@
66+
@@ -1646,7 +1646,7 @@
6767
if (!bindir) {
6868
/* Determine bindir from absolute path to executable */
6969
char *p;
@@ -72,7 +72,7 @@ Author: Pino Toscano <pino@debian.org>
7272
strncpy(buffer, argv[0], sizeof(buffer));
7373
buffer[sizeof(buffer)-1] = '\0';
7474

75-
@@ -1659,7 +1659,7 @@
75+
@@ -1660,7 +1660,7 @@
7676
if (!rootdir) {
7777
/* Determine rootdir from absolute path to bindir */
7878
char *p;
@@ -81,7 +81,7 @@ Author: Pino Toscano <pino@debian.org>
8181
strncpy(buffer, bindir, sizeof(buffer));
8282
buffer[sizeof(buffer)-1] = '\0';
8383

84-
@@ -1888,7 +1888,7 @@
84+
@@ -1889,7 +1889,7 @@
8585
char cwd[MAX_PATH];
8686
if (_getcwd(cwd, sizeof(cwd)) == NULL) {
8787
#else
@@ -156,7 +156,7 @@ Author: Pino Toscano <pino@debian.org>
156156
abspath = find_prog(argv[0]);
157157
--- a/lib/ssl/src/Makefile
158158
+++ b/lib/ssl/src/Makefile
159-
@@ -181,7 +181,8 @@
159+
@@ -184,7 +184,8 @@
160160

161161
$(DEP_FILE): $(ERL_FILES)
162162
@echo SED $(TARGET) $(ERL_TOP_NATIVE)

debian/patches/java.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Last-updated: Sat, 13 Feb 2010 10:08:42 +0300
88

99
--- a/erts/configure.ac
1010
+++ b/erts/configure.ac
11-
@@ -3397,7 +3397,8 @@
11+
@@ -3439,7 +3439,8 @@
1212
dnl Make sure it's at least JDK 1.6
1313
AC_CACHE_CHECK(for JDK version 1.6,
1414
ac_cv_prog_javac_ver_1_6,

debian/patches/man.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ as required by Debian policy.)
66

77
--- a/erts/etc/common/erlexec.c
88
+++ b/erts/etc/common/erlexec.c
9-
@@ -708,8 +708,10 @@
9+
@@ -716,8 +716,10 @@
1010
error("-man not supported on Windows");
1111
#else
1212
argv[i] = "man";

0 commit comments

Comments
 (0)