pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/rxvt-unicode No custom operator new / delete.
details: https://anonhg.NetBSD.org/pkgsrc/rev/f27778b9915b
branches: trunk
changeset: 626405:f27778b9915b
user: joerg <joerg%pkgsrc.org@localhost>
date: Sun Nov 10 20:29:24 2013 +0000
description:
No custom operator new / delete.
diffstat:
x11/rxvt-unicode/distinfo | 3 ++-
x11/rxvt-unicode/patches/patch-src_rxvtutil.h | 26 ++++++++++++++++++++++++++
2 files changed, 28 insertions(+), 1 deletions(-)
diffs (44 lines):
diff -r 77da7d5d60ca -r f27778b9915b x11/rxvt-unicode/distinfo
--- a/x11/rxvt-unicode/distinfo Sun Nov 10 20:28:50 2013 +0000
+++ b/x11/rxvt-unicode/distinfo Sun Nov 10 20:29:24 2013 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.21 2013/07/25 08:28:36 wiz Exp $
+$NetBSD: distinfo,v 1.22 2013/11/10 20:29:24 joerg Exp $
SHA1 (rxvt-unicode-9.18.tar.bz2) = 5d12639c4b17019357ee62c08916b826e5d03259
RMD160 (rxvt-unicode-9.18.tar.bz2) = 0429b78d85bdedbfa7a33dd749fb5e72582bb75f
@@ -7,3 +7,4 @@
SHA1 (patch-configure) = bd8a6fb21a02f7df6c29a932de10fdc2213ae8b0
SHA1 (patch-doc_Makefile.in) = 8465193e21878a18ae467dc50a336a65f1bd4de7
SHA1 (patch-src_perl_tabbed) = 7af00b0d704ca4801c86dedf80aadbbd1b87ad33
+SHA1 (patch-src_rxvtutil.h) = be8c1b26b24c3c36f8e0b24cf7fae51709cbaf34
diff -r 77da7d5d60ca -r f27778b9915b x11/rxvt-unicode/patches/patch-src_rxvtutil.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/rxvt-unicode/patches/patch-src_rxvtutil.h Sun Nov 10 20:29:24 2013 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-src_rxvtutil.h,v 1.1 2013/11/10 20:29:24 joerg Exp $
+
+C++ requires replacements for new and delete to be global.
+
+--- src/rxvtutil.h.orig 2013-11-09 22:04:25.000000000 +0000
++++ src/rxvtutil.h
+@@ -89,19 +89,6 @@ struct rxvt_vec : simplevec<void *>
+ };
+ #endif
+
+-inline void *
+-operator new (size_t size)
+-{
+- // TODO: use rxvt_malloc
+- return malloc (size);
+-}
+-
+-inline void
+-operator delete (void *p)
+-{
+- free (p);
+-}
+-
+ template<typename T>
+ struct auto_ptr
+ {
Home |
Main Index |
Thread Index |
Old Index