pkgsrc-WIP-changes archive

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

wip/libcxxabi-netbsd: import libcxxabi-7.0.0nb20180608



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Fri Jun 8 11:47:08 2018 +0200
Changeset:	7fa55338b6accaae1c73eb9ba4ee689df6a5e262

Added Files:
	libcxxabi-netbsd/DESCR
	libcxxabi-netbsd/Makefile
	libcxxabi-netbsd/PLIST
	libcxxabi-netbsd/buildlink3.mk
	libcxxabi-netbsd/distinfo
	libcxxabi-netbsd/patches/patch-include_cstddef
	libcxxabi-netbsd/patches/patch-include_stddef.h
	libcxxabi-netbsd/patches/patch-test_support_filesystem__dynamic__test__helper.py

Log Message:
wip/libcxxabi-netbsd: import libcxxabi-7.0.0nb20180608

"libc++" C++ Standard Library

libc++ is a new implementation of the C++ standard library.

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

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

diffstat:
 libcxxabi-netbsd/DESCR                             |   3 +
 libcxxabi-netbsd/Makefile                          |  33 +++++
 libcxxabi-netbsd/PLIST                             | 146 +++++++++++++++++++++
 libcxxabi-netbsd/buildlink3.mk                     |  14 ++
 libcxxabi-netbsd/distinfo                          |  17 +++
 libcxxabi-netbsd/patches/patch-include_cstddef     |  13 ++
 libcxxabi-netbsd/patches/patch-include_stddef.h    |  13 ++
 ...st_support_filesystem__dynamic__test__helper.py |  14 ++
 8 files changed, 253 insertions(+)

diffs:
diff --git a/libcxxabi-netbsd/DESCR b/libcxxabi-netbsd/DESCR
new file mode 100644
index 0000000000..47ac277268
--- /dev/null
+++ b/libcxxabi-netbsd/DESCR
@@ -0,0 +1,3 @@
+"libc++" C++ Standard Library
+
+libc++ is a new implementation of the C++ standard library.
diff --git a/libcxxabi-netbsd/Makefile b/libcxxabi-netbsd/Makefile
new file mode 100644
index 0000000000..b3a253e29f
--- /dev/null
+++ b/libcxxabi-netbsd/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile.common,v 1.7 2015/07/20 05:49:53 adam Exp $
+
+PKGNAME=	libcxxabi-7.0.0
+CATEGORIES=	lang devel
+
+SVN_REPOSITORIES=		libcxxabi
+SVN_REPO.libcxxabi=		http://llvm.org/svn/llvm-project/libcxxabi/trunk
+SVN_REVISION.libcxxabi=		334168
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://libcxx.llvm.org/
+COMMENT=	C++ Standard Library
+LICENSE=	modified-bsd OR mit
+
+WRKSRC=			${WRKDIR}/${PKGBASE}
+CONFIGURE_DIRS=		${WRKDIR}/build
+CMAKE_ARG_PATH=		${WRKSRC}
+
+USE_LANGUAGES=		c c++
+USE_CMAKE=		yes
+GCC_REQD+=		4.8
+
+CMAKE_ARGS+=	-DCMAKE_BUILD_TYPE=Release
+CMAKE_ARGS+=	-DCMAKE_C_COMPILER=${CC:Q}
+CMAKE_ARGS+=	-DCMAKE_CXX_COMPILER=${CXX:Q}
+
+post-extract:
+	${RUN} mkdir -p ${WRKDIR}/build
+
+.include "../../wip/mk/svn-package.mk"
+#DEPENDS+=       llvm-${PKGVERSION_NOREV}{,nb*}:../../wip/llvm-netbsd
+#.include "../../wip/llvm-netbsd/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/libcxxabi-netbsd/PLIST b/libcxxabi-netbsd/PLIST
new file mode 100644
index 0000000000..a8d1206dba
--- /dev/null
+++ b/libcxxabi-netbsd/PLIST
@@ -0,0 +1,146 @@
+@comment $NetBSD$
+include/c++/v1/__bit_reference
+include/c++/v1/__config
+include/c++/v1/__debug
+include/c++/v1/__functional_03
+include/c++/v1/__functional_base
+include/c++/v1/__functional_base_03
+include/c++/v1/__hash_table
+include/c++/v1/__locale
+include/c++/v1/__mutex_base
+include/c++/v1/__nullptr
+include/c++/v1/__refstring
+include/c++/v1/__split_buffer
+include/c++/v1/__sso_allocator
+include/c++/v1/__std_stream
+include/c++/v1/__tree
+include/c++/v1/__tuple
+include/c++/v1/__undef___deallocate
+include/c++/v1/__undef_min_max
+include/c++/v1/algorithm
+include/c++/v1/array
+include/c++/v1/atomic
+include/c++/v1/bitset
+include/c++/v1/cassert
+include/c++/v1/ccomplex
+include/c++/v1/cctype
+include/c++/v1/cerrno
+include/c++/v1/cfenv
+include/c++/v1/cfloat
+include/c++/v1/chrono
+include/c++/v1/cinttypes
+include/c++/v1/ciso646
+include/c++/v1/climits
+include/c++/v1/clocale
+include/c++/v1/cmath
+include/c++/v1/codecvt
+include/c++/v1/complex
+include/c++/v1/complex.h
+include/c++/v1/condition_variable
+include/c++/v1/csetjmp
+include/c++/v1/csignal
+include/c++/v1/cstdarg
+include/c++/v1/cstdbool
+include/c++/v1/cstddef
+include/c++/v1/cstdint
+include/c++/v1/cstdio
+include/c++/v1/cstdlib
+include/c++/v1/cstring
+include/c++/v1/ctgmath
+include/c++/v1/ctime
+include/c++/v1/ctype.h
+include/c++/v1/cwchar
+include/c++/v1/cwctype
+include/c++/v1/deque
+include/c++/v1/errno.h
+include/c++/v1/exception
+include/c++/v1/experimental/__config
+include/c++/v1/experimental/algorithm
+include/c++/v1/experimental/any
+include/c++/v1/experimental/chrono
+include/c++/v1/experimental/dynarray
+include/c++/v1/experimental/functional
+include/c++/v1/experimental/iterator
+include/c++/v1/experimental/optional
+include/c++/v1/experimental/ratio
+include/c++/v1/experimental/string_view
+include/c++/v1/experimental/system_error
+include/c++/v1/experimental/tuple
+include/c++/v1/experimental/type_traits
+include/c++/v1/experimental/utility
+include/c++/v1/ext/__hash
+include/c++/v1/ext/hash_map
+include/c++/v1/ext/hash_set
+include/c++/v1/float.h
+include/c++/v1/forward_list
+include/c++/v1/fstream
+include/c++/v1/functional
+include/c++/v1/future
+include/c++/v1/initializer_list
+include/c++/v1/inttypes.h
+include/c++/v1/iomanip
+include/c++/v1/ios
+include/c++/v1/iosfwd
+include/c++/v1/iostream
+include/c++/v1/istream
+include/c++/v1/iterator
+include/c++/v1/limits
+include/c++/v1/list
+include/c++/v1/locale
+include/c++/v1/map
+include/c++/v1/math.h
+include/c++/v1/memory
+include/c++/v1/module.modulemap
+include/c++/v1/mutex
+include/c++/v1/new
+include/c++/v1/numeric
+include/c++/v1/ostream
+include/c++/v1/queue
+include/c++/v1/random
+include/c++/v1/ratio
+include/c++/v1/regex
+include/c++/v1/scoped_allocator
+include/c++/v1/set
+include/c++/v1/setjmp.h
+include/c++/v1/shared_mutex
+include/c++/v1/sstream
+include/c++/v1/stack
+include/c++/v1/stddef.h
+include/c++/v1/stdexcept
+include/c++/v1/stdio.h
+include/c++/v1/stdlib.h
+include/c++/v1/streambuf
+include/c++/v1/string
+include/c++/v1/string.h
+include/c++/v1/strstream
+include/c++/v1/support/android/locale_bionic.h
+include/c++/v1/support/ibm/limits.h
+include/c++/v1/support/ibm/support.h
+include/c++/v1/support/ibm/xlocale.h
+include/c++/v1/support/musl/xlocale.h
+include/c++/v1/support/newlib/xlocale.h
+include/c++/v1/support/solaris/floatingpoint.h
+include/c++/v1/support/solaris/wchar.h
+include/c++/v1/support/solaris/xlocale.h
+include/c++/v1/support/win32/limits_win32.h
+include/c++/v1/support/win32/locale_win32.h
+include/c++/v1/support/win32/math_win32.h
+include/c++/v1/support/win32/support.h
+include/c++/v1/support/xlocale/xlocale.h
+include/c++/v1/system_error
+include/c++/v1/tgmath.h
+include/c++/v1/thread
+include/c++/v1/tuple
+include/c++/v1/type_traits
+include/c++/v1/typeindex
+include/c++/v1/typeinfo
+include/c++/v1/unordered_map
+include/c++/v1/unordered_set
+include/c++/v1/utility
+include/c++/v1/valarray
+include/c++/v1/vector
+include/c++/v1/wchar.h
+include/c++/v1/wctype.h
+lib/libc++.so
+lib/libc++.so.1
+lib/libc++.so.1.0
diff --git a/libcxxabi-netbsd/buildlink3.mk b/libcxxabi-netbsd/buildlink3.mk
new file mode 100644
index 0000000000..7814523bf1
--- /dev/null
+++ b/libcxxabi-netbsd/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	libcxx
+
+.if !defined(LIBCXX_BUILDLINK3_MK)
+LIBCXX_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libcxx+=	libcxx>=3.9.0nb20151127
+BUILDLINK_PKGSRCDIR.libcxx?=	../../wip/libcxx-git
+
+.include "../../wip/llvm-git/buildlink3.mk"
+.endif	# LIBCXX_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-libcxx
diff --git a/libcxxabi-netbsd/distinfo b/libcxxabi-netbsd/distinfo
new file mode 100644
index 0000000000..a12df60e03
--- /dev/null
+++ b/libcxxabi-netbsd/distinfo
@@ -0,0 +1,17 @@
+$NetBSD: distinfo,v 1.35 2015/09/11 01:21:57 tnn Exp $
+
+SHA1 (cfe-3.6.2.src.tar.xz) = 7ba809c9c17819a16b668640a642ed134d7052f0
+RMD160 (cfe-3.6.2.src.tar.xz) = 10d913b4d5317f8c2520e5fc6117df30937317a8
+Size (cfe-3.6.2.src.tar.xz) = 8617576 bytes
+SHA1 (compiler-rt-3.6.2.src.tar.xz) = c6c52d2923a60f1a2ca2f22fea1770fd2e25728d
+RMD160 (compiler-rt-3.6.2.src.tar.xz) = 9b68a32d49d4bef4603d550934192f39fea42895
+Size (compiler-rt-3.6.2.src.tar.xz) = 1128080 bytes
+SHA1 (libcxx-3.6.2.src.tar.xz) = 6c5aee9f05ecf17d1e3ecb1add34a33a5a904469
+RMD160 (libcxx-3.6.2.src.tar.xz) = 42b8832d01d4e6b553babc93cb5dbd4ce2bb1931
+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-include_cstddef) = bb7a7ff5257f3ce6c53ae0c32f3d76166d6157e5
+SHA1 (patch-include_stddef.h) = 573fcd22ee3bcf120dc4aea2bd2cec285b8abfcb
+SHA1 (patch-test_support_filesystem__dynamic__test__helper.py) = 739b100dc6241a2bafbfedd2959d9d20048fa46f
diff --git a/libcxxabi-netbsd/patches/patch-include_cstddef b/libcxxabi-netbsd/patches/patch-include_cstddef
new file mode 100644
index 0000000000..1414a17e0e
--- /dev/null
+++ b/libcxxabi-netbsd/patches/patch-include_cstddef
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- include/cstddef.orig	2018-06-07 17:11:08.000000000 +0000
++++ include/cstddef
+@@ -50,7 +50,7 @@ using ::ptrdiff_t;
+ using ::size_t;
+ 
+ #if defined(__CLANG_MAX_ALIGN_T_DEFINED) || defined(_GCC_MAX_ALIGN_T) || \
+-    defined(__DEFINED_max_align_t)
++    defined(__DEFINED_max_align_t) || defined(__NetBSD__)
+ // Re-use the compiler's <stddef.h> max_align_t where possible.
+ using ::max_align_t;
+ #else
diff --git a/libcxxabi-netbsd/patches/patch-include_stddef.h b/libcxxabi-netbsd/patches/patch-include_stddef.h
new file mode 100644
index 0000000000..664c3931da
--- /dev/null
+++ b/libcxxabi-netbsd/patches/patch-include_stddef.h
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- include/stddef.h.orig	2018-06-07 17:11:08.000000000 +0000
++++ include/stddef.h
+@@ -54,7 +54,7 @@ using std::nullptr_t;
+ 
+ // Re-use the compiler's <stddef.h> max_align_t where possible.
+ #if !defined(__CLANG_MAX_ALIGN_T_DEFINED) && !defined(_GCC_MAX_ALIGN_T) && \
+-    !defined(__DEFINED_max_align_t)
++    !defined(__DEFINED_max_align_t) && !defined(__NetBSD__)
+ typedef long double max_align_t;
+ #endif
+ 
diff --git a/libcxxabi-netbsd/patches/patch-test_support_filesystem__dynamic__test__helper.py b/libcxxabi-netbsd/patches/patch-test_support_filesystem__dynamic__test__helper.py
new file mode 100644
index 0000000000..556b8bbc78
--- /dev/null
+++ b/libcxxabi-netbsd/patches/patch-test_support_filesystem__dynamic__test__helper.py
@@ -0,0 +1,14 @@
+$NetBSD$
+
+--- test/support/filesystem_dynamic_test_helper.py.orig	2018-06-07 17:10:26.000000000 +0000
++++ test/support/filesystem_dynamic_test_helper.py
+@@ -4,7 +4,8 @@ import stat
+ 
+ # Ensure that this is being run on a specific platform
+ assert sys.platform.startswith('linux') or sys.platform.startswith('darwin') \
+-    or sys.platform.startswith('cygwin') or sys.platform.startswith('freebsd')
++    or sys.platform.startswith('cygwin') or sys.platform.startswith('freebsd') \
++    or sys.platform.startswith('netbsd')
+ 
+ def env_path():
+     ep = os.environ.get('LIBCXX_FILESYSTEM_DYNAMIC_TEST_ROOT')


Home | Main Index | Thread Index | Old Index