Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F154193163
D17832.id50102.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
4 KB
Referenced Files
None
Subscribers
None
D17832.id50102.diff
View Options
Index: head/devel/elfutils/Makefile
===================================================================
--- head/devel/elfutils/Makefile
+++ head/devel/elfutils/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= elfutils
-PORTVERSION= 0.172
-PORTREVISION= 1
+PORTVERSION= 0.174
CATEGORIES= devel
MASTER_SITES= https://sourceware.org/elfutils/ftp/${PORTVERSION}/
Index: head/devel/elfutils/distinfo
===================================================================
--- head/devel/elfutils/distinfo
+++ head/devel/elfutils/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1528748700
-SHA256 (elfutils-0.172.tar.bz2) = 779c99e6344c4982bbab60b8d276cec3d468151c758905f9a44ba6b6edaa0e24
-SIZE (elfutils-0.172.tar.bz2) = 8601066
+TIMESTAMP = 1536943739
+SHA256 (elfutils-0.174.tar.bz2) = cdf27e70076e10a29539d89e367101d516bc4aa11b0d7777fe52139e3fcad08a
+SIZE (elfutils-0.174.tar.bz2) = 8700793
Index: head/devel/elfutils/files/patch-libelf_elf_update.c
===================================================================
--- head/devel/elfutils/files/patch-libelf_elf_update.c
+++ head/devel/elfutils/files/patch-libelf_elf_update.c
@@ -0,0 +1,18 @@
+--- libelf/elf_update.c.orig 2018-09-14 03:23:36.000000000 -0700
++++ libelf/elf_update.c
+@@ -106,9 +106,13 @@
+ if (elf->cmd == ELF_C_RDWR_MMAP
+ && (size_t) size > elf->maximum_size)
+ {
+- if (mremap (elf->map_address, elf->maximum_size,
+- size, 0) == MAP_FAILED)
++ if (munmap (elf->map_address, elf->maximum_size) != 0 ||
++ mmap (elf->map_address, size, PROT_READ | PROT_WRITE,
++ MAP_SHARED | MAP_FIXED | MAP_EXCL, elf->fildes,
++ 0) == MAP_FAILED)
+ {
++ elf->map_address = NULL;
++ elf->flags &= ~ELF_F_MMAPPED;
+ __libelf_seterrno (ELF_E_WRITE_ERROR);
+ return -1;
+ }
Index: head/devel/elfutils/files/patch-tests_Makefile.am
===================================================================
--- head/devel/elfutils/files/patch-tests_Makefile.am
+++ head/devel/elfutils/files/patch-tests_Makefile.am
@@ -1,6 +1,6 @@
---- tests/Makefile.am.orig 2018-06-01 07:42:27.000000000 -0700
+--- tests/Makefile.am.orig 2018-09-14 04:12:13.000000000 -0700
+++ tests/Makefile.am
-@@ -432,7 +432,7 @@
+@@ -457,7 +457,7 @@
libebl = -lebl
else !STANDALONE
if BUILD_STATIC
@@ -9,7 +9,7 @@
libelf = ../libelf/libelf.a -lz
libasm = ../libasm/libasm.a
else
-@@ -447,16 +447,16 @@
+@@ -472,16 +472,16 @@
arextract_LDADD = $(libelf)
arsymtest_LDADD = $(libelf)
newfile_LDADD = $(libelf)
@@ -30,8 +30,8 @@
update1_LDADD = $(libelf)
update2_LDADD = $(libelf)
update3_LDADD = $(libdw) $(libelf)
-@@ -468,34 +468,34 @@
- get_files_LDADD = $(libdw) $(libelf)
+@@ -495,34 +495,34 @@
+ next_files_LDADD = $(libdw) $(libelf)
get_aranges_LDADD = $(libdw) $(libelf)
allfcts_LDADD = $(libdw) $(libelf)
-line2addr_LDADD = $(libdw) $(argp_LDADD)
@@ -85,10 +85,10 @@
dwarf_getstring_LDADD = $(libdw)
-addrcfi_LDADD = $(libdw) $(libebl) $(libelf) $(argp_LDADD) -ldl
+addrcfi_LDADD = $(libdw) $(libebl) $(libelf) $(argp_LDADD)
+ dwarfcfi_LDADD = $(libdw) $(libelf)
test_flag_nobits_LDADD = $(libelf)
rerequest_tag_LDADD = $(libdw)
- alldts_LDADD = $(libdw) $(libelf)
-@@ -504,9 +504,9 @@
+@@ -532,9 +532,9 @@
low_high_pc_LDADD = $(libdw) $(libelf) $(argp_LDADD)
test_elf_cntl_gelf_getshdr_LDADD = $(libelf)
dwflsyms_LDADD = $(libdw) $(libelf) $(argp_LDADD)
@@ -101,7 +101,7 @@
backtrace_LDADD = $(libdw) $(libelf) $(argp_LDADD)
# backtrace-child-biarch also uses those *_CFLAGS and *_LDLAGS variables:
backtrace_child_CFLAGS = $(fpie_CFLAGS)
-@@ -515,23 +515,23 @@
+@@ -543,23 +543,23 @@
backtrace_data_LDADD = $(libdw) $(libelf)
backtrace_dwarf_CFLAGS = -Wno-unused-parameter
backtrace_dwarf_LDADD = $(libdw) $(libelf)
Index: head/devel/elfutils/pkg-plist
===================================================================
--- head/devel/elfutils/pkg-plist
+++ head/devel/elfutils/pkg-plist
@@ -44,6 +44,8 @@
lib/elfutils/libebl_ppc.so
lib/elfutils/libebl_ppc64-%%VERSION%%.so
lib/elfutils/libebl_ppc64.so
+lib/elfutils/libebl_riscv-%%VERSION%%.so
+lib/elfutils/libebl_riscv.so
lib/elfutils/libebl_s390-%%VERSION%%.so
lib/elfutils/libebl_s390.so
lib/elfutils/libebl_sh-%%VERSION%%.so
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 28, 12:02 AM (3 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32244030
Default Alt Text
D17832.id50102.diff (4 KB)
Attached To
Mode
D17832: Update devel/elfutils to 0.174
Attached
Detach File
Event Timeline
Log In to Comment