summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2017-02-14 21:26:22 +0000
committerjoerg <joerg@pkgsrc.org>2017-02-14 21:26:22 +0000
commitab15fc1a9e08ebdf80e566952488d824464278eb (patch)
tree7a4e87902638ac9cc276d81cd5ecb90d269210d2 /misc
parent118d1a1b09a449250e108a2b76f379a103cdb9f5 (diff)
downloadpkgsrc-ab15fc1a9e08ebdf80e566952488d824464278eb.tar.gz
Adjust crude ABI hack.
Diffstat (limited to 'misc')
-rw-r--r--misc/dpkg/distinfo3
-rw-r--r--misc/dpkg/patches/patch-dselect_cxx-support.cc19
2 files changed, 21 insertions, 1 deletions
diff --git a/misc/dpkg/distinfo b/misc/dpkg/distinfo
index a62cb3e0641..5a230eca0ac 100644
--- a/misc/dpkg/distinfo
+++ b/misc/dpkg/distinfo
@@ -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 --git a/misc/dpkg/patches/patch-dselect_cxx-support.cc b/misc/dpkg/patches/patch-dselect_cxx-support.cc
new file mode 100644
index 00000000000..2df2ff3ade4
--- /dev/null
+++ b/misc/dpkg/patches/patch-dselect_cxx-support.cc
@@ -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