pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libunwind-git: Fix build on NetBSD



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sat Feb 6 19:03:22 2016 +0100
Changeset:	0659132341726fa3785ec7518dcfb45e12676c8f

Modified Files:
	libunwind-git/distinfo
Added Files:
	libunwind-git/patches/patch-libunwind_src_AddressSpace.hpp

Log Message:
libunwind-git: Fix build on NetBSD

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0659132341726fa3785ec7518dcfb45e12676c8f

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 libunwind-git/distinfo                             |  1 +
 .../patches/patch-libunwind_src_AddressSpace.hpp   | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+)

diffs:
diff --git a/libunwind-git/distinfo b/libunwind-git/distinfo
index 7931384..b45c5d5 100644
--- a/libunwind-git/distinfo
+++ b/libunwind-git/distinfo
@@ -12,3 +12,4 @@ Size (libcxx-3.6.2.src.tar.xz) = 944020 bytes
 SHA1 (llvm-3.6.2.src.tar.xz) = 7a00257eb2bc9431e4c77c3a36b033072c54bc7e
 RMD160 (llvm-3.6.2.src.tar.xz) = 521cbc5fe2925ea3c6e90c7a31f752a04045c972
 Size (llvm-3.6.2.src.tar.xz) = 12802380 bytes
+SHA1 (patch-libunwind_src_AddressSpace.hpp) = 27672792df42e6c5c2ee211fecd7bf7155400dc5
diff --git a/libunwind-git/patches/patch-libunwind_src_AddressSpace.hpp b/libunwind-git/patches/patch-libunwind_src_AddressSpace.hpp
new file mode 100644
index 0000000..8f7bd97
--- /dev/null
+++ b/libunwind-git/patches/patch-libunwind_src_AddressSpace.hpp
@@ -0,0 +1,22 @@
+$NetBSD$
+
+--- libunwind/src/AddressSpace.hpp.orig	2016-01-21 13:29:48.000000000 +0000
++++ libunwind/src/AddressSpace.hpp
+@@ -35,7 +35,7 @@ namespace libunwind {
+ #include "Registers.hpp"
+ 
+ #if _LIBUNWIND_ARM_EHABI
+-#if defined(__FreeBSD__)
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ 
+ typedef void *_Unwind_Ptr;
+ 
+@@ -61,7 +61,7 @@ extern EHTEntry __exidx_end;
+ #endif // !defined(_LIBUNWIND_IS_BAREMETAL)
+ #endif // _LIBUNWIND_ARM_EHABI
+ 
+-#if defined(__CloudABI__) || defined(__FreeBSD__) || defined(__linux__)
++#if defined(__CloudABI__) || defined(__FreeBSD__) || defined(__linux__) || defined(__NetBSD__)
+ #if _LIBUNWIND_SUPPORT_DWARF_UNWIND && _LIBUNWIND_SUPPORT_DWARF_INDEX
+ #include <link.h>
+ // Macro for machine-independent access to the ELF program headers. This


Home | Main Index | Thread Index | Old Index