diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-07-11 19:21:19 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-07-11 19:21:19 +0300 |
commit | 5e351f4ee85102acc1fca033f6ba86ff7fe3705a (patch) | |
tree | 173aea419b3c754421c3ae7c00a3dd3f08bfc3de /packages/dev-libs | |
parent | bb21f1eb84acdf92d5eb628db9fc80f25e2cc4fe (diff) |
moved edited exherbo packages to separate repo "git://sss.chaoslab.ru/exherbo-edits-repo.git"
added latest codelite stable tag release as git-master failing to build
Diffstat (limited to 'packages/dev-libs')
12 files changed, 0 insertions, 629 deletions
diff --git a/packages/dev-libs/libcgroup/files/1bce3ab63968022e97599bbd73ec1a66aacf45bc.diff b/packages/dev-libs/libcgroup/files/1bce3ab63968022e97599bbd73ec1a66aacf45bc.diff deleted file mode 100644 index c52bf85..0000000 --- a/packages/dev-libs/libcgroup/files/1bce3ab63968022e97599bbd73ec1a66aacf45bc.diff +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/src/api.c b/src/api.c -index d6c9d3a..ef796ac 100644 ---- a/src/api.c -+++ b/src/api.c -@@ -2775,13 +2775,17 @@ static struct cgroup_rule *cgroup_find_matching_rule_uid_gid(uid_t uid, - /* Get the group data. */ - sp = &(rule->username[1]); - grp = getgrnam(sp); -- if (!grp) -+ if (!grp) { -+ rule = rule->next; - continue; -+ } - - /* Get the data for UID. */ - usr = getpwuid(uid); -- if (!usr) -+ if (!usr) { -+ rule = rule->next; - continue; -+ } - - /* If UID is a member of group, we matched. */ - for (i = 0; grp->gr_mem[i]; i++) { diff --git a/packages/dev-libs/libcgroup/files/libcgroup-0.41-reorder-headers.patch b/packages/dev-libs/libcgroup/files/libcgroup-0.41-reorder-headers.patch deleted file mode 100644 index 78a3d09..0000000 --- a/packages/dev-libs/libcgroup/files/libcgroup-0.41-reorder-headers.patch +++ /dev/null @@ -1,28 +0,0 @@ -libcgroup-internal.h: reorder the header stacking. - -`man 3 fts` not only specifies the headers to be included, but -also the order. <fts.h> must be included after <sys/types.h> -and <sys/stats.h>. On glibc and uClibc systems, an incorrect -order does not pose a problem, but on musl this leads to undefine -types such as dev_t and friends. - -Signed-off-by: Anthony G. Basile <blueness@gentoo.org> - -diff -Naur libcgroup-0.41.orig/src/libcgroup-internal.h libcgroup-0.41/src/libcgroup-internal.h ---- libcgroup-0.41.orig/src/libcgroup-internal.h 2015-07-13 21:08:26.740965713 -0400 -+++ libcgroup-0.41/src/libcgroup-internal.h 2015-07-13 21:09:40.774962164 -0400 -@@ -21,12 +21,12 @@ - #endif - - #include "config.h" --#include <fts.h> - #include <libcgroup.h> - #include <limits.h> - #include <pthread.h> --#include <sys/stat.h> - #include <sys/types.h> -+#include <sys/stat.h> -+#include <fts.h> - #include <setjmp.h> - - /* Maximum number of mount points/controllers */ diff --git a/packages/dev-libs/libcgroup/files/libcgroup-0.41-replace_DECLS.patch b/packages/dev-libs/libcgroup/files/libcgroup-0.41-replace_DECLS.patch deleted file mode 100644 index 7701093..0000000 --- a/packages/dev-libs/libcgroup/files/libcgroup-0.41-replace_DECLS.patch +++ /dev/null @@ -1,225 +0,0 @@ -Replace __BEGIN_DECLS and __END_DECLS with extern "C". - -The macros __BEGIN_DECLS and __END_DECLS are a GNU-ism found in -glibc and uClibc, but not musl. We replace them by the more general -extern "C" { ... } block exposed only if we have __cplusplus. - -Signed-off-by: Anthony G. Basile <blueness@gentoo.org> - -diff -Naur libcgroup-0.41.orig/include/libcgroup/config.h libcgroup-0.41/include/libcgroup/config.h ---- libcgroup-0.41.orig/include/libcgroup/config.h 2014-01-13 14:05:56.000000000 +0000 -+++ libcgroup-0.41/include/libcgroup/config.h 2015-07-11 23:19:20.451977284 +0000 -@@ -9,7 +9,9 @@ - #include <features.h> - #endif - --__BEGIN_DECLS -+#ifdef __cplusplus -+extern "C" { -+#endif - - /** - * @defgroup group_config 5. Configuration -@@ -107,6 +109,8 @@ - * @} - * @} - */ --__END_DECLS -+#ifdef __cplusplus -+} -+#endif - - #endif /*_LIBCGROUP_CONFIG_H*/ -diff -Naur libcgroup-0.41.orig/include/libcgroup/error.h libcgroup-0.41/include/libcgroup/error.h ---- libcgroup-0.41.orig/include/libcgroup/error.h 2014-01-13 14:05:56.000000000 +0000 -+++ libcgroup-0.41/include/libcgroup/error.h 2015-07-11 23:19:34.253977328 +0000 -@@ -9,7 +9,9 @@ - #include <features.h> - #endif - --__BEGIN_DECLS -+#ifdef __cplusplus -+extern "C" { -+#endif - - /** - * @defgroup group_errors 6. Error handling -@@ -99,6 +101,8 @@ - * @} - * @} - */ --__END_DECLS -+#ifdef __cplusplus -+} -+#endif - - #endif /* _LIBCGROUP_INIT_H */ -diff -Naur libcgroup-0.41.orig/include/libcgroup/groups.h libcgroup-0.41/include/libcgroup/groups.h ---- libcgroup-0.41.orig/include/libcgroup/groups.h 2014-01-13 14:05:56.000000000 +0000 -+++ libcgroup-0.41/include/libcgroup/groups.h 2015-07-11 23:19:40.305977347 +0000 -@@ -11,7 +11,9 @@ - #include <stdbool.h> - #endif - --__BEGIN_DECLS -+#ifdef __cplusplus -+extern "C" { -+#endif - - /** - * Flags for cgroup_delete_cgroup_ext(). -@@ -577,6 +579,8 @@ - */ - - --__END_DECLS -+#ifdef __cplusplus -+} -+#endif - - #endif /* _LIBCGROUP_GROUPS_H */ -diff -Naur libcgroup-0.41.orig/include/libcgroup/init.h libcgroup-0.41/include/libcgroup/init.h ---- libcgroup-0.41.orig/include/libcgroup/init.h 2014-01-13 14:05:56.000000000 +0000 -+++ libcgroup-0.41/include/libcgroup/init.h 2015-07-11 23:19:46.369977366 +0000 -@@ -9,7 +9,9 @@ - #include <features.h> - #endif - --__BEGIN_DECLS -+#ifdef __cplusplus -+extern "C" { -+#endif - - /** - * @defgroup group_init 1. Initialization -@@ -58,6 +60,8 @@ - * @} - * @} - */ --__END_DECLS -+#ifdef __cplusplus -+} -+#endif - - #endif /* _LIBCGROUP_INIT_H */ -diff -Naur libcgroup-0.41.orig/include/libcgroup/iterators.h libcgroup-0.41/include/libcgroup/iterators.h ---- libcgroup-0.41.orig/include/libcgroup/iterators.h 2014-01-13 14:05:56.000000000 +0000 -+++ libcgroup-0.41/include/libcgroup/iterators.h 2015-07-11 23:19:53.353977388 +0000 -@@ -11,7 +11,9 @@ - #include <features.h> - #endif - --__BEGIN_DECLS -+#ifdef __cplusplus -+extern "C" { -+#endif - - /** - * @defgroup group_iterators 3. Iterators -@@ -423,6 +425,8 @@ - * @} - */ - --__END_DECLS -+#ifdef __cplusplus -+} -+#endif - - #endif /* _LIBCGROUP_ITERATORS_H */ -diff -Naur libcgroup-0.41.orig/include/libcgroup/log.h libcgroup-0.41/include/libcgroup/log.h ---- libcgroup-0.41.orig/include/libcgroup/log.h 2014-01-13 14:05:56.000000000 +0000 -+++ libcgroup-0.41/include/libcgroup/log.h 2015-07-11 23:19:58.922977406 +0000 -@@ -11,7 +11,9 @@ - - #include <stdarg.h> - --__BEGIN_DECLS -+#ifdef __cplusplus -+extern "C" { -+#endif - - /** - * @defgroup group_log 7. Logging -@@ -142,6 +144,8 @@ - * @} - * @} - */ --__END_DECLS -+#ifdef __cplusplus -+} -+#endif - - #endif /* _LIBCGROUP_LOG_H */ -diff -Naur libcgroup-0.41.orig/include/libcgroup/tasks.h libcgroup-0.41/include/libcgroup/tasks.h ---- libcgroup-0.41.orig/include/libcgroup/tasks.h 2014-01-13 14:05:56.000000000 +0000 -+++ libcgroup-0.41/include/libcgroup/tasks.h 2015-07-11 23:20:03.329977420 +0000 -@@ -12,7 +12,9 @@ - #include <stdbool.h> - #endif - --__BEGIN_DECLS -+#ifdef __cplusplus -+extern "C" { -+#endif - - /** Flags for cgroup_change_cgroup_uid_gid(). */ - enum cgflags { -@@ -204,6 +206,8 @@ - * @} - * @} - */ --__END_DECLS -+#ifdef __cplusplus -+} -+#endif - - #endif /* _LIBCGROUP_TASKS_H */ -diff -Naur libcgroup-0.41.orig/src/daemon/cgrulesengd.h libcgroup-0.41/src/daemon/cgrulesengd.h ---- libcgroup-0.41.orig/src/daemon/cgrulesengd.h 2014-01-13 14:05:56.000000000 +0000 -+++ libcgroup-0.41/src/daemon/cgrulesengd.h 2015-07-11 23:20:34.282977519 +0000 -@@ -17,7 +17,9 @@ - - #include <features.h> - --__BEGIN_DECLS -+#ifdef __cplusplus -+extern "C" { -+#endif - - #include "config.h" - #include "libcgroup.h" -@@ -119,7 +121,9 @@ - */ - void cgre_catch_term(int signum); - --__END_DECLS -+#ifdef __cplusplus -+} -+#endif - - #endif /* _CGRULESENGD_H */ - -diff -Naur libcgroup-0.41.orig/src/libcgroup-internal.h libcgroup-0.41/src/libcgroup-internal.h ---- libcgroup-0.41.orig/src/libcgroup-internal.h 2015-07-11 23:16:37.497976764 +0000 -+++ libcgroup-0.41/src/libcgroup-internal.h 2015-07-11 23:20:22.299977481 +0000 -@@ -16,7 +16,9 @@ - - #define __LIBCG_INTERNAL - --__BEGIN_DECLS -+#ifdef __cplusplus -+extern "C" { -+#endif - - #include "config.h" - #include <fts.h> -@@ -279,6 +281,8 @@ - */ - int cg_chmod_path(const char *path, mode_t mode, int owner_is_umask); - --__END_DECLS -+#ifdef __cplusplus -+} -+#endif - - #endif diff --git a/packages/dev-libs/libcgroup/files/libcgroup-0.41-replace_INLCUDES.patch b/packages/dev-libs/libcgroup/files/libcgroup-0.41-replace_INLCUDES.patch deleted file mode 100644 index 191de87..0000000 --- a/packages/dev-libs/libcgroup/files/libcgroup-0.41-replace_INLCUDES.patch +++ /dev/null @@ -1,74 +0,0 @@ -Replace INCLUDES with AM_CPPFLAGS in Makefile.am - -We replace the deprecated INCLUDES with AM_CPPFLAGS in all -Makefile.am's. - -Signed-off-by: Anthony G. Basile <blueness@gentoo.org> - -diff -Naur libcgroup-0.41.orig/src/Makefile.am libcgroup-0.41/src/Makefile.am ---- libcgroup-0.41.orig/src/Makefile.am 2014-01-13 14:05:56.000000000 +0000 -+++ libcgroup-0.41/src/Makefile.am 2015-07-13 14:36:38.922428040 +0000 -@@ -9,7 +9,7 @@ - - CLEANFILES = lex.c parse.c parse.h - --INCLUDES = -I$(top_srcdir)/include -+AM_CPPFLAGS = -I$(top_srcdir)/include - lib_LTLIBRARIES = libcgroup.la - libcgroup_la_SOURCES = parse.h parse.y lex.l api.c config.c libcgroup-internal.h libcgroup.map wrapper.c log.c - libcgroup_la_LIBADD = -lpthread -diff -Naur libcgroup-0.41.orig/src/bindings/Makefile.am libcgroup-0.41/src/bindings/Makefile.am ---- libcgroup-0.41.orig/src/bindings/Makefile.am 2014-01-13 14:05:56.000000000 +0000 -+++ libcgroup-0.41/src/bindings/Makefile.am 2015-07-13 14:37:12.267428146 +0000 -@@ -1,5 +1,5 @@ - SUBDIRS = . --INCLUDES = -I$(top_srcdir)/include -+AM_CPPFLAGS = -I$(top_srcdir)/include - - lib_LTLIBRARIES = _libcgroup.la - _libcgroup_la_SOURCES = libcgroup.c -@@ -11,5 +11,5 @@ - - libcgroup.c: libcgroup.p $(top_srcdir)/include/libcgroup.h - cp libcgroup.p libcgroup.i -- $(CC) $(INCLUDES) -DSWIG -E $(top_srcdir)/include/libcgroup.h >> libcgroup.i -+ $(CC) $(CPPFLAGS) -DSWIG -E $(top_srcdir)/include/libcgroup.h >> libcgroup.i - $(SWIG) -python -o libcgroup.c libcgroup.i -diff -Naur libcgroup-0.41.orig/src/daemon/Makefile.am libcgroup-0.41/src/daemon/Makefile.am ---- libcgroup-0.41.orig/src/daemon/Makefile.am 2014-01-13 14:05:56.000000000 +0000 -+++ libcgroup-0.41/src/daemon/Makefile.am 2015-07-13 14:36:55.781428093 +0000 -@@ -1,4 +1,4 @@ --INCLUDES = -I $(top_srcdir)/include -+AM_CPPFLAGS = -I $(top_srcdir)/include - - if WITH_DAEMON - -diff -Naur libcgroup-0.41.orig/src/pam/Makefile.am libcgroup-0.41/src/pam/Makefile.am ---- libcgroup-0.41.orig/src/pam/Makefile.am 2014-01-13 14:05:56.000000000 +0000 -+++ libcgroup-0.41/src/pam/Makefile.am 2015-07-13 14:36:28.768428007 +0000 -@@ -1,4 +1,4 @@ --INCLUDES = -I $(top_srcdir)/include -+AM_CPPFLAGS = -I $(top_srcdir)/include - - if WITH_PAM - -diff -Naur libcgroup-0.41.orig/src/tools/Makefile.am libcgroup-0.41/src/tools/Makefile.am ---- libcgroup-0.41.orig/src/tools/Makefile.am 2014-01-13 14:05:56.000000000 +0000 -+++ libcgroup-0.41/src/tools/Makefile.am 2015-07-13 14:36:19.098427976 +0000 -@@ -1,4 +1,4 @@ --INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/include -+AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/include - LDADD = $(top_builddir)/src/.libs/libcgroup.la - - if WITH_TOOLS -diff -Naur libcgroup-0.41.orig/tests/Makefile.am libcgroup-0.41/tests/Makefile.am ---- libcgroup-0.41.orig/tests/Makefile.am 2014-01-13 14:05:56.000000000 +0000 -+++ libcgroup-0.41/tests/Makefile.am 2015-07-13 14:37:23.146428181 +0000 -@@ -1,6 +1,6 @@ - SUBDIRS = tools - --INCLUDES = -I$(top_srcdir)/include -+AM_CPPFLAGS = -I$(top_srcdir)/include - LDADD = $(top_builddir)/src/.libs/libcgroup.la - - # compile the tests, but do not install them diff --git a/packages/dev-libs/libcgroup/libcgroup-0.41-r1.exheres-0 b/packages/dev-libs/libcgroup/libcgroup-0.41-r1.exheres-0 deleted file mode 100644 index 5f816dc..0000000 --- a/packages/dev-libs/libcgroup/libcgroup-0.41-r1.exheres-0 +++ /dev/null @@ -1,6 +0,0 @@ -# Copyright 2010-2017 Wulf C. Krueger <philantrop@exherbo.org> -# Distributed under the terms of the GNU General Public License v2 - -require libcgroup - -PLATFORMS="~amd64 ~x86" diff --git a/packages/dev-libs/libcgroup/libcgroup.exlib b/packages/dev-libs/libcgroup/libcgroup.exlib deleted file mode 100644 index 13f5d55..0000000 --- a/packages/dev-libs/libcgroup/libcgroup.exlib +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 2010-2017 Wulf C. Krueger <philantrop@exherbo.org> -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -require sourceforge [ project="libcg" ] -require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.13 ] ] - -export_exlib_phases pkg_postinst src_prepare - -SUMMARY="libcg is a library that abstracts the control group file system in Linux" -DESCRIPTION=" -libcgroup aims to provide programmers easily usable APIs to use the control group -file system. It should satisfy the following requirements: -- Provide a programmable interface for cgroups -- Provide persistent configuration across reboots -- Provide a programmable interface for manipulating configurations -" - -#BUGS_TO="philantrop@exherbo.org" - -UPSTREAM_DOCUMENTATION="${HOMEPAGE}/html/index.html [[ lang = en ]]" - -LICENCES="LGPL-2.1" -SLOT="0" -MYOPTIONS="" - -DEPENDENCIES=" - build+run: - sys-libs/pam -" - -# The tests since 0.38 want to mess directly with /sys *and* expect libcgroup to -# be already installed. Last checked: 0.41 -RESTRICT="test" - -DEFAULT_SRC_CONFIGURE_PARAMS=( - --enable-cgred-socket=/run/cgred.sock - --enable-daemon - --enable-pam - --enable-shared - --enable-static - --enable-tools -) - -DEFAULT_SRC_CONFIGURE_PARAMS=( --enable-opaque-hierarchy=name=systemd ) - -DEFAULT_SRC_PREPARE_PATCHES=( - "${FILES}"/${PNV}-replace_DECLS.patch - "${FILES}"/${PNV}-replace_INLCUDES.patch - "${FILES}"/${PNV}-reorder-headers.patch - "${FILES}"/1bce3ab63968022e97599bbd73ec1a66aacf45bc.diff -) - -libcgroup_src_prepare() { - # Change rules file location - edo sed -e 's:/etc/cgrules.conf:/etc/cgroup/cgrules.conf:' \ - -i src/libcgroup-internal.h - edo sed -e 's:/etc/cgconfig.conf:/etc/cgroup/cgconfig.conf:' \ - -i src/libcgroup-internal.h - edo sed -e 's:\(pam_cgroup_la_LDFLAGS.*\):\1\ -avoid-version:' \ - -i src/pam/Makefile.am - edo sed -e 's#/var/run#/run#g' -i configure.in || die "sed failed" - autotools_src_prepare -} - -libcgroup_pkg_postinst() { - default - - local cruft=( /etc/rc.d/init.d/cgconfig /etc/rc.d/init.d/cgred ) - for file in ${cruft[@]}; do - if test -f "${file}" ; then - nonfatal edo rm "${file}" || ewarn "removing ${file} failed" - fi - done -} - diff --git a/packages/dev-libs/libclc/libclc-0_pre20170929.exheres-0 b/packages/dev-libs/libclc/libclc-0_pre20170929.exheres-0 deleted file mode 100644 index 942b553..0000000 --- a/packages/dev-libs/libclc/libclc-0_pre20170929.exheres-0 +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright 2016 Niels Ole Salscheider <olesalscheider@exherbo.org> -# Distributed under the terms of the GNU General Public License v2 - -require libclc - -PLATFORMS="~amd64 ~x86" - diff --git a/packages/dev-libs/libclc/libclc-scm.exheres-0 b/packages/dev-libs/libclc/libclc-scm.exheres-0 deleted file mode 100644 index 942b553..0000000 --- a/packages/dev-libs/libclc/libclc-scm.exheres-0 +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright 2016 Niels Ole Salscheider <olesalscheider@exherbo.org> -# Distributed under the terms of the GNU General Public License v2 - -require libclc - -PLATFORMS="~amd64 ~x86" - diff --git a/packages/dev-libs/libclc/libclc.exlib b/packages/dev-libs/libclc/libclc.exlib deleted file mode 100644 index 3d6b762..0000000 --- a/packages/dev-libs/libclc/libclc.exlib +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 2013-2016 Niels Ole Salscheider <olesalscheider@exherbo.org> -# Distributed under the terms of the GNU General Public License v2 - -export_exlib_phases src_configure - -SCM_REPOSITORY="https://git.llvm.org/git/libclc.git" -ever is_scm || SCM_REVISION="0c31bd5e8d277bee26f34162c246a321f086ad55" -require scm-git - -SUMMARY="libclc is an implementation of the library requirements of the OpenCL C programming language" -HOMEPAGE="https://libclc.llvm.org/" - -LICENCES="|| ( UoI-NCSA MIT )" -SLOT="0" -MYOPTIONS="" - -DEPENDENCIES=" - build: - dev-lang/python:* - build+run: - dev-lang/clang[>=3.9] - dev-lang/llvm[>=3.9] -" - -DEFAULT_SRC_COMPILE_PARAMS=( VERBOSE=1 ) - -libclc_src_configure() { - edo ./configure.py \ - --prefix=/usr \ - --includedir=/usr/$(exhost --target)/include \ - --libexecdir=/usr/$(exhost --target)/lib/clc \ - --pkgconfigdir=/usr/$(exhost --target)/lib/pkgconfig - - edo sed 's/-mabm//g' -i Makefile - edo sed 's/-mlwp//g' -i Makefile - edo sed 's/-msahf//g' -i Makefile - edo sed 's/-mprefer-avx128//g' -i Makefile - edo sed 's/-mvzeroupper//g' -i Makefile - edo sed 's/-mtls-dialect=gnu2//g' -i Makefile - edo sed 's/-fabi-version=8//g' -i Makefile - edo sed 's/-mfpmath=both//g' -i Makefile -} - diff --git a/packages/dev-libs/libunwind/files/0001-tests-Use-correctly-prefixed-nm-binary.patch b/packages/dev-libs/libunwind/files/0001-tests-Use-correctly-prefixed-nm-binary.patch deleted file mode 100644 index 1f61c0e..0000000 --- a/packages/dev-libs/libunwind/files/0001-tests-Use-correctly-prefixed-nm-binary.patch +++ /dev/null @@ -1,45 +0,0 @@ -From 488db3f013e3d50c104760df8fa0771a2f679d9c Mon Sep 17 00:00:00 2001 -From: Marvin Schmidt <marv@exherbo.org> -Date: Sun, 25 Sep 2016 20:00:02 +0200 -Subject: [PATCH 1/2] tests: Use correctly prefixed nm binary - ---- - configure.ac | 4 ++++ - tests/check-namespace.sh.in | 4 ++-- - 2 files changed, 6 insertions(+), 2 deletions(-) - -diff --git a/configure.ac b/configure.ac -index cffe19b..61f6cfc 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -21,6 +21,10 @@ LT_INIT - AM_PROG_AS - AM_PROG_CC_C_O - -+dnl for namespace test -+AC_PROG_GREP -+AC_PROG_NM -+ - dnl Checks for libraries. - AC_CHECK_LIB(uca, __uc_get_grs) - OLD_LIBS=${LIBS} -diff --git a/tests/check-namespace.sh.in b/tests/check-namespace.sh.in -index d2e6efb..56a63f1 100644 ---- a/tests/check-namespace.sh.in -+++ b/tests/check-namespace.sh.in -@@ -28,10 +28,10 @@ fetch_symtab () { - # Unfortunately, "nm --defined" is a GNU-extension. For portability, - # build the list of defined symbols by hand. - # -- symtab=`nm -g $filename` -+ symtab=`$NM -g $filename` - saved_IFS="$IFS" - IFS="" -- undef=`nm -g -u $filename` -+ undef=`$NM -g -u $filename` - for line in $undef; do - symtab=`echo "$symtab" | grep -v "^${line}"\$` - done; --- -2.10.0 - diff --git a/packages/dev-libs/libunwind/files/0002-tests-Remove-coredump-tests.patch b/packages/dev-libs/libunwind/files/0002-tests-Remove-coredump-tests.patch deleted file mode 100644 index 38afde2..0000000 --- a/packages/dev-libs/libunwind/files/0002-tests-Remove-coredump-tests.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 8815239fc4e9cc8bc60a2703a622c0f5280f36c2 Mon Sep 17 00:00:00 2001 -From: Marvin Schmidt <marv@exherbo.org> -Date: Mon, 26 Sep 2016 08:11:21 +0200 -Subject: [PATCH 2/2] tests: Remove coredump tests -Upstream: No, not a suitable solution. Improvement of tests is/was discussed at https://lists.nongnu.org/archive/html/libunwind-devel/2016-02/ -msg00019.html - -The coredump tests rely on the assumption that coredump files -are created in the current working directory. This assumption is -false when e.g. systemd-coredump is used. ---- - tests/Makefile.am | 11 ----------- - 1 file changed, 11 deletions(-) - -diff --git a/tests/Makefile.am b/tests/Makefile.am -index 7287e7b..796df0c 100644 ---- a/tests/Makefile.am -+++ b/tests/Makefile.am -@@ -66,17 +66,6 @@ if SUPPORT_CXX_EXCEPTIONS - check_PROGRAMS_cdep += Ltest-cxx-exceptions - endif - --if OS_LINUX --if BUILD_COREDUMP -- check_SCRIPTS_cdep += run-coredump-unwind -- noinst_PROGRAMS_cdep += crasher test-coredump-unwind -- --if HAVE_LZMA -- check_SCRIPTS_cdep += run-coredump-unwind-mdi --endif # HAVE_LZMA --endif # BUILD_COREDUMP --endif # OS_LINUX -- - perf: perf-startup Gperf-simple Lperf-simple Lperf-trace - @echo "########## Basic performance of generic libunwind:" - @./Gperf-simple --- -2.13.1 - diff --git a/packages/dev-libs/libunwind/libunwind-scm.exheres-0 b/packages/dev-libs/libunwind/libunwind-scm.exheres-0 deleted file mode 100644 index 27d63fe..0000000 --- a/packages/dev-libs/libunwind/libunwind-scm.exheres-0 +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2012, 2014 Ali Polatel <alip@exherbo.org> -# Based in part upon libunwind-1.1.ebuild of Gentoo which is: -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -SCM_REPOSITORY="git://git.sv.gnu.org/libunwind.git" -require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 1.13 ] ] -require scm-git - -SUMMARY="C programming interface to determine the call-chain of a program" -DESCRIPTION=" -The primary goal of this project is to define a portable and efficient C -programming interface (API) to determine the call-chain of a program. The API -additionally provides the means to manipulate the preserved (callee-saved) state -of each call-frame and to resume execution at any point in the call-chain -(non-local goto). -" -HOMEPAGE="http://www.nongnu.org/libunwind/" -DOWNLOADS="" - -LICENCES="MIT" -SLOT="0" -PLATFORMS="~amd64 ~armv7 ~armv8 ~x86" -MYOPTIONS=" - debug [[ description = [ Enable debug-frame, minidebuginfo and other goodies ] ]] - doc -" - -DEPENDENCIES=" - build: - doc? ( app-text/texlive-core [[ note = latex2man ]] ) - build+run: - debug? ( app-arch/xz ) -" - -BUGS_TO="alip@exherbo.org" - -# Some tests are known to fail on some platforms including x86, see -# https://bugs.gentoo.org/show_bug.cgi?id=461958 and -# https://lists.nongnu.org/archive/html/libunwind-devel/2013-03/msg00005.html -RESTRICT="test" - -DEFAULT_SRC_PREPARE_PATCHES=( - "${FILES}"/0001-tests-Use-correctly-prefixed-nm-binary.patch - "${FILES}"/0002-tests-Remove-coredump-tests.patch -) - -DEFAULT_SRC_CONFIGURE_PARAMS=( --enable-cxx-exceptions ) -DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=( - debug - 'debug minidebuginfo' - 'debug debug-frame' - 'doc documentation' -) - |