View | Details | Raw Unified | Return to bug 265917 | Differences between
and this patch

Collapse All | Expand All

(-)b/devel/binutils/Makefile (-3 / +5 lines)
Lines 1-6 Link Here
1
PORTNAME=	binutils
1
PORTNAME=	binutils
2
PORTVERSION=	2.37
2
PORTVERSION=	2.39
3
PORTREVISION=	4
4
PORTEPOCH?=	1
3
PORTEPOCH?=	1
5
CATEGORIES?=	devel
4
CATEGORIES?=	devel
6
MASTER_SITES=	SOURCEWARE/binutils/releases
5
MASTER_SITES=	SOURCEWARE/binutils/releases
Lines 22-28 FLAVORS= native aarch64 aarch64_none_elf amd64 arm_gnueabi arm_none_eabi \ Link Here
22
		riscv64_none_elf s390x sparc64 riscv32_unknown_elf
21
		riscv64_none_elf s390x sparc64 riscv32_unknown_elf
23
FLAVOR?=	native
22
FLAVOR?=	native
24
23
25
USES=		bison:alias compiler:env cpe gmake libtool makeinfo perl5 tar:xz
24
USES=		bison:alias compiler:env cpe gmake libtool makeinfo perl5 tar:lz
26
USE_PERL5=	build
25
USE_PERL5=	build
27
CPE_VENDOR=	gnu
26
CPE_VENDOR=	gnu
28
GNU_CONFIGURE=	yes
27
GNU_CONFIGURE=	yes
Lines 96-103 CONFIGURE_ARGS+= --with-system-zlib \ Link Here
96
			--with-mpfr=${LOCALBASE} \
95
			--with-mpfr=${LOCALBASE} \
97
			--enable-targets=all \
96
			--enable-targets=all \
98
			--enable-threads=yes
97
			--enable-threads=yes
98
# XXX Needed to support gcc10 and earlier:
99
CONFIGURE_ARGS+=	--with-isa-spec=2.2
99
INFO=		as \
100
INFO=		as \
100
		binutils \
101
		binutils \
102
		ctf-spec \
101
		gprof \
103
		gprof \
102
		bfd \
104
		bfd \
103
		ld
105
		ld
(-)b/devel/binutils/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1626719973
1
TIMESTAMP = 1660760045
2
SHA256 (binutils-2.37.tar.xz) = 820d9724f020a3e69cb337893a0b63c2db161dadcb0e06fc11dc29eb1e84a32c
2
SHA256 (binutils-2.39.tar.lz) = 5ab51668874d8533201b8edd2edb5e5d81d588205c6da300c8919bd7cf8664e8
3
SIZE (binutils-2.37.tar.xz) = 22916924
3
SIZE (binutils-2.39.tar.lz) = 24759528
(-)a/devel/binutils/files/patch-etc_texi2pod.pl (-11 lines)
Removed Link Here
1
--- etc/texi2pod.pl.orig	2021-08-30 17:17:09 UTC
2
+++ etc/texi2pod.pl
3
@@ -59,6 +59,8 @@ while ($_ = shift) {
4
 	    $flag = shift;
5
 	}
6
         push (@ipath, $flag);
7
+    } elsif (/^--no-split$/) {
8
+	# ignore option for makeinfo compatibility
9
     } elsif (/^-/) {
10
 	usage();
11
     } else {
(-)a/devel/binutils/files/patch-gold_gc.h (-45 lines)
Removed Link Here
1
From 10b4dbbf281397e2827820c715c39559c7f7a29d Mon Sep 17 00:00:00 2001
2
From: Alan Modra <amodra@gmail.com>
3
Date: Tue, 20 Jul 2021 18:46:57 +0930
4
Subject: [PATCH] PR28106, build of 2.37 fails on FreeBSD and Clang
5
6
https://en.cppreference.com/w/cpp/types/NULL says NULL might be
7
defined as nullptr.
8
https://en.cppreference.com/w/cpp/language/reinterpret_cast says
9
reinterpret_cast can't be used on nullptr.
10
11
	PR gold/28106
12
	PR gold/27815
13
	* gc.h (gc_process_relocs): Use static_cast in Section_id constructor.
14
15
(cherry picked from commit b97bd976233ee4d43c2fe18f6356e62779cbe82d)
16
---
17
 gold/ChangeLog | 6 ++++++
18
 gold/gc.h      | 4 ++--
19
 2 files changed, 8 insertions(+), 2 deletions(-)
20
21
diff --git gold/gc.h gold/gc.h
22
index 6ebd81f3fd0..4a1368f5abe 100644
23
--- gold/gc.h
24
+++ gold/gc.h
25
@@ -247,7 +247,7 @@ gc_process_relocs(
26
 	      if (is_ordinary) 
27
 		(*secvec).push_back(Section_id(src_obj, dst_indx));
28
 	      else
29
-		(*secvec).push_back(Section_id(reinterpret_cast<Relobj*>(NULL), 0));
30
+		(*secvec).push_back(Section_id(static_cast<Relobj*>(NULL), 0));
31
               // If the target of the relocation is an STT_SECTION symbol,
32
               // make a note of that by storing -1 in the symbol vector.
33
               if (lsym.get_st_type() == elfcpp::STT_SECTION)
34
@@ -329,7 +329,7 @@ gc_process_relocs(
35
               if (is_ordinary && dst_obj != NULL)
36
 		(*secvec).push_back(Section_id(dst_obj, dst_indx));
37
 	      else
38
-		(*secvec).push_back(Section_id(reinterpret_cast<Relobj*>(NULL), 0));
39
+		(*secvec).push_back(Section_id(static_cast<Relobj*>(NULL), 0));
40
               (*symvec).push_back(gsym);
41
 	      (*addendvec).push_back(std::make_pair(
42
 					static_cast<long long>(symvalue),
43
-- 
44
2.32.0
45
(-)b/devel/binutils/pkg-plist (+1 lines)
Lines 100-105 man/man1/strip.1.gz Link Here
100
%%NLS%%share/locale/ja/LC_MESSAGES/gas.mo
100
%%NLS%%share/locale/ja/LC_MESSAGES/gas.mo
101
%%NLS%%share/locale/ja/LC_MESSAGES/gprof.mo
101
%%NLS%%share/locale/ja/LC_MESSAGES/gprof.mo
102
%%NLS%%share/locale/ja/LC_MESSAGES/ld.mo
102
%%NLS%%share/locale/ja/LC_MESSAGES/ld.mo
103
%%NLS%%share/locale/ka/LC_MESSAGES/gprof.mo
103
%%NLS%%share/locale/ms/LC_MESSAGES/gprof.mo
104
%%NLS%%share/locale/ms/LC_MESSAGES/gprof.mo
104
%%NLS%%share/locale/nl/LC_MESSAGES/gprof.mo
105
%%NLS%%share/locale/nl/LC_MESSAGES/gprof.mo
105
%%NLS%%share/locale/nl/LC_MESSAGES/opcodes.mo
106
%%NLS%%share/locale/nl/LC_MESSAGES/opcodes.mo
(-)b/devel/binutils/pkg-plist-amd64 (-90 lines)
Lines 109-202 man/man1/%%BUTARGET%%-windres.1.gz Link Here
109
%%BUTARGET%%/lib/ldscripts/elf_iamcu.xu
109
%%BUTARGET%%/lib/ldscripts/elf_iamcu.xu
110
%%BUTARGET%%/lib/ldscripts/elf_iamcu.xw
110
%%BUTARGET%%/lib/ldscripts/elf_iamcu.xw
111
%%BUTARGET%%/lib/ldscripts/elf_iamcu.xwe
111
%%BUTARGET%%/lib/ldscripts/elf_iamcu.xwe
112
%%BUTARGET%%/lib/ldscripts/elf_k1om.x
113
%%BUTARGET%%/lib/ldscripts/elf_k1om.xbn
114
%%BUTARGET%%/lib/ldscripts/elf_k1om.xc
115
%%BUTARGET%%/lib/ldscripts/elf_k1om.xce
116
%%BUTARGET%%/lib/ldscripts/elf_k1om.xd
117
%%BUTARGET%%/lib/ldscripts/elf_k1om.xdc
118
%%BUTARGET%%/lib/ldscripts/elf_k1om.xdce
119
%%BUTARGET%%/lib/ldscripts/elf_k1om.xde
120
%%BUTARGET%%/lib/ldscripts/elf_k1om.xdw
121
%%BUTARGET%%/lib/ldscripts/elf_k1om.xdwe
122
%%BUTARGET%%/lib/ldscripts/elf_k1om.xe
123
%%BUTARGET%%/lib/ldscripts/elf_k1om.xn
124
%%BUTARGET%%/lib/ldscripts/elf_k1om.xr
125
%%BUTARGET%%/lib/ldscripts/elf_k1om.xs
126
%%BUTARGET%%/lib/ldscripts/elf_k1om.xsc
127
%%BUTARGET%%/lib/ldscripts/elf_k1om.xsce
128
%%BUTARGET%%/lib/ldscripts/elf_k1om.xse
129
%%BUTARGET%%/lib/ldscripts/elf_k1om.xsw
130
%%BUTARGET%%/lib/ldscripts/elf_k1om.xswe
131
%%BUTARGET%%/lib/ldscripts/elf_k1om.xu
132
%%BUTARGET%%/lib/ldscripts/elf_k1om.xw
133
%%BUTARGET%%/lib/ldscripts/elf_k1om.xwe
134
%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.x
135
%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xbn
136
%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xc
137
%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xce
138
%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xd
139
%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xdc
140
%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xdce
141
%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xde
142
%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xdw
143
%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xdwe
144
%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xe
145
%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xn
146
%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xr
147
%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xs
148
%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xsc
149
%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xsce
150
%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xse
151
%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xsw
152
%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xswe
153
%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xu
154
%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xw
155
%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xwe
156
%%BUTARGET%%/lib/ldscripts/elf_l1om.x
157
%%BUTARGET%%/lib/ldscripts/elf_l1om.xbn
158
%%BUTARGET%%/lib/ldscripts/elf_l1om.xc
159
%%BUTARGET%%/lib/ldscripts/elf_l1om.xce
160
%%BUTARGET%%/lib/ldscripts/elf_l1om.xd
161
%%BUTARGET%%/lib/ldscripts/elf_l1om.xdc
162
%%BUTARGET%%/lib/ldscripts/elf_l1om.xdce
163
%%BUTARGET%%/lib/ldscripts/elf_l1om.xde
164
%%BUTARGET%%/lib/ldscripts/elf_l1om.xdw
165
%%BUTARGET%%/lib/ldscripts/elf_l1om.xdwe
166
%%BUTARGET%%/lib/ldscripts/elf_l1om.xe
167
%%BUTARGET%%/lib/ldscripts/elf_l1om.xn
168
%%BUTARGET%%/lib/ldscripts/elf_l1om.xr
169
%%BUTARGET%%/lib/ldscripts/elf_l1om.xs
170
%%BUTARGET%%/lib/ldscripts/elf_l1om.xsc
171
%%BUTARGET%%/lib/ldscripts/elf_l1om.xsce
172
%%BUTARGET%%/lib/ldscripts/elf_l1om.xse
173
%%BUTARGET%%/lib/ldscripts/elf_l1om.xsw
174
%%BUTARGET%%/lib/ldscripts/elf_l1om.xswe
175
%%BUTARGET%%/lib/ldscripts/elf_l1om.xu
176
%%BUTARGET%%/lib/ldscripts/elf_l1om.xw
177
%%BUTARGET%%/lib/ldscripts/elf_l1om.xwe
178
%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.x
179
%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xbn
180
%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xc
181
%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xce
182
%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xd
183
%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xdc
184
%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xdce
185
%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xde
186
%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xdw
187
%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xdwe
188
%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xe
189
%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xn
190
%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xr
191
%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xs
192
%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xsc
193
%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xsce
194
%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xse
195
%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xsw
196
%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xswe
197
%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xu
198
%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xw
199
%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xwe
200
%%BUTARGET%%/lib/ldscripts/elf_x86_64.x
112
%%BUTARGET%%/lib/ldscripts/elf_x86_64.x
201
%%BUTARGET%%/lib/ldscripts/elf_x86_64.xbn
113
%%BUTARGET%%/lib/ldscripts/elf_x86_64.xbn
202
%%BUTARGET%%/lib/ldscripts/elf_x86_64.xc
114
%%BUTARGET%%/lib/ldscripts/elf_x86_64.xc
203
- 
204
--
205
sysutils/atf-master/Makefile | 2 ++
115
sysutils/atf-master/Makefile | 2 ++
206
1 file changed, 2 insertions(+)
116
1 file changed, 2 insertions(+)
(-)b/sysutils/atf-master/Makefile (-2 / +2 lines)
Lines 34-39 DESCR?= ${.CURDIR}/pkg-descr Link Here
34
34
35
NO_ARCH=	yes
35
NO_ARCH=	yes
36
36
37
LDFLAGS+=	--no-warn-rwx-segments
38
37
.if !defined(PLAT)
39
.if !defined(PLAT)
38
PLAT=		NONE
40
PLAT=		NONE
39
IGNORE=		is a metaport; there is nothing to build
41
IGNORE=		is a metaport; there is nothing to build
40
- 
41
--
42
multimedia/libxine/Makefile | 2 ++
42
multimedia/libxine/Makefile | 2 ++
43
1 file changed, 2 insertions(+)
43
1 file changed, 2 insertions(+)
(-)b/multimedia/libxine/Makefile (-2 / +2 lines)
Lines 170-175 pre-configure-GNUTLS-off: Link Here
170
		${WRKSRC}/configure
170
		${WRKSRC}/configure
171
171
172
post-patch:
172
post-patch:
173
	@${REINPLACE_CMD} -e '/xine_set_flags/s/XINE_PROTECTED//' \
174
		${WRKSRC}/include/xine.h
173
.if ${COMPILER_TYPE} == "clang"
175
.if ${COMPILER_TYPE} == "clang"
174
	@${REINPLACE_CMD} -e 's|-fno-rename-registers||' \
176
	@${REINPLACE_CMD} -e 's|-fno-rename-registers||' \
175
		${WRKSRC}/src/libw32dll/Makefile.in
177
		${WRKSRC}/src/libw32dll/Makefile.in
176
- 
177
--
178
.../files/patch-src_lib_disassembler_disassembler.cpp | 11 +++++++++++
178
.../files/patch-src_lib_disassembler_disassembler.cpp | 11 +++++++++++
179
1 file changed, 11 insertions(+)
179
1 file changed, 11 insertions(+)
180
create mode 100644 devel/elf-dissector/files/patch-src_lib_disassembler_disassembler.cpp
180
create mode 100644 devel/elf-dissector/files/patch-src_lib_disassembler_disassembler.cpp
(-)b/devel/elf-dissector/files/patch-src_lib_disassembler_disassembler.cpp (-1 / +11 lines)
Added Link Here
0
- 
1
--- src/lib/disassmbler/disassembler.cpp.orig	2021-07-21 03:44:26.000000000 -0700
2
+++ src/lib/disassmbler/disassembler.cpp	2022-10-25 07:11:53.794805000 -0700
3
@@ -127,7 +127,7 @@
4
     QString result;
5
     disassembler_ftype disassemble_fn;
6
     disassemble_info info;
7
-    INIT_DISASSEMBLE_INFO(info, &result, qstring_printf);
8
+    INIT_DISASSEMBLE_INFO(info, &result, qstring_printf, qstring_printf);
9
 
10
     info.application_data = this;
11
     info.flavour = bfd_target_elf_flavour;

Return to bug 265917