pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/gcc7 Ensure we can find std::aligned_alloc if usi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d633fd07e974
branches:  trunk
changeset: 362282:d633fd07e974
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed May 10 15:00:09 2017 +0000

description:
Ensure we can find std::aligned_alloc if using it.

diffstat:

 lang/gcc7/distinfo                                         |   3 +-
 lang/gcc7/patches/patch-libstdc++-v3_libsupc++_new__opa.cc |  15 ++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r 679f0c5a23ae -r d633fd07e974 lang/gcc7/distinfo
--- a/lang/gcc7/distinfo        Wed May 10 14:15:03 2017 +0000
+++ b/lang/gcc7/distinfo        Wed May 10 15:00:09 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2017/05/04 17:38:23 maya Exp $
+$NetBSD: distinfo,v 1.3 2017/05/10 15:00:09 jperkin Exp $
 
 SHA1 (gcc-7.1.0.tar.bz2) = 9f1e907f27eadefe7d5f7567c09e17805d9c8837
 RMD160 (gcc-7.1.0.tar.bz2) = a228dc45a09eda91b1a201d234f9013b3009b461
@@ -35,4 +35,5 @@
 SHA1 (patch-libstdc++-v3_config_os_bsd_netbsd_ctype__base.h) = 014d442c885b9c51d1a4af05205279c274a9559d
 SHA1 (patch-libstdc++-v3_config_os_bsd_netbsd_ctype__configure__char.cc) = 06bba6da02344f76c26eed765a7cb022c035994e
 SHA1 (patch-libstdc++-v3_config_os_bsd_netbsd_ctype__inline.h) = 626fc1f9c035ac5cef30a92d525af4e778835ebf
+SHA1 (patch-libstdc++-v3_libsupc++_new__opa.cc) = 4f5c5e1a2975d13b52736328dcdd6a8bcd3b3b73
 SHA1 (patch-libstdc++-v3_libsupc++_unwind-cxx.h) = 9784bfa4323f8498b36565d0fea28fce69ffdbb1
diff -r 679f0c5a23ae -r d633fd07e974 lang/gcc7/patches/patch-libstdc++-v3_libsupc++_new__opa.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/gcc7/patches/patch-libstdc++-v3_libsupc++_new__opa.cc        Wed May 10 15:00:09 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-libstdc++-v3_libsupc++_new__opa.cc,v 1.1 2017/05/10 15:00:09 jperkin Exp $
+
+Ensure we can find std::aligned_alloc if using it.
+
+--- libstdc++-v3/libsupc++/new_opa.cc.orig     2017-01-26 14:30:45.000000000 +0000
++++ libstdc++-v3/libsupc++/new_opa.cc
+@@ -82,6 +82,8 @@ aligned_alloc (std::size_t al, std::size
+   return aligned_ptr;
+ }
+ #endif
++#else
++using std::aligned_alloc;
+ #endif
+ 
+ _GLIBCXX_WEAK_DEFINITION void *



Home | Main Index | Thread Index | Old Index