pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/dpkg Adjust crude ABI hack.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d62091047f8c
branches:  trunk
changeset: 358554:d62091047f8c
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Feb 14 21:26:22 2017 +0000

description:
Adjust crude ABI hack.

diffstat:

 misc/dpkg/distinfo                             |   3 ++-
 misc/dpkg/patches/patch-dselect_cxx-support.cc |  19 +++++++++++++++++++
 2 files changed, 21 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r 374de4058b01 -r d62091047f8c misc/dpkg/distinfo
--- a/misc/dpkg/distinfo        Tue Feb 14 21:25:50 2017 +0000
+++ b/misc/dpkg/distinfo        Tue Feb 14 21:26:22 2017 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.10 2017/02/05 18:46:29 wiz Exp $
+$NetBSD: distinfo,v 1.11 2017/02/14 21:26:22 joerg Exp $
 
 SHA1 (dpkg_1.18.22.tar.xz) = 2756deecfc0095e7ccd0c0d51abdd20cc74c3fbf
 RMD160 (dpkg_1.18.22.tar.xz) = 7f8f86eb8d495311cc8683706795d7895a0aa73f
 SHA512 (dpkg_1.18.22.tar.xz) = c4653b92d3b3ab3051e1cbe7abb757f75b8ab902a54dcd6e2379115d3f36ae7c5d6e0a00f34a3cec1a96484dc708197061824dd81e465d8627e726bfc48eb2b4
 Size (dpkg_1.18.22.tar.xz) = 4520088 bytes
+SHA1 (patch-dselect_cxx-support.cc) = 852d9b6de83062a747b61ef416436bde97c6ffb7
 SHA1 (patch-lib_compat_strsignal.c) = 7fa145059f28faa1f3e7bb34848ebd5e62941a20
diff -r 374de4058b01 -r d62091047f8c misc/dpkg/patches/patch-dselect_cxx-support.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/dpkg/patches/patch-dselect_cxx-support.cc    Tue Feb 14 21:26:22 2017 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-dselect_cxx-support.cc,v 1.1 2017/02/14 21:26:22 joerg Exp $
+
+Do not depend on cxxabi.h to have declared __cxa_pure_virtual.
+
+--- dselect/cxx-support.cc.orig        2017-02-09 16:14:23.124533168 +0000
++++ dselect/cxx-support.cc
+@@ -81,9 +81,11 @@ operator delete[](void *a, size_t size) 
+ }
+ 
+ #ifdef HAVE___CXA_PURE_VIRTUAL
++namespace __cxxabiv1 {
+ extern "C" void
+-abi::__cxa_pure_virtual()
++__cxa_pure_virtual()
+ {
+       internerr("pure virtual function called");
+ }
++}
+ #endif



Home | Main Index | Thread Index | Old Index