Hi,
An update to libdwarf, including security fixes. Info on those here:
https://www.prevanders.net/dwarf.html#releases
Diffing the public headers, I see the existing interfaces don't seem to
have changed, but some new functions and types were added, hence the
minor bump.
I also compared the output of dwarfdump on a debug neovim binary before
and after. No change.
The only consumer, devel/ctf-tools, still builds.
OK?
P.S. The test target for ctf-tools seems to be broken:
---8<---
===> Regression tests for ctftools-0.1p5
*** Parse error in
/usr/local/pobj/ctftools-0.1/ctftools-c4a72ae4266a97407916728689568c7f747d0e4b/cddl:
Could not find src.opts.mk (Makefile:3)
...
--->8---
Index: Makefile
===================================================================
RCS file: /home/edd/cvsync/ports/devel/libdwarf/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- Makefile 9 Sep 2016 12:25:07 -0000 1.4
+++ Makefile 6 Feb 2017 14:22:07 -0000
@@ -1,13 +1,14 @@
# $OpenBSD: Makefile,v 1.4 2016/09/09 12:25:07 jasper Exp $
+#
+# Note that this may not build if an older libdwarf is already installed.
COMMENT= library to access the DWARF debugging file format
-V= 20160613
+V= 20161124
DISTNAME= libdwarf-${V}
WRKDIST= ${WRKDIR}/dwarf-${V}
-REVISION= 1
-SHARED_LIBS= dwarf 1.0
+SHARED_LIBS= dwarf 1.1
CATEGORIES= devel
Index: distinfo
===================================================================
RCS file: /home/edd/cvsync/ports/devel/libdwarf/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo 30 Aug 2016 15:11:19 -0000 1.2
+++ distinfo 6 Feb 2017 14:02:01 -0000
@@ -1,2 +1,2 @@
-SHA256 (libdwarf-20160613.tar.gz) =
LNR4g6V92Jy20yrDbvFMJjFxmk6y5uL3QwU2UUFoArs=
-SIZE (libdwarf-20160613.tar.gz) = 1622221
+SHA256 (libdwarf-20161124.tar.gz) =
vT1tx9oFCYdvuVuGgfFl/r2JiEXcZnFKpY5puP7KmI8=
+SIZE (libdwarf-20161124.tar.gz) = 1732155
Index: patches/patch-libdwarf_Makefile_in
===================================================================
RCS file:
/home/edd/cvsync/ports/devel/libdwarf/patches/patch-libdwarf_Makefile_in,v
retrieving revision 1.2
diff -u -p -r1.2 patch-libdwarf_Makefile_in
--- patches/patch-libdwarf_Makefile_in 30 Aug 2016 15:11:20 -0000 1.2
+++ patches/patch-libdwarf_Makefile_in 6 Feb 2017 14:08:09 -0000
@@ -1,12 +1,12 @@
$OpenBSD: patch-libdwarf_Makefile_in,v 1.2 2016/08/30 15:11:20 jasper Exp $
---- libdwarf/Makefile.in.orig Wed Jun 8 17:26:52 2016
-+++ libdwarf/Makefile.in Thu Aug 25 21:19:00 2016
-@@ -54,7 +54,7 @@ INCLUDES = -I. -I$(srcdir)
- dwfpic = @dwfpic@
+--- libdwarf/Makefile.in.orig Thu Nov 24 21:15:02 2016
++++ libdwarf/Makefile.in Mon Feb 6 14:08:02 2017
+@@ -55,7 +55,7 @@ dwfpic = @dwfpic@
dwfwall = @dwfwall@
+ dwfsanitize = @dwfsanitize@
dwfzlib = @dwfzlib@
-SONAME = libdwarf.so.1
+SONAME = libdwarf.so.${LIBdwarf_VERSION}
- CFLAGS = $(PREINCS) @CPPFLAGS@ @CFLAGS@ $(INCLUDES) $(dwfpic) $(dwfwall)
$(POSTINCS)
- LDFLAGS = $(PRELIBS) @LDFLAGS@ $(POSTLIBS)
+ CFLAGS = $(PREINCS) @CPPFLAGS@ @CFLAGS@ $(INCLUDES) $(dwfpic) $(dwfwall)
$(dwfsanitize) $(POSTINCS)
+ LDFLAGS = $(PRELIBS) @LDFLAGS@ $(dwfsanitize) $(POSTLIBS)
HOSTCFLAGS = $(CFLAGS)
Index: patches/patch-libdwarf_configure
===================================================================
RCS file:
/home/edd/cvsync/ports/devel/libdwarf/patches/patch-libdwarf_configure,v
retrieving revision 1.1
diff -u -p -r1.1 patch-libdwarf_configure
--- patches/patch-libdwarf_configure 9 Sep 2016 12:20:14 -0000 1.1
+++ patches/patch-libdwarf_configure 6 Feb 2017 14:08:13 -0000
@@ -3,9 +3,9 @@ $OpenBSD: patch-libdwarf_configure,v 1.1
Adjust configure tests to ensure HAVE_ELF64_RELA and HAVE_ELF64_SYM get
defined.
---- libdwarf/configure.orig Thu May 19 20:41:23 2016
-+++ libdwarf/configure Thu Sep 8 23:47:56 2016
-@@ -4231,7 +4231,7 @@ fi
+--- libdwarf/configure.orig Sat Oct 1 00:30:27 2016
++++ libdwarf/configure Mon Feb 6 14:04:20 2017
+@@ -4246,7 +4246,7 @@ fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -14,7 +14,7 @@ defined.
int
main ()
{
-@@ -4248,7 +4248,7 @@ fi
+@@ -4263,7 +4263,7 @@ fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
--
Best Regards
Edd Barrett
http://www.theunixzoo.co.uk