aboutsummaryrefslogtreecommitdiff
path: root/devel/binutils
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2019-05-22 14:54:56 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2019-05-22 14:54:56 +0000
commit0712ad66cebb2eb9afc8ca494d44fb406bf59a77 (patch)
treee93505dfd8a965098ad89816c55179d44fae578c /devel/binutils
parentbede0940e4df894d66fde381923612b598555461 (diff)
downloadports-0712ad66cebb2eb9afc8ca494d44fb406bf59a77.tar.gz
ports-0712ad66cebb2eb9afc8ca494d44fb406bf59a77.zip
Notes
Diffstat (limited to 'devel/binutils')
-rw-r--r--devel/binutils/Makefile2
-rw-r--r--devel/binutils/files/binutils-do-not-provide-shared-section-symbols.patch25
2 files changed, 1 insertions, 26 deletions
diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile
index 00e0bfb87ade..24645b3bc0b8 100644
--- a/devel/binutils/Makefile
+++ b/devel/binutils/Makefile
@@ -3,6 +3,7 @@
PORTNAME= binutils
PORTVERSION= 2.32
+PORTREVISION= 1
PORTEPOCH?= 1
CATEGORIES?= devel
MASTER_SITES= SOURCEWARE/binutils/releases
@@ -13,7 +14,6 @@ COMMENT?= GNU binary tools
LICENSE= GPLv3 LGPL3
LICENSE_COMB= multi
-EXTRA_PATCHES= ${FILESDIR}/binutils-do-not-provide-shared-section-symbols.patch:-p1
.if defined(PREFIX) && ${PREFIX} != "/usr"
BUILD_DEPENDS= ${LOCALBASE}/lib/libgmp.so:math/gmp \
${LOCALBASE}/lib/libmpfr.so:math/mpfr
diff --git a/devel/binutils/files/binutils-do-not-provide-shared-section-symbols.patch b/devel/binutils/files/binutils-do-not-provide-shared-section-symbols.patch
deleted file mode 100644
index 02a735047950..000000000000
--- a/devel/binutils/files/binutils-do-not-provide-shared-section-symbols.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc
-index 444aef2942..8a3858d32b 100644
---- a/ld/scripttempl/elf.sc
-+++ b/ld/scripttempl/elf.sc
-@@ -637,9 +637,9 @@ cat <<EOF
- ${SDATA_GOT+${OTHER_GOT_SECTIONS}}
- ${DATA_SDATA-${SDATA}}
- ${DATA_SDATA-${OTHER_SDATA_SECTIONS}}
-- ${RELOCATING+${DATA_END_SYMBOLS-${CREATE_SHLIB+PROVIDE (}${USER_LABEL_PREFIX}_edata = .${CREATE_SHLIB+)}; PROVIDE (${USER_LABEL_PREFIX}edata = .);}}
-+ ${RELOCATING+${DATA_END_SYMBOLS-${USER_LABEL_PREFIX}_edata = .; PROVIDE (${USER_LABEL_PREFIX}edata = .);}}
- ${RELOCATING+. = .;}
-- ${RELOCATING+${CREATE_SHLIB+PROVIDE (}${USER_LABEL_PREFIX}__bss_start = .${CREATE_SHLIB+)};}
-+ ${RELOCATING+${USER_LABEL_PREFIX}__bss_start = .;}
- ${RELOCATING+${OTHER_BSS_SYMBOLS}}
- ${DATA_SDATA-${SBSS}}
- ${BSS_PLT+${PLT}}
-@@ -672,7 +672,7 @@ cat <<EOF
- ${LARGE_BSS_AFTER_BSS-${LARGE_BSS}}
- ${RELOCATING+. = ALIGN(${ALIGNMENT});}
- ${RELOCATING+${OTHER_END_SYMBOLS}}
-- ${RELOCATING+${END_SYMBOLS-${CREATE_SHLIB+PROVIDE (}${USER_LABEL_PREFIX}_end = .${CREATE_SHLIB+)}; PROVIDE (${USER_LABEL_PREFIX}end = .);}}
-+ ${RELOCATING+${END_SYMBOLS-${USER_LABEL_PREFIX}_end = .; PROVIDE (${USER_LABEL_PREFIX}end = .);}}
- ${RELOCATING+${DATA_SEGMENT_END}}
- ${TINY_DATA_SECTION}
- ${TINY_BSS_SECTION}